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

def AmpacheTools::AmpacheGUI::AmpacheGUI::remove_from_playlist (   self,
  widget,
  song_id,
  treeview,
  list = None 
)
Remove a song from the current playlist.

Definition at line 3037 of file AmpacheGUI.py.

                                                                          :
            """Remove a song from the current playlist."""
            if list != None:
                  for song_id in list:
                        self.remove_from_playlist(widget, song_id, treeview, None)
                        #print self.audio_engine.get_current_song()
                  return True
            else:
                  if self.audio_engine.remove_from_playlist(song_id):
                        self.update_playlist_window()
                        return True
            return False
            

Generated by  Doxygen 1.6.0   Back to index