This commit is contained in:
Siiiiinth
2026-02-15 09:28:38 -08:00
committed by Drew Weymouth
parent 169304b931
commit bab54833c3
+4 -1
View File
@@ -63,6 +63,7 @@ type playbackEngine struct {
callbacksDisabled bool
playQueue []mediaprovider.MediaItem
playQueueShuffle []mediaprovider.MediaItem
nowPlayingIdx int
isRadio bool
loopMode LoopMode
@@ -217,6 +218,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)
}
@@ -264,7 +267,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 {