expose repeat mode through MPRIS

This commit is contained in:
Drew Weymouth
2023-07-13 13:12:57 -07:00
parent 41053a22a8
commit a12b6dd276
4 changed files with 61 additions and 10 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func NewBottomPanel(p *player.Player, pm *backend.PlaybackManager, contr *contro
p.OnStopped(func() {
bp.Controls.SetPlaying(false)
})
pm.OnLoopModeChange(func(mode string) {
pm.OnLoopModeChange(func(mode backend.LoopMode) {
bp.AuxControls.SetLoopMode(mode)
})