From 1500effa6c27b4e88b41e86bf2830bf4406e90a7 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. --- diff --git a/jukeboxactivity.py b/jukeboxactivity.py index 5ed2ee8..8bb320e 100644 --- a/jukeboxactivity.py +++ b/jukeboxactivity.py @@ -546,7 +546,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