PictureInPicture: update text if error to start pip (not need to translate it)
authorDima73 <Dima-73@inbox.lv>
Thu, 24 Dec 2015 10:53:47 +0000 (12:53 +0200)
committerDima73 <Dima-73@inbox.lv>
Thu, 24 Dec 2015 10:53:47 +0000 (12:53 +0200)
-e.g. run PiP from the channel list/it more clear

lib/python/Screens/PictureInPicture.py

index 6359f68..a18354b 100644 (file)
@@ -181,7 +181,7 @@ class PictureInPicture(Screen):
                                print "playing pip service", ref and ref.toString()
                        else:
                                if not config.usage.hide_zap_errors.value:
-                                       Notifications.AddPopup(text = _("No free tuner!"), type = MessageBox.TYPE_ERROR, timeout = 5, id = "ZapPipError")
+                                       Notifications.AddPopup(text = "PiP...\n" + _("No free tuner!"), type = MessageBox.TYPE_ERROR, timeout = 5, id = "ZapPipError")
                                return False
                        self.pipservice = eServiceCenter.getInstance().play(ref)
                        if self.pipservice and not self.pipservice.setTarget(1):