Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 def _trigger_seeked(self):
     logger.debug(u'Triggering seeked event')
     BackendListener.send('seeked')
Example #4
0
 def _trigger_options_changed(self):
     logger.debug(u'Triggering options changed event')
     BackendListener.send('options_changed')
Example #5
0
 def _trigger_playback_state_changed(self):
     logger.debug(u'Triggering playback state change event')
     BackendListener.send('playback_state_changed')
Example #6
0
 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)
Example #7
0
 def _trigger_seeked(self):
     logger.debug(u'Triggering seeked event')
     BackendListener.send('seeked')
Example #8
0
 def _trigger_options_changed(self):
     logger.debug(u'Triggering options changed event')
     BackendListener.send('options_changed')
Example #9
0
 def _trigger_playback_state_changed(self):
     logger.debug(u'Triggering playback state change event')
     BackendListener.send('playback_state_changed')
Example #10
0
 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)
Example #11
0
 def _trigger_playlist_changed(self):
     logger.debug(u'Triggering playlist changed event')
     BackendListener.send('playlist_changed')