def __init__(self, session): Screen.__init__(self, session) sz_w = getDesktop(0).size().width() if sz_w == 1280: sz_h = 720 if self.session.is_audiozap: self.skinName = ["AudioZap", "SplitScreen"] elif sz_w == 1920: sz_h = 1080 if self.session.is_audiozap: self.skinName = ["AudioZap", "SplitScreen"] else: self.skinName = ["SplitScreenSD"] if self.session.is_audiozap: self.skinName = ["AudioZapSD", "SplitScreenSD"] sz_w = 720 sz_h = 576 self["video1"] = VideoWindow(decoder=0, fb_width=sz_w, fb_height=sz_h) self["video2"] = VideoWindow(decoder=1, fb_width=sz_w, fb_height=sz_h) self["MasterService"] = ServiceEvent() self["SlaveService"] = ServiceEvent() self["zap_focus"] = Label() self.session = session self.currentService = None self.fb_w = sz_w self.fb_h = sz_h self.onLayoutFinish.append(self.LayoutFinished)
def __init__(self, session, service): Screen.__init__(self, session) InfoBarSeek.__init__(self) InfoBarCueSheetSupport.__init__(self) InfoBarBase.__init__(self, steal_current_service=True) self.session = session self.service = service self.working = False self.oldService = self.session.nav.getCurrentlyPlayingServiceReference( ) self.session.nav.playService(service) previewcreator.callback = self.grabDone desktopSize = getDesktop(0).size() self["video"] = VideoWindow(decoder=0, fb_width=desktopSize.width(), fb_height=desktopSize.height()) self["seekState"] = Label() self.onPlayStateChanged.append(self.updateStateLabel) self.updateStateLabel(self.seekstate) self["actions"] = ActionMap(["OkCancelActions"], { "ok": self.grab, "cancel": self.exit }, -2)
def __init__(self, session, services): Screen.__init__(self, session) self.session = session self.oldService = self.session.nav.getCurrentlyPlayingServiceReference( ) self.consoleCmd = "" self.Console = Console() self.serviceHandler = eServiceCenter.getInstance() self.ref_list = services self.window_refs = [ None, None, None, None, None, None, None, None, None ] self.current_refidx = 0 self.current_window = 1 self.countdown = config.plugins.Mosaic.countdown.value self.working = False self.state = self.PLAY self["playState"] = Pixmap() for i in range(1, 10): self["window" + str(i)] = Pixmap() self["video" + str(i)] = VideoWindow(decoder=0, fb_width=self.width, fb_height=self.height) self["video" + str(i)].hide() self["channel" + str(i)] = Label("") self["event" + str(i)] = Label("") self["event" + str(i)].hide() self["video1"].decoder = 0 self["video1"].show() self["countdown"] = Label() self.updateCountdownLabel() self["count"] = Label() self["actions"] = NumberActionMap( ["MosaicActions"], { "ok": self.exit, "cancel": self.closeWithOldService, "green": self.play, "yellow": self.pause, "channelup": self.countdownPlus, "channeldown": self.countdownMinus, "1": self.numberPressed, "2": self.numberPressed, "3": self.numberPressed, "4": self.numberPressed, "5": self.numberPressed, "6": self.numberPressed, "7": self.numberPressed, "8": self.numberPressed, "9": self.numberPressed }, prio=-1) self.updateTimer = eTimer() self.updateTimer.callback.append(self.updateCountdown) self.checkTimer = eTimer() self.checkTimer.callback.append(self.checkGrab) self.checkTimer.start(500, 1)
def __init__(self, session): global pip_config_initialized Screen.__init__(self, session) self["video"] = VideoWindow() self.pipActive = session.instantiateDialog(PictureInPictureZapping) self.currentService = None self.currentServiceReference = None self.choicelist = [("standard", _("Standard"))] if SystemInfo["VideoDestinationConfigurable"]: self.choicelist.append(("cascade", _("Cascade PiP"))) self.choicelist.append(("split", _("Splitscreen"))) self.choicelist.append(("byside", _("Side by side"))) self.choicelist.append(("bigpig", _("Big PiP"))) if SystemInfo["HasExternalPIP"]: self.choicelist.append(("external", _("External PiP"))) if not pip_config_initialized: config.av.pip = ConfigPosition(default=[510, 28, 180, 135], args=(MAX_X, MAX_Y, MAX_X, MAX_Y)) config.av.pip_mode = ConfigSelection(default="standard", choices=self.choicelist) pip_config_initialized = True self.onLayoutFinish.append(self.LayoutFinished)
def __init__(self, session): self.session = session Screen.__init__(self, session) self.setup_title = _("Select EPG sources") self.setTitle(self.setup_title) # load sources into list self["list"] = ColoredList() for i in epgWorker.epgSources: # display, description, selected, colored, if not i[0] in [v[0] for v in self["list"].list]: self["list"].list.append((i[eName], i[eFileName], (0,1)[i[eName] in epgWorker.epgSourcesChosen], False, 0)) self.desktopSize = getDesktop(0).size() self["videoPicture"] = VideoWindow(decoder = 0, fb_width = self.desktopSize.width(), fb_height = self.desktopSize.height()) self["choiseActions"] = NumberActionMap(["DirectionActions", "EPGSelectActions", "NumberActions", "OkCancelActions", "ColorActions", "TimerEditActions"], { "cancel": self.cancel, "red": self.proceed, "green": self["list"].toggleAll, "ok": self["list"].toggleSelection }, -2) self["key_red"] = Label(_("Proceed")) self["key_green"] = Label(_("Select all"))
def __init__(self, session): global pip_config_initialized Screen.__init__(self, session) self['video'] = VideoWindow() self.pipActive = session.instantiateDialog(PictureInPictureZapping) self.dishpipActive = session.instantiateDialog(Dishpip) self.currentService = None self.currentServiceReference = None self.choicelist = [('standard', _('Standard'))] if SystemInfo['VideoDestinationConfigurable']: self.choicelist.append(('cascade', _('Cascade PiP'))) self.choicelist.append(('split', _('Splitscreen'))) self.choicelist.append(('byside', _('Side by side'))) self.choicelist.append(('bigpig', _('Big PiP'))) if SystemInfo['HasExternalPIP']: self.choicelist.append(('external', _('External PiP'))) if not pip_config_initialized: config.av.pip = ConfigPosition(default=[510, 28, 180, 135], args=(MAX_X, MAX_Y, MAX_X, MAX_Y)) config.av.pip_mode = ConfigSelection(default='standard', choices=self.choicelist) pip_config_initialized = True self.onLayoutFinish.append(self.LayoutFinished) return
def __init__(self, session, decoderIdx=1, pos=None): Screen.__init__(self, session) self['video'] = VideoWindow(decoderIdx, 720, 576) self.currentService = None self.onLayoutFinish.append(self.LayoutFinished) self.decoderIdx = decoderIdx self.pos = pos self.skinName = 'PictureInPicture'
def __init__(self, session, service): self.skin = CutListEditor.skin Screen.__init__(self, session) InfoBarSeek.__init__(self, actionmap="CutlistSeekActions") InfoBarCueSheetSupport.__init__(self) InfoBarBase.__init__(self, steal_current_service=True) HelpableScreen.__init__(self) self.old_service = session.nav.getCurrentlyPlayingServiceReference() session.nav.playService(service) service = session.nav.getCurrentService() cue = service and service.cueSheet() if cue is not None: # disable cutlists. we want to freely browse around in the movie print("cut lists disabled!") cue.setCutListEnable(0) self.downloadCuesheet() self["Timeline"] = ServicePositionGauge(self.session.nav) self["cutlist"] = List(self.getCutlist()) self["cutlist"].onSelectionChanged.append(self.selectionChanged) self["SeekState"] = Label() self.onPlayStateChanged.append(self.updateStateLabel) self.updateStateLabel(self.seekstate) desktopSize = getDesktop(0).size() self["Video"] = VideoWindow(decoder=0, fb_width=desktopSize.width(), fb_height=desktopSize.height()) self["actions"] = HelpableActionMap( self, "CutListEditorActions", { "setIn": (self.setIn, _("Make this mark an 'in' point")), "setOut": (self.setOut, _("Make this mark an 'out' point")), "setMark": (self.setMark, _("Make this mark just a mark")), "addMark": (self.__addMark, _("Add a mark")), "removeMark": (self.__removeMark, _("Remove a mark")), "removeAll": (self.__removeAll, _("Remove all cuts and marks")), "leave": (self.exit, _("Exit editor")), "showMenu": (self.showMenu, _("menu")), }, prio=-4) self.tutorial_seen = False self.onExecBegin.append(self.showTutorial) self.__event_tracker = ServiceEventTracker( screen=self, eventmap={iPlayableService.evCuesheetChanged: self.refillList}) # to track new entries we save the last version of the cutlist self.last_cuts = self.getCutlist() self.cut_start = None self.inhibit_seek = False self.onClose.append(self.__onClose)
def __init__(self, session): global pip_config_initialized Screen.__init__(self, session) self["video"] = VideoWindow() self.currentService = None if not pip_config_initialized: config.av.pip = ConfigPosition(default=[-1, -1, -1, -1], args = (719, 567, 720, 568)) pip_config_initialized = True self.onLayoutFinish.append(self.LayoutFinished)
def __init__(self, session, point=ePoint(0, 0), size=eSize(0, 0)): Screen.__init__(self, session) desktopSize = getDesktop(0).size() self["video"] = VideoWindow(decoder=0, fb_width=desktopSize.width(), fb_height=desktopSize.height()) self.__point = point self.__size = size self.__retainedPoint = point self.__retainedSize = size self.__isFullscreen = False self.onLayoutFinish.append(self._onLayoutFinished)
def __init__(self, session): global pip_config_initialized Screen.__init__(self, session) self["video"] = VideoWindow() self.pipActive = session.instantiateDialog(PictureInPictureZapping) self.currentService = None self.has_external_pip = access("/proc/stb/vmpeg/1/external", W_OK) if not pip_config_initialized: config.av.pip = ConfigPosition(default=[-1, -1, -1, -1], args = (719, 567, 720, 568)) config.av.external_pip = ConfigYesNo(default = False) pip_config_initialized = True self.onLayoutFinish.append(self.LayoutFinished)
def __init__(self, session): Screen.__init__(self, session) sz_w = getDesktop(0).size().width() if sz_w == 1280: sz_h = 720 if self.session.is_audiozap: self.skinName = ["AudioZap", "SplitScreen"] elif sz_w == 1920: sz_h = 1080 if self.session.is_audiozap: self.skinName = ["AudioZap", "SplitScreen"] else: self.skinName = ["SplitScreenSD"] if self.session.is_audiozap: self.skinName = ["AudioZapSD", "SplitScreenSD"] sz_w = 720 sz_h = 576 self.fb_w = sz_w self.fb_h = sz_h self.fb_w_2 = sz_w self.fb_h_2 = sz_h self.need_fb_workaround = False if config.av.videomode[config.av.videoport.value].value == "2160p": self.need_fb_workaround = True self.init_done = False self.fb_w_2 = 360 self.fb_h_2 = 288 self["video1"] = VideoWindow(decoder=0, fb_width=sz_w, fb_height=sz_h) self["video2"] = VideoWindow(decoder=1, fb_width=self.fb_w_2, fb_height=self.fb_h_2) self["MasterService"] = ServiceEvent() self["SlaveService"] = ServiceEvent() self["zap_focus"] = Label() self.session = session self.currentService = None self.onLayoutFinish.append(self.LayoutFinished) self.pipservice = False
def __init__(self, forceMiniTv=False): printl("", self, "S") self.stopLiveTvOnStartup = config.plugins.dreamplex.stopLiveTvOnStartup.value # we use this e.g in DP_View to use miniTv for backdrops via libiframe self.forceMiniTv = forceMiniTv if not self.stopLiveTvOnStartup or self.forceMiniTv: self["miniTv"] = VideoWindow(decoder=0) self.miniTvInUse = True else: self["miniTv"] = Label() printl("", self, "C")
def __init__(self): print("MVC: MovieSelectionEventInfo: EventInfo: __init__") self["Service"] = MVCServiceEvent(ServiceCenter.getInstance()) # Movie preview desktopSize = getDesktop(0).size() self["Video"] = VideoWindow(decoder=0, fb_width=desktopSize.width(), fb_height=desktopSize.height()) # Movie Cover self["Cover"] = Pixmap() self["Cover"].hide() self["CoverBg"] = Pixmap() self["CoverBg"].hide() self["CoverBgLbl"] = Label() self["CoverBgLbl"].hide() self.volctrl = eDVBVolumecontrol.getInstance() self.preMute_muteState = None
def __init__(self, session, currService, closePlayerCallBack): self.session = session self["video"] = VideoWindow(fb_width=getDesktop(0).size().width(), fb_height=getDesktop(0).size().height()) self["numberActions"] = NumberActionMap( ["NumberActions"], { "1": self.keyNumberGlobal, "2": self.keyNumberGlobal, "3": self.keyNumberGlobal, "4": self.keyNumberGlobal, "5": self.keyNumberGlobal, "6": self.keyNumberGlobal, "7": self.keyNumberGlobal, "8": self.keyNumberGlobal, "9": self.keyNumberGlobal, }, -1) self["numberActions"].setEnabled(False) self["zapActions"] = ActionMap( [ "OkCancelActions", "DirectionActions", "ChannelSelectBaseActions", "ChannelSelectEPGActions" ], { "cancel": self.disablePiPPlayer, "ok": self.disablePiPPlayer, "right": self.nextService, "left": self.prevService, "nextBouquet": self.nextBouquet, "prevBouquet": self.prevBouquet, "showEPGList": self.openEventView, }, -1) self["zapActions"].setEnabled(False) self.currService = currService from Screens.InfoBar import InfoBar # late binding self.servicelist = InfoBar.instance.servicelist self.closePlayerCallBack = closePlayerCallBack self.epgcache = eEPGCache.getInstance() # if PiPServiceRelation is installed, get relation dict if plugin_PiPServiceRelation_installed: self.pipServiceRelation = getRelationDict() else: self.pipServiceRelation = {}
def __init__(self, session, servicelist=None): Screen.__init__(self, session) self.session = session if SystemInfo.get( "NumVideoDecoders", 1 ) > 1 and config.plugins.virtualzap.usepip.value and config.plugins.virtualzap.showpipininfobar.value: self.skinName = "VirtualZap" self.pipAvailable = True else: self.skinName = "VirtualZapNoPiP" self.pipAvailable = ( SystemInfo.get("NumVideoDecoders", 1) > 1 ) and config.plugins.virtualzap.usepip.value and not config.plugins.virtualzap.showpipininfobar.value self.epgcache = eEPGCache.getInstance() self.CheckForEPG = eTimer() self.CheckForEPG.callback.append(self.CheckItNow) self["NowChannel"] = Label() self["NowEPG"] = Label() self["NextEPG"] = Label() self["NowTime"] = Label() self["NextTime"] = Label() self["actions"] = ActionMap( [ "OkCancelActions", "DirectionActions", "ChannelSelectBaseActions", "ChannelSelectEPGActions", "ColorActions" ], { "ok": self.ok, "cancel": self.closing, "right": self.nextService, "left": self.prevService, "nextBouquet": self.showFavourites, "prevBouquet": self.openServiceList, "showEPGList": self.openEventView, "blue": self.standardPiP, "yellow": self.switchAndStandardPiP, "down": self.switchChannelDown, "up": self.switchChannelUp, }, -2) self["actions2"] = NumberActionMap( ["NumberActions"], { "0": self.swap, "1": self.keyNumberGlobal, "2": self.keyNumberGlobal, "3": self.keyNumberGlobal, "4": self.keyNumberGlobal, "5": self.keyNumberGlobal, "6": self.keyNumberGlobal, "7": self.keyNumberGlobal, "8": self.keyNumberGlobal, "9": self.keyNumberGlobal, }, -1) self.onLayoutFinish.append(self.onLayoutReady) # PiP if self.pipAvailable: # activate PiP support if config.plugins.virtualzap.usepip.value and not config.plugins.virtualzap.showpipininfobar.value: # activate standard PiP self["video"] = VideoWindow() else: # show PiP in Infobar self["video"] = VideoWindow( fb_width=getDesktop(0).size().width(), fb_height=getDesktop(0).size().height()) self.currentPiP = "" else: # no PiP self["video"] = Label() # this is the servicelist from ChannelSelectionBase self.servicelist = servicelist # save orig. method of zap in servicelist self.servicelist_orig_zap = self.servicelist.zap # when displaying ChannelSelection, do not zap when pressing "ok", so new method is needed self.servicelist.zap = self.servicelist_overwrite_zap # overwrite the actionmap of ChannelSelection self.servicelist["actions"] = ActionMap( ["OkCancelActions"], { "cancel": self.cancelChannelSelection, "ok": self.servicelist.channelSelected, }) # temp. vars, needed when pressing cancel in ChannelSelection self.curSelectedRef = None self.curSelectedBouquet = None # needed, because if we won't zap, we have to go back to the current bouquet and service self.curRef = ServiceReference(self.servicelist.getCurrentSelection()) self.curBouquet = self.servicelist.getRoot() # start with last used service if config.plugins.virtualzap.saveLastService.value: # get service and bouquet ref ref = eServiceReference(config.plugins.virtualzap.curref.value) bouquet = eServiceReference( config.plugins.virtualzap.curbouquet.value) if ref.valid() and bouquet.valid(): # select bouquet and ref in servicelist self.setServicelistSelection(bouquet, ref) # prepare exitTimer self.exitTimer = eTimer() self.exitTimer.timeout.get().append(self.standardPiP) # reverse changes of ChannelSelection when closing plugin self.onClose.append(self.__onClose) # if PiPServiceRelation is installed, get relation dict if plugin_PiPServiceRelation_installed: self.pipServiceRelation = getRelationDict() else: self.pipServiceRelation = {}
def __init__(self, session, service): self.skin = CutListEditor.skin Screen.__init__(self, session) Screen.setTitle(self, _("Cutlist editor")) InfoBarSeek.__init__(self, actionmap=["CutlistSeekActions"]) InfoBarCueSheetSupport.__init__(self) InfoBarBase.__init__(self, steal_current_service=True) HelpableScreen.__init__(self) self.old_service = session.nav.getCurrentlyPlayingServiceReference() self.service = service session.nav.playService(service) self.pauseService() # disable cutlists. we want to freely browse around in the movie # However, downloading and uploading the cue sheet restores the # default state, so we need to keep disabling it. self.cut_state = 2 self.getCuesheet() # preserve the original cuts to possibly restore them later self.prev_cuts = self.cut_list[:] self.last_mark = [ x for x in self.prev_cuts if x[1] == self.CUT_TYPE_LAST ] self.edited = False self.MovieSelection = isinstance( self.session.current_dialog, MovieSelection) and self.session.current_dialog self["InLen"] = Label() self["OutLen"] = Label() self["Timeline"] = ServicePositionGauge(self.session.nav) self["cutlist"] = List(self.getCutlist()) self["cutlist"].onSelectionChanged.append(self.selectionChanged) self["SeekState"] = Label() self.onPlayStateChanged.append(self.updateStateLabel) self.updateStateLabel(self.seekstate) self["key_red"] = Label(_("Start cut")) self["key_green"] = Label(_("End cut")) self["key_yellow"] = Label(_("Step back")) self["key_blue"] = Label(_("Step forward")) self["SeekActions"].actions.update({"stepFwd": self.stepFwd}) self.helpList.append( (self["SeekActions"], "CutlistSeekActions", [("stepFwd", _("Step forward"))])) desktopSize = getDesktop(0).size() self["Video"] = VideoWindow(decoder=0, fb_width=desktopSize.width(), fb_height=desktopSize.height()) self["actions"] = HelpableActionMap(self, ["CutListEditorActions"], { "setIn": (self.setIn, _("Make this mark an 'in' point")), "setOut": (self.setOut, _("Make this mark an 'out' point")), "setStart": (self.setStart, _("Make this mark the initial 'in' point")), "setEnd": (self.setEnd, _("Make this mark the final 'out' point")), "setMark": (self.setMark, _("Make this mark just a mark")), "addMark": (self.__addMark, _("Add a mark")), "removeMark": (self.__removeMark, _("Remove a mark")), "execute": (self.execute, _("Execute cuts and exit")), "quickExecute": (self.quickExecute, _("Quick execute...")), "leave": (self.exit, _("Exit editor")), "showMenu": (self.showMenu, _("Menu")), "backMenu": (self.backMenu, _("Restore previous cuts...")), }, prio=-4) self.onExecBegin.append(self.showTutorial) self.__event_tracker = ServiceEventTracker( screen=self, eventmap={iPlayableService.evCuesheetChanged: self.refillList}) # to track new entries we save the last version of the cutlist self.last_cuts = self.getCutlist() self.cut_start = None self.cut_end = None self.state = CutListContextMenu.SHOW_DELETECUT self.inhibit_seek = False self.inhibit_cut = False self.onClose.append(self.__onClose) # Use onShown to set the initial list index, since apparently that doesn't # work from here. self.onShown.append(self.__onShown)
def __init__(self, session): self.session = session Screen.__init__(self, session) #bouquets = getBouquetList(); self.waitForEpgWorker = 0 self.setup_title = _("Advanced matching") self.setTitle(self.setup_title) from Screens.InfoBar import InfoBar self.infoBarInstance = InfoBar.instance self.epgcache = eEPGCache.getInstance() self.offerToSave = False self.callback = None #cfg = EPGConfig.loadUserSettings() # load all working bouquets #filter = cfg["sources"] #self.bouquets = [] self.channels = [] #for x in bouquets: # if x[0]in filter or filter is None: # self.bouquets.append(x[0]) # (description, value, index, selected) #self.bouquets.append(SelectionEntryComponent(x[0], x[1], 0, False)) self["statusbar"] = Label() self["status"] = Label() self["text"] = Label() self["text2"] = Label() self["list1"] = ColoredList() self["list2"] = ColoredList() self.desktopSize = getDesktop(0).size() #self["videoPicture"] = VideoWindow(decoder = 0, fb_width = 445, fb_height = 263) self["videoPicture"] = VideoWindow(decoder = 0, fb_width = self.desktopSize.width(), fb_height = self.desktopSize.height()) self.curFocus = 1 self["actions"] = NumberActionMap(["DirectionActions", "EPGSelectActions", "NumberActions", "OkCancelActions", "ColorActions", "TimerEditActions"], { "cancel": self.cancel, "red": self.epgLoadCall, "green": self.doSave, "blue": self.install, "nextService": self.right, "prevService": self.left, "ok": self.zap, "up": self.up, "down": self.down, "left": self.pageUp, "right": self.pageDown, "1": self.keyed, "2": self.keyed, "3": self.keyed, "4": self.keyed, "5": self.keyed, "6": self.keyed }, -2) self["key_red"] = Label(_("Load epg packages")) self["key_refresh"] = Label(_("Refresh matches")) self["key_filter"] = Label(_("Filter channels")) self["key_green"] = Label(_("Save")) self["key_blue"] = Label(_("Install")) #self["key_green"] = Label(_("Find matches")) #self["key_yellow"] = Label(_("Find matches")) self.channelMode = 1 # initiate on all channels self.updateTimer = enigma.eTimer() self.updateTimer.callback.append(self.updateStatus) self.updateStatus() self.updateTimer.start(2000) # load all unmapped channels if not epgWorker.active and len(epgWorker.channels) == 0: #self.doFilterCallback(True) self.doChannelLoad() self.waitForEpgWorker = 1 elif epgWorker.active: self.waitForEpgWorker = 1 self.onLayoutFinish.append(self.onLoad)
def InitSkin(self): global longButtonText global buttonText_na global skin global skinName self.skinName = skinName if skin: try: SRSkin = open(skin) self.skin = SRSkin.read() SRSkin.close() except: config.plugins.serienRec.showAllButtons.value = False longButtonText = False buttonText_na = "-----" skinName = default_skinName skin = default_skin SRSkin = open(skin) self.skin = SRSkin.read() SRSkin.close() self['bt_red'] = Pixmap() self['bt_green'] = Pixmap() self['bt_yellow'] = Pixmap() self['bt_blue'] = Pixmap() self['bt_ok'] = Pixmap() self['bt_exit'] = Pixmap() self['bt_text'] = Pixmap() self['bt_epg'] = Pixmap() self['bt_info'] = Pixmap() self['bt_menu'] = Pixmap() self['bt_0'] = Pixmap() self['bt_1'] = Pixmap() self['bt_2'] = Pixmap() self['bt_3'] = Pixmap() self['bt_4'] = Pixmap() self['bt_5'] = Pixmap() self['bt_6'] = Pixmap() self['bt_7'] = Pixmap() self['bt_8'] = Pixmap() self['bt_9'] = Pixmap() self['text_red'] = Label("") self['text_green'] = Label("") self['text_yellow'] = Label("") self['text_blue'] = Label("") self['text_ok'] = Label("") self['text_exit'] = Label("") self['text_text'] = Label("") self['text_epg'] = Label("") self['text_info'] = Label("") self['text_menu'] = Label("") self['text_0'] = Label("") self['text_1'] = Label("") self['text_2'] = Label("") self['text_3'] = Label("") self['text_4'] = Label("") self['text_5'] = Label("") self['text_6'] = Label("") self['text_7'] = Label("") self['text_8'] = Label("") self['text_9'] = Label("") self['Web_Channel'] = Label("") self['Web_Channel'].hide() self['STB_Channel'] = Label("") self['STB_Channel'].hide() self['alt_STB_Channel'] = Label("") self['alt_STB_Channel'].hide() self['separator'] = Label("") self['separator'].hide() self['path'] = Label("") self['path'].hide() self['menu_list'] = MenuList([]) self['menu_list'].hide() self['config'] = MenuList([]) self['config'].hide() self['log'] = MenuList([]) self['log'].hide() self['list'] = MenuList([]) self['list'].hide() self['popup_list'] = MenuList([]) self['popup_list'].hide() self['popup_list2'] = MenuList([]) self['popup_list2'].hide() self['popup_bg'] = Pixmap() self['popup_bg'].hide() self['cover'] = Pixmap() self['cover'].hide() self['config_information'] = Label("") self['config_information'].hide() self['config_information_text'] = Label("") self['config_information_text'].hide() self['info'] = ScrollLabel() self['info'].hide() desktopSize = getDesktop(0).size() self["video"] = VideoWindow(decoder=0, fb_width=desktopSize.width(), fb_height=desktopSize.height()) self['title'] = Label("") self['version'] = Label("SerienRecorder v%s" % config.plugins.serienRec.showversion.value) self['headline'] = Label("") setSkinProperties(self, False) if not config.plugins.serienRec.showAllButtons.value: self['bt_red'].hide() self['bt_green'].hide() self['bt_yellow'].hide() self['bt_blue'].hide() self['bt_ok'].hide() self['bt_exit'].hide() self['bt_text'].hide() self['bt_epg'].hide() self['bt_info'].hide() self['bt_menu'].hide() self['bt_0'].hide() self['bt_1'].hide() self['bt_2'].hide() self['bt_3'].hide() self['bt_4'].hide() self['bt_5'].hide() self['bt_6'].hide() self['bt_7'].hide() self['bt_8'].hide() self['bt_9'].hide() self['text_red'].hide() self['text_green'].hide() self['text_yellow'].hide() self['text_blue'].hide() self['text_ok'].hide() self['text_0'].hide() self['text_1'].hide() self['text_2'].hide() self['text_3'].hide() self['text_4'].hide() self['text_5'].hide() self['text_6'].hide() self['text_7'].hide() self['text_8'].hide() self['text_9'].hide()