From 642895fb9dcd010272908eecbd438c2abade595a Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Wed, 17 Feb 2010 23:54:18 +0100 Subject: EflClient: Fix Streaming - stream has to be created AND started - Selection Class seems to be very strange. Cleaned it up a little, but could be moved completely into 'Media' Class. Signed-off-by: Manuel Traut --- src/YalpClients/EflClient/media.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/YalpClients/EflClient/media.py') diff --git a/src/YalpClients/EflClient/media.py b/src/YalpClients/EflClient/media.py index 41b4d5d..daf6d52 100644 --- a/src/YalpClients/EflClient/media.py +++ b/src/YalpClients/EflClient/media.py @@ -21,11 +21,8 @@ class Media(object): YalpInterfaces.STREAM) stream = YalpInterfaces.Output(0, info, songlist, YalpInterfaces.CREATE, ip) ret = self.servercon.control(stream) - startstream = YalpInterfaces.Output(0,stream, songlist, - YalpInterfaces.START, ip) - #print startstream - #print "result:", self.result - print "Startstream.Info:", startstream.info - vid = emotion.Emotion(self.win.canvas,module_filename="gstreamer") + 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, vid, startstream) + video = playlist.Selection(self.win, self.c, stream) -- cgit v1.2.3