From 3cfdb235df1ee164181d89e7a30877e637c422f7 Mon Sep 17 00:00:00 2001 From: Nicole Vreden Date: Thu, 25 Feb 2010 17:50:17 +0100 Subject: copy suckz :)) Signed-off-by: Nicole Vreden --- src/YalpClients/EflClient/playlist.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) mode change 100644 => 100755 src/YalpClients/EflClient/playlist.py (limited to 'src/YalpClients/EflClient/playlist.py') diff --git a/src/YalpClients/EflClient/playlist.py b/src/YalpClients/EflClient/playlist.py old mode 100644 new mode 100755 index 475b39e..58f2919 --- 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 -- cgit v1.2.3