diff options
| author | Nicole Vreden <damba@mecka.net> | 2010-02-25 17:50:17 +0100 |
|---|---|---|
| committer | Nicole Vreden <damba@mecka.net> | 2010-02-25 17:50:17 +0100 |
| commit | 3cfdb235df1ee164181d89e7a30877e637c422f7 (patch) | |
| tree | 60df408d0d81cd9e30d19608249c51c8aad633c5 /src/YalpClients/EflClient/playlist.py | |
| parent | 67657c9964abae118630d94382d18d5726ceb820 (diff) | |
copy suckz :))
Signed-off-by: Nicole Vreden <damba@mecka.net>
Diffstat (limited to 'src/YalpClients/EflClient/playlist.py')
| -rwxr-xr-x[-rw-r--r--] | src/YalpClients/EflClient/playlist.py | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/YalpClients/EflClient/playlist.py b/src/YalpClients/EflClient/playlist.py index 475b39e..58f2919 100644..100755 --- a/src/YalpClients/EflClient/playlist.py +++ b/src/YalpClients/EflClient/playlist.py @@ -15,17 +15,17 @@ class Selection(object): def __init__(self, win, c, stream): self.win = win self.c = c - #self.vid = emotion.Emotion(win.canvas, module_filename="gstreamer") + self.vid = emotion.Emotion(self.win.canvas, module_filename="xine") self.stream = stream self.add_button() - self.play_video () + self.play_video() self.c.signal_callback_add("mouse,clicked,1", "medialist_buttonframe", self.huhu) def add_button(self): - addbutton = elementary.Button(self.win) - addbutton.label_set("Play") - self.c.part_swallow("medialist_buttonframe", addbutton) - addbutton.show() + addbutton = elementary.Button(self.win) + addbutton.label_set("Play") + self.c.part_swallow("medialist_buttonframe", addbutton) + addbutton.show() def huhu(self): print "huhu" @@ -35,8 +35,10 @@ class Selection(object): ip = "127.0.0.1" port = 9993 print "stream from", ip, port - self.vid.file_set("udp://"+ip+":"+str(port)) + self.vid.file_set("http://"+ip+":"+str(port)) + #self.vid.file_set("/home/manut/test.avi") + print "self.vid", self.vid self.c.part_swallow("video", self.vid) - self.vid.show() - self.vid.play = True + #self.vid.show() + #self.vid.play = True |
