def myCallback(self): printl("", self, "S") if not config.plugins.dreamplex.stopLiveTvOnStartup.value: self.session.nav.playService(getLiveTv(), forceRestart=True) printl("", self, "C")
def closePlugin(self): printl("", self, "S") if config.plugins.dreamplex.stopLiveTvOnStartup.value: printl("restoring liveTv", self, "D") self.session.nav.playService(getLiveTv()) closePlugin() printl("", self, "C")
def restoreLiveTv(*retval): global playbackIsRunning global_session.nav.playService(getLiveTv()) playbackIsRunning = False
def restoreLiveTv(retval): global_session.nav.playService(getLiveTv())
def restartLiveTvNow(): global_session.nav.playService(getLiveTv())