def appendEvent(self): if config.infobartunerstate.plugin_webif.enabled.value: if HAS_WEBIF: try: from Plugins.Extensions.WebInterface.WebScreens import streamingEvents if self.onEvent not in streamingEvents: streamingEvents.append(self.onEvent) except: pass
def appendEvent(self): if config.infobartunerstate.plugin_webif.enabled.value: if HAS_WEBIF: try: from Plugins.Extensions.WebInterface.WebScreens import streamingEvents if self.onEvent not in streamingEvents: streamingEvents.append(self.onEvent) except: pass
def appendEvents(self): # Recording Events # If we append our function, we will never see the timer state StateEnded for repeating timer if self.__onRecordingEvent not in self.session.nav.RecordTimer.on_state_change: self.session.nav.RecordTimer.on_state_change.insert(0, self.__onRecordingEvent) # Streaming Events if config.infobartunerstate.show_streams.value: if StreamingWebScreen: try: from Plugins.Extensions.WebInterface.WebScreens import streamingEvents if self.__onStreamingEvent not in streamingEvents: streamingEvents.append(self.__onStreamingEvent) except: pass
def appendEvents(self): # Recording Events # If we append our function, we will never see the timer state StateEnded for repeating timer if self.__onRecordingEvent not in self.session.nav.RecordTimer.on_state_change: self.session.nav.RecordTimer.on_state_change.insert(0, self.__onRecordingEvent) # Streaming Events if config.infobartunerstate.show_streams.value: if StreamingWebScreen: try: from Plugins.Extensions.WebInterface.WebScreens import streamingEvents if self.__onStreamingEvent not in streamingEvents: streamingEvents.append(self.__onStreamingEvent) except: pass