def start(self): signals.connect("player.play", self, self.notifyNewSong) self._currentMessage = None
def _connect_to_signals(self): signals.connect('tracklist.trackadded', self, self.signal_track_added)
def start(self): signals.connect("player.trackfinished", self, self.lastfmscrobble) signals.connect("player.play", self, self.lastfmnewsong) self.scrobble_cueue()