diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-04-08 12:07:15 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-04-08 12:07:15 +0000 |
| commit | 029213648e109b21463d018752e103fc577ffee9 (patch) | |
| tree | 0c835e039e543169f4238c94eb86f8bf97dba44d /lib/python | |
| parent | 6ecc7dc132071039edf045ad55b3fb2773aed784 (diff) | |
| download | enigma2-029213648e109b21463d018752e103fc577ffee9.tar.gz enigma2-029213648e109b21463d018752e103fc577ffee9.zip | |
PiP-gui support really displays a small video now (still buggy)
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 10 |
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 |
