wip
This commit is contained in:
@@ -62,6 +62,7 @@ type playbackEngine struct {
|
||||
callbacksDisabled bool
|
||||
|
||||
playQueue []mediaprovider.MediaItem
|
||||
playQueueShuffle []mediaprovider.MediaItem
|
||||
nowPlayingIdx int
|
||||
isRadio bool
|
||||
loopMode LoopMode
|
||||
@@ -220,6 +221,8 @@ func (p *playbackEngine) SetPlayer(pl player.BasePlayer) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Interface functions for interacting with the play queue
|
||||
|
||||
func (p *playbackEngine) PlayTrackAt(idx int) error {
|
||||
return p.playTrackAt(idx, 0)
|
||||
}
|
||||
@@ -267,7 +270,7 @@ func (p *playbackEngine) GetLoopMode() LoopMode {
|
||||
|
||||
func (p *playbackEngine) SetShuffle(shuffle bool) {
|
||||
p.shuffle = shuffle
|
||||
//TODO: Implement functionality
|
||||
//TODO_SHUFFLE: Implement functionality
|
||||
}
|
||||
|
||||
func (p *playbackEngine) GetShuffle() bool {
|
||||
|
||||
Reference in New Issue
Block a user