]> git.parisson.com Git - deefuzzer.git/commitdiff
No twitter on first playlist build
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 11:34:00 +0000 (13:34 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 11:34:42 +0000 (13:34 +0200)
deefuzzer/station.py

index bee30994c939e6b384c76c3e3d3e6242fb25a0dd..61905686f5630c02c95c1803a076adf206652d51 100644 (file)
@@ -362,7 +362,7 @@ class Station(Thread):
                 new_tracks = new_playlist_set - playlist_set
                 self.new_tracks = list(new_tracks.copy())
 
-                if len(new_tracks):
+                if len(new_tracks) and self.counter:
                     new_tracks_objs = self.media_to_objs(self.new_tracks)
                     for media_obj in new_tracks_objs:
                         title = ''