aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-04-08 12:07:15 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-04-08 12:07:15 +0000
commit029213648e109b21463d018752e103fc577ffee9 (patch)
tree0c835e039e543169f4238c94eb86f8bf97dba44d /lib/python/Screens
parent6ecc7dc132071039edf045ad55b3fb2773aed784 (diff)
downloadenigma2-029213648e109b21463d018752e103fc577ffee9.tar.gz
enigma2-029213648e109b21463d018752e103fc577ffee9.zip
PiP-gui support really displays a small video now (still buggy)
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index 31dd3033..0ae0dc42 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -977,12 +977,16 @@ class InfoBarExtensions:
def extensionCallback(self, answer):
if answer[1] == "pipon":
+ self.session.nav.stopService()
self.pip = self.session.instantiateDialog(PictureInPicture)
- self.pip.show()
+ #self.pip.show()
+
+ newservice = str(ServiceReference(self.session.nav.getCurrentlyPlayingServiceReference())) + "s"
+ self.pipservice = eServiceCenter.getInstance().play(eServiceReference(newservice))
+ self.pipservice.start()
self.pipshown = True
- print "would show PiP now"
elif answer[1] == "pipoff":
- self.pip.hide()
+ #self.pip.hide()
del self.pip
self.pipshown = False