From 65eee8eacb08fe6c2aa08a8cd87fce4aa2034d9b Mon Sep 17 00:00:00 2001 From: Nicole Vreden Date: Sun, 14 Feb 2010 23:09:07 +0100 Subject: Python-EFL-GUI: added Streaming Functions - prepared files for streaming - changed medialist to dynamic list Signed-off-by: Nicole Vreden --- src/YalpClients/EflClient/playlist.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/YalpClients/EflClient/playlist.py') 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 -- cgit v1.2.3