+ self.helpList.append((self["actions"], "InfobarActions", [("showMovies", "Watch a Movie...")]))
+
+ self["CurrentTime"] = Clock()
+
+ def showMovies(self):
+ self.session.openWithCallback(self.movieSelected, MovieSelection)
+
+ def movieSelected(self, service):
+ if service is not None:
+ self.session.open(MoviePlayer, service)
+
+class MoviePlayer(Screen, InfoBarVolumeControl, InfoBarShowHide, InfoBarPowerKey, \
+ InfoBarMenu, \
+ InfoBarServiceName, InfoBarPVR, InfoBarAudioSelection, HelpableScreen, InfoBarNotifications):
+
+ def __init__(self, session, service):
+ Screen.__init__(self, session)
+
+ self["actions"] = HelpableActionMap(self, "MoviePlayerActions",