Commit 6257a24f authored by Olivier Aubert's avatar Olivier Aubert

Update vlcwidget.py to match the new mediacontrol API

parent 8af4fbac
...@@ -95,7 +95,7 @@ class VideoPlayer: ...@@ -95,7 +95,7 @@ class VideoPlayer:
self.vlc = DecoratedVLCWidget() self.vlc = DecoratedVLCWidget()
def main(self, fname): def main(self, fname):
self.vlc.player.playlist_add_item(fname) self.vlc.player.set_mrl(fname)
self.popup() self.popup()
gtk.main() gtk.main()
......
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