X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FInfoBar.py;h=8fec85cd4e746a1c62dbc9118bd4a73c58a20b03;hp=3481177f2dde2b73f8555bc10cce4ed26ec21152;hb=4911a0121954f6b6657ba28fab8d9dd9031d9a59;hpb=376c4a25184424fb78904837add6c2e1e773b4c6 diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 3481177..8fec85c 100755 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -11,12 +11,13 @@ from enigma import iPlayableService profile("LOAD:InfoBarGenerics") from Screens.InfoBarGenerics import InfoBarShowHide, \ InfoBarNumberZap, InfoBarChannelSelection, InfoBarMenu, InfoBarRdsDecoder, \ - InfoBarEPG, InfoBarSeek, InfoBarInstantRecord, \ + InfoBarEPG, InfoBarSeek, InfoBarInstantRecord, InfoBarRedButton, \ InfoBarAudioSelection, InfoBarAdditionalInfo, InfoBarNotifications, InfoBarDish, InfoBarUnhandledKey, \ InfoBarSubserviceSelection, InfoBarShowMovies, InfoBarTimeshift, \ InfoBarServiceNotifications, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarSimpleEventView, \ InfoBarSummarySupport, InfoBarMoviePlayerSummarySupport, InfoBarTimeshiftState, InfoBarTeletextPlugin, InfoBarExtensions, \ - InfoBarSubtitleSupport, InfoBarPiP, InfoBarPlugins, InfoBarServiceErrorPopupSupport, InfoBarJobman + InfoBarSubtitleSupport, InfoBarPiP, InfoBarPlugins, InfoBarServiceErrorPopupSupport, InfoBarJobman, \ + InfoBarHDMI profile("LOAD:InitBar_Components") from Components.ActionMap import HelpableActionMap @@ -28,12 +29,12 @@ from Screens.HelpMenu import HelpableScreen class InfoBar(InfoBarBase, InfoBarShowHide, InfoBarNumberZap, InfoBarChannelSelection, InfoBarMenu, InfoBarEPG, InfoBarRdsDecoder, - InfoBarInstantRecord, InfoBarAudioSelection, + InfoBarInstantRecord, InfoBarAudioSelection, InfoBarRedButton, HelpableScreen, InfoBarAdditionalInfo, InfoBarNotifications, InfoBarDish, InfoBarUnhandledKey, InfoBarSubserviceSelection, InfoBarTimeshift, InfoBarSeek, InfoBarSummarySupport, InfoBarTimeshiftState, InfoBarTeletextPlugin, InfoBarExtensions, InfoBarPiP, InfoBarPlugins, InfoBarSubtitleSupport, InfoBarServiceErrorPopupSupport, InfoBarJobman, - Screen): + InfoBarHDMI, Screen): ALLOW_SUSPEND = True instance = None @@ -45,7 +46,6 @@ class InfoBar(InfoBarBase, InfoBarShowHide, "showMovies": (self.showMovies, _("Play recorded movies...")), "showRadio": (self.showRadio, _("Show the radio player...")), "showTv": (self.showTv, _("Show the tv player...")), - # ikseong action for subtitle hotkey "showSubtitle":(self.showSubtitle, _("Show the Subtitle...")), }, prio=2) @@ -54,11 +54,11 @@ class InfoBar(InfoBarBase, InfoBarShowHide, for x in HelpableScreen, \ InfoBarBase, InfoBarShowHide, \ InfoBarNumberZap, InfoBarChannelSelection, InfoBarMenu, InfoBarEPG, InfoBarRdsDecoder, \ - InfoBarInstantRecord, InfoBarAudioSelection, InfoBarUnhandledKey, \ + InfoBarInstantRecord, InfoBarAudioSelection, InfoBarRedButton, InfoBarUnhandledKey, \ InfoBarAdditionalInfo, InfoBarNotifications, InfoBarDish, InfoBarSubserviceSelection, \ InfoBarTimeshift, InfoBarSeek, InfoBarSummarySupport, InfoBarTimeshiftState, \ InfoBarTeletextPlugin, InfoBarExtensions, InfoBarPiP, InfoBarSubtitleSupport, InfoBarJobman, \ - InfoBarPlugins, InfoBarServiceErrorPopupSupport: + InfoBarPlugins, InfoBarServiceErrorPopupSupport, InfoBarHDMI: x.__init__(self) self.helpList.append((self["actions"], "InfobarActions", [("showMovies", _("view recordings..."))])) @@ -125,7 +125,6 @@ class InfoBar(InfoBarBase, InfoBarShowHide, if service is not None: self.session.open(MoviePlayer, service) - # ikseong action for subtitle hotkey def showSubtitle(self): from Screens.Subtitles import Subtitles self.session.open(Subtitles) @@ -135,7 +134,7 @@ class MoviePlayer(InfoBarBase, InfoBarShowHide, \ InfoBarSeek, InfoBarShowMovies, InfoBarAudioSelection, HelpableScreen, InfoBarNotifications, InfoBarServiceNotifications, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarSimpleEventView, InfoBarMoviePlayerSummarySupport, InfoBarSubtitleSupport, Screen, InfoBarTeletextPlugin, - InfoBarServiceErrorPopupSupport, InfoBarExtensions, InfoBarPlugins, InfoBarPiP): + InfoBarServiceErrorPopupSupport, InfoBarExtensions, InfoBarPlugins, InfoBarPiP, InfoBarHDMI): ENABLE_RESUME_SUPPORT = True ALLOW_SUSPEND = True @@ -145,7 +144,6 @@ class MoviePlayer(InfoBarBase, InfoBarShowHide, \ self["actions"] = HelpableActionMap(self, "MoviePlayerActions", { - # ikseong action for subtitle hotkey "showSubtitle":(self.showSubtitle, _("Show the Subtitle...")), "leavePlayer": (self.leavePlayer, _("leave movie player...")) }) @@ -230,6 +228,7 @@ class MoviePlayer(InfoBarBase, InfoBarShowHide, \ self.session.nav.stopService() elif answer == "restart": self.doSeek(0) + self.setSeekState(self.SEEK_STATE_PLAY) def doEofInternal(self, playing): if not self.execing: @@ -250,8 +249,7 @@ class MoviePlayer(InfoBarBase, InfoBarShowHide, \ self.returning = False elif self.returning: self.close() - - # ikseong action for subtitle hotkey + def showSubtitle(self): from Screens.Subtitles import Subtitles self.session.open(Subtitles)