added shuffle button to UI + base data flow

This commit is contained in:
Siiiiinth
2026-01-17 19:03:33 +01:00
parent 0fb1e5fa17
commit 71a5df9d51
4 changed files with 24 additions and 4 deletions
+9
View File
@@ -266,6 +266,15 @@ func (p *playbackEngine) GetLoopMode() LoopMode {
return p.loopMode
}
func (p *playbackEngine) SetShuffle(shuffle bool) {
p.shuffle = shuffle
//TODO: Implement functionality
}
func (p *playbackEngine) GetShuffle() bool {
return p.shuffle
}
func (p *playbackEngine) PlaybackStatus() PlaybackStatus {
stat := p.pendingPlayerChangeStatus
if !p.pendingPlayerChange {