This commit is contained in:
Siiiiinth
2026-01-24 21:18:21 +01:00
parent be490203d6
commit a01dc31c8a
+4 -1
View File
@@ -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 {