Logo Search packages:      
Sourcecode: viridian version File versions  Download package

def AmpacheTools::AmpacheGUI::AmpacheGUI::audioengine_song_changed (   self,
  song_id 
)

Audio Engine Callback.

The function that gets called when the AudioEngine changes songs.

Definition at line 2733 of file AmpacheGUI.py.

                                                 :
            """The function that gets called when the AudioEngine changes songs."""
            if song_id != None:
                  if dbfunctions.song_has_info(self.db_session, song_id):
                        self.current_song_info = dbfunctions.get_single_song_dict(self.db_session, song_id)
                  else:
                        self.current_song_info = self.ampache_conn.get_song_info(song_id)
            gobject.idle_add(self.__audioengine_song_changed, song_id)
            

Generated by  Doxygen 1.6.0   Back to index