summaryrefslogtreecommitdiff
path: root/src/YalpClients/EflClient/media.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/YalpClients/EflClient/media.py')
-rw-r--r--src/YalpClients/EflClient/media.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/YalpClients/EflClient/media.py b/src/YalpClients/EflClient/media.py
index 4ab5448..692b27b 100644
--- a/src/YalpClients/EflClient/media.py
+++ b/src/YalpClients/EflClient/media.py
@@ -11,16 +11,12 @@ class Media(object):
self.servercon = servercon
self.win = win
self.c = c
- #self.c.signal_callback_add("hide_frames", "medialist",self.hide_frames)
-
+
def callback(self, obj, str):
songlist = []
songlist.append(self.result)
ip = socket.gethostbyname(socket.gethostname())
-
- #self.c.signal_callback_add("hide_frames", "medialist",self.hide_frames)
-
-
+
info = YalpInterfaces.AccessInfo("huhu", "huhu", "xine", "openmoko",
YalpInterfaces.STREAM)
stream = YalpInterfaces.Output(0, info, songlist, YalpInterfaces.CREATE, ip)
@@ -28,9 +24,8 @@ class Media(object):
stream.outputAction = YalpInterfaces.START
ret = self.servercon.control(stream)
print "stream.info:", stream.info
- #video = playlist.Selection(self.win, self.c, vid, startstream)
video = playlist.Selection(self.win, self.c, stream)
-
+ video.add_button()
#def hide_frames(self, obj, signal, source):
#self.c.signal_emit("signal_from_python", "")