From f1137adc4190b8a5e62e1e91dc678aa72eef1e6a Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Tue, 04 Sep 2012 18:22:28 +0000 Subject: Do not pause the stream after adding a new one After the user adds the first stream to the playlist it is played immediately and when a new stream is added, the first one is kept playing. Signed-off-by: Manuel Kaufmann --- diff --git a/jukeboxactivity.py b/jukeboxactivity.py index 54e503f..2a209fe 100644 --- a/jukeboxactivity.py +++ b/jukeboxactivity.py @@ -477,7 +477,7 @@ class JukeboxActivity(activity.Activity): self.playlist_widget.update(self.playlist) try: - if not self.currentplaying: + if self.currentplaying is None: logging.info("Playing: " + self.playlist[0]['url']) url = self.playlist[0]['url'] if url.startswith('journal://'): -- cgit v0.9.1