Commit fb98def5 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix mpris python script: the commands are *Set*(Loop|Random).

parent 4f1060a7
...@@ -173,12 +173,12 @@ def Repeat(widget): ...@@ -173,12 +173,12 @@ def Repeat(widget):
def Shuffle(widget): def Shuffle(widget):
global shuffle global shuffle
shuffle = not shuffle shuffle = not shuffle
tracklist.Random(shuffle) tracklist.SetRandom(shuffle)
def Loop(widget): def Loop(widget):
global loop global loop
loop = not loop loop = not loop
tracklist.Loop(loop) tracklist.SetLoop(loop)
# update status display # update status display
def update(widget): def update(widget):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment