diff options
| author | Manuel Traut <manut@mecka.net> | 2010-02-17 23:54:18 +0100 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2010-02-17 23:54:18 +0100 |
| commit | 642895fb9dcd010272908eecbd438c2abade595a (patch) | |
| tree | aa298e7a5f2b0ab4198d3e13ac6cfd69c7d1ea49 /src/YalpClients/EflClient/media.py | |
| parent | ef56d9fea0adba072350bf416761943d06d0634b (diff) | |
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 <manut@mecka.net>
Diffstat (limited to 'src/YalpClients/EflClient/media.py')
| -rw-r--r-- | src/YalpClients/EflClient/media.py | 11 |
1 files changed, 4 insertions, 7 deletions
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) |
