X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/db2fb2d1b2d807cc389a429881886d4a40e763e1..0e3e7773e5d8e7ff159316db3de7fcfad57bb9e8:/lib/python/Screens/PictureInPicture.py diff --git a/lib/python/Screens/PictureInPicture.py b/lib/python/Screens/PictureInPicture.py index fdb04185..c89ca229 100644 --- a/lib/python/Screens/PictureInPicture.py +++ b/lib/python/Screens/PictureInPicture.py @@ -1,14 +1,14 @@ from Screens.Screen import Screen from enigma import ePoint, eSize, eServiceCenter from Components.VideoWindow import VideoWindow -from Components.config import config, configElement, configSequence, configsequencearg +from Components.config import config, ConfigPosition class PictureInPicture(Screen): def __init__(self, session): Screen.__init__(self, session) self["video"] = VideoWindow() self.currentService = None - config.av.pip = configElement("config.av.pip", configSequence, [-1, -1, -1, -1], configsequencearg.get("POSITION", (719, 567, 720, 568))) + config.av.pip = ConfigPosition(default=[-1, -1, -1, -1], args = (719, 567, 720, 568)) self.onLayoutFinish.append(self.LayoutFinished) def LayoutFinished(self):