diff options
author | Manuel Kaufmann <humitos@gmail.com> | 2012-09-04 18:22:28 (GMT) |
---|---|---|
committer | Manuel Kaufmann <humitos@gmail.com> | 2012-09-04 18:22:28 (GMT) |
commit | 1500effa6c27b4e88b41e86bf2830bf4406e90a7 (patch) | |
tree | c963ca99a55cfbd8ba082bc77441fa81aeacc405 | |
parent | ffd5d85a2b6fa6182f788f735faf6eefae3ba657 (diff) |
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.
-rw-r--r-- | jukeboxactivity.py | 2 |
1 files changed, 1 insertions, 1 deletions
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://'): |