Documentation ¶
Index ¶
- type Queue
- func (q *Queue) AddToQueue(ipfsPath string)
- func (q *Queue) Dump()
- func (q *Queue) GetQueue() []string
- func (q *Queue) IsEmpty() bool
- func (q *Queue) Length() int
- func (q *Queue) NotifyDone(ipfsPath string)
- func (q *Queue) PlayNext(ipfsPath string)
- func (q *Queue) Pop() (ipfsPath string, songReader io.Reader, emptyq bool, fromAuto bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct { AutoqEnabled bool // contains filtered or unexported fields }
func (*Queue) AddToQueue ¶
Add the provided song to the queue at the back
func (*Queue) Dump ¶
func (q *Queue) Dump()
Remove all items from the queue. Will not dump the encoder (current and next song)
func (*Queue) NotifyDone ¶
Used as a gateway to let the autoq know a song was played. For training the qutoqueue
Click to show internal directories.
Click to hide internal directories.