[streamtv plugin] fix bug.
authorkos <kos@dev3>
Wed, 23 May 2012 05:18:41 +0000 (14:18 +0900)
committerkos <kos@dev3>
Wed, 23 May 2012 05:18:41 +0000 (14:18 +0900)
lib/python/Plugins/Extensions/StreamTV/plugin.py

index 691506a..0b712b7 100644 (file)
@@ -368,7 +368,8 @@ class StreamTVList(Screen):
 
        def cbFinishedStream(self):
                self.doConsoleStop()
-               print 'done!!'
+               self.session.nav.playService(self.beforeService)
+               print 'player done!!'
 
        def doConsoleStop(self):
                self.keyLocked = False
@@ -400,6 +401,6 @@ def main(session, **kwargs):
        session.open(StreamTVList)
                                                            
 def Plugins(**kwargs):
-       return PluginDescriptor(name=_("StreamTVPalyer"), description="Watching IPTV implemented by RTSP/RTMP protocol.", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main)
+       return PluginDescriptor(name=_("StreamTVPlayer"), description="Watching IPTV implemented by RTSP/RTMP protocol.", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main)