]> git.sesse.net Git - vlc/blobdiff - extras/misc/mpris.py
Fix mpris python script: the commands are *Set*(Loop|Random).
[vlc] / extras / misc / mpris.py
index ff15e359c277c36452e61423060f905cd11590e2..1c5bf71e1d4861bd1ccfc3507c80ae272fb603ae 100755 (executable)
@@ -173,12 +173,12 @@ def Repeat(widget):
 def Shuffle(widget):
     global shuffle
     shuffle = not shuffle
-    tracklist.Random(shuffle)
+    tracklist.SetRandom(shuffle)
 
 def Loop(widget):
     global loop
     loop = not loop
-    tracklist.Loop(loop)
+    tracklist.SetLoop(loop)
 
 # update status display
 def update(widget):