From: Guillaume Pellerin Date: Sun, 20 Jul 2014 11:34:00 +0000 (+0200) Subject: No twitter on first playlist build X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7d7f1c91581bc84884b76e3d3c0f4f80bba00ed4;p=deefuzzer.git No twitter on first playlist build --- diff --git a/deefuzzer/station.py b/deefuzzer/station.py index bee3099..6190568 100644 --- a/deefuzzer/station.py +++ b/deefuzzer/station.py @@ -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 = ''