From: Guillaume Pellerin Date: Tue, 26 Jan 2010 17:43:58 +0000 (+0000) Subject: fix new track twitter msg X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=405f01a8022cc1affdcc5406390ab0612fae9635;p=deefuzzer.git fix new track twitter msg --- diff --git a/tools/station.py b/tools/station.py index 6d06db5..39bee96 100644 --- a/tools/station.py +++ b/tools/station.py @@ -283,7 +283,7 @@ class Station(Thread): if self.twitter_mode == 1: artist_names = artist.split(' ') artist_tags = ' #'.join(list(set(artist_names)-set(['&', '-']))) - message = 'New track ! %s %s on #%s' % (song.replace('_', ' '), artist_tags, self.short_name) + message = '#newtrack ! %s #%s on #%s' % (song.replace('_', ' '), artist_tags, self.short_name) self.update_twitter(message) if self.mode_shuffle == 1: