[vlc-devel] commit: Fix mpris python script: the commands are *Set*(Loop|Random). ( Rémi Duraffort )

git version control git at videolan.org
Fri Jul 10 15:00:51 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jul 10 14:51:22 2009 +0200| [fb98def5d9e5400990d7a3c48e4d820c74f92860] | committer: Rémi Duraffort 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fb98def5d9e5400990d7a3c48e4d820c74f92860
---

 extras/misc/mpris.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extras/misc/mpris.py b/extras/misc/mpris.py
index ff15e35..1c5bf71 100755
--- a/extras/misc/mpris.py
+++ b/extras/misc/mpris.py
@@ -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):




More information about the vlc-devel mailing list