def _trigger_track_playback_ended(self): logger.debug(u'Triggering track playback ended event') if self.current_track is None: return BackendListener.send('track_playback_ended', track=self.current_track, time_position=self.time_position)
def _trigger_seeked(self): logger.debug(u'Triggering seeked event') BackendListener.send('seeked')
def _trigger_options_changed(self): logger.debug(u'Triggering options changed event') BackendListener.send('options_changed')
def _trigger_playback_state_changed(self): logger.debug(u'Triggering playback state change event') BackendListener.send('playback_state_changed')
def _trigger_track_playback_started(self): logger.debug(u'Triggering track playback started event') if self.current_track is None: return BackendListener.send('track_playback_started', track=self.current_track)
def _trigger_playlist_changed(self): logger.debug(u'Triggering playlist changed event') BackendListener.send('playlist_changed')