[vlc-devel] commit: Update vlcwidget.py to match the new mediacontrol API ( Olivier Aubert )

git version control git at videolan.org
Fri May 30 12:51:53 CEST 2008


vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Fri May 30 12:52:51 2008 +0200| [6257a24fc3745efc9a1a9b140781e610f80320e9]

Update vlcwidget.py to match the new mediacontrol API

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

 bindings/python/vlcwidget.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bindings/python/vlcwidget.py b/bindings/python/vlcwidget.py
index 2543316..b987ee6 100755
--- a/bindings/python/vlcwidget.py
+++ b/bindings/python/vlcwidget.py
@@ -95,7 +95,7 @@ class VideoPlayer:
         self.vlc = DecoratedVLCWidget()
 
     def main(self, fname):
-        self.vlc.player.playlist_add_item(fname)
+        self.vlc.player.set_mrl(fname)
         self.popup()
         gtk.main()
 




More information about the vlc-devel mailing list