playlist

package
v0.0.0-...-04ac836 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LLPlayItem

type LLPlayItem struct {
	PlayItem *PlayItem
	Next     *LLPlayItem
	Previous *LLPlayItem
}

func NewLLPlayItem

func NewLLPlayItem(nx, pr *LLPlayItem, plit *PlayItem) *LLPlayItem

type LLPlayList

type LLPlayList struct {
	Name      string
	Count     int
	FirstItem *LLPlayItem
	LastItem  *LLPlayItem
	CurrItem  *LLPlayItem
}

func CreatePlaylistFromProvider

func CreatePlaylistFromProvider(URI string, prov idl.StreamProvider) (*LLPlayList, error)

func (*LLPlayList) CheckCurrent

func (ll *LLPlayList) CheckCurrent() (*PlayItem, bool)

func (*LLPlayList) First

func (ll *LLPlayList) First()

func (*LLPlayList) IsEmpty

func (ll *LLPlayList) IsEmpty() bool

func (*LLPlayList) Last

func (ll *LLPlayList) Last()

func (*LLPlayList) Next

func (ll *LLPlayList) Next() (*PlayItem, bool)

func (*LLPlayList) Previous

func (ll *LLPlayList) Previous() (*PlayItem, bool)

type PlayItem

type PlayItem struct {
	URI            string
	StreamProvider idl.StreamProvider
}

type PlayList

type PlayList struct {
	Name    string
	Created string
	List    []*PlayItem
}

type PlayinfoLast

type PlayinfoLast struct {
	Playlist string
	URI      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL