summaryrefslogtreecommitdiff
path: root/src/YalpClients/EflClient/playlist.py
diff options
context:
space:
mode:
authorNicole Vreden <damba@mecka.net>2010-02-14 23:09:07 +0100
committerNicole Vreden <damba@mecka.net>2010-02-14 23:09:07 +0100
commit65eee8eacb08fe6c2aa08a8cd87fce4aa2034d9b (patch)
tree91fe2328dec3a3a81daa734c6c7b6e213f5eb097 /src/YalpClients/EflClient/playlist.py
parentcaa647e9c95351d76c92a894193dbbe1d4d0954b (diff)
Python-EFL-GUI: added Streaming Functions
- prepared files for streaming - changed medialist to dynamic list Signed-off-by: Nicole Vreden <damba@mecka.net>
Diffstat (limited to 'src/YalpClients/EflClient/playlist.py')
-rw-r--r--src/YalpClients/EflClient/playlist.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/YalpClients/EflClient/playlist.py b/src/YalpClients/EflClient/playlist.py
index 69f3ba3..7352a67 100644
--- a/src/YalpClients/EflClient/playlist.py
+++ b/src/YalpClients/EflClient/playlist.py
@@ -9,12 +9,15 @@ import emotion
import evas
import elementary
+import media
+
class Selection(object):
- def __init__(self, win, c, vid):
+ def __init__(self, win, c, vid, stream):
self.win = win
self.c = c
self.vid = vid
self.add_button()
+ self.stream = stream
def fill_playlist(self, obj, str, x):
playlist = elementary.List(self.win);
@@ -34,7 +37,9 @@ class Selection(object):
def play_video(self):
#vid = emotion.Emotion(win.canvas,module_filename="xine");
- self.vid.file_set("Lordi.mpg");
+ print self.stream
+ #self.vid.file_set("Lordi.mpg");
+ self.vid.file_set(self.stream);
self.c.part_swallow("video", self.vid)
self.vid.show()
self.vid.play = True