X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9e0783f71e37ee01c3e4861392234221cec323ce..cffee89d7b3567ee92901f6963108c33ea3ac469:/lib/python/Screens/InfoBar.py diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 9d3e327c..0a297fbf 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -34,6 +34,8 @@ class InfoBar(InfoBarShowHide, InfoBarSubserviceSelection, InfoBarTuner, InfoBarTimeshift, InfoBarSeek, InfoBarSummarySupport, InfoBarTimeshiftState, InfoBarTeletextPlugin, InfoBarExtensions, InfoBarSubtitleSupport, Screen): + + ALLOW_SUSPEND = True def __init__(self, session): Screen.__init__(self, session) @@ -82,6 +84,9 @@ class MoviePlayer(InfoBarShowHide, \ InfoBarServiceName, InfoBarSeek, InfoBarShowMovies, InfoBarAudioSelection, HelpableScreen, InfoBarNotifications, InfoBarServiceNotifications, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarSimpleEventView, InfoBarSummarySupport, InfoBarTeletextPlugin, InfoBarSubtitleSupport, Screen): + + ENABLE_RESUME_SUPPORT = True + ALLOW_SUSPEND = True def __init__(self, session, service): Screen.__init__(self, session) @@ -102,6 +107,7 @@ class MoviePlayer(InfoBarShowHide, \ self.session.nav.playService(service) def leavePlayer(self): + self.is_closing = True self.session.openWithCallback(self.leavePlayerConfirmed, MessageBox, _("Stop playing this movie?")) def leavePlayerConfirmed(self, answer):