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
+3
View File
@@ -121,6 +121,9 @@ func NewBottomPanel(pm *backend.PlaybackManager, im *backend.ImageManager, contr
bp.AuxControls.OnChangeAutoplay = func(autoplay bool) {
pm.SetAutoplay(autoplay)
}
bp.AuxControls.OnChangeShuffle = func(shuffle bool) {
pm.SetShuffle(shuffle)
}
bp.AuxControls.OnShowPlayQueue(contr.ShowPopUpPlayQueue)
bp.AuxControls.OnShowCastMenu(contr.ShowCastMenu)