]> git.parisson.com Git - deefuzzer.git/commitdiff
fix new track twitter msg
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 26 Jan 2010 17:43:58 +0000 (17:43 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 26 Jan 2010 17:43:58 +0000 (17:43 +0000)
tools/station.py

index 6d06db53310c6fde5f08a0cacf929a8f38a4f66e..39bee9647e7a04e007a384845c21614a74af9a77 100644 (file)
@@ -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: