diff options
author | Manuel Kaufmann <humitos@gmail.com> | 2012-09-04 18:22:28 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-10-15 19:24:48 (GMT) |
commit | f1137adc4190b8a5e62e1e91dc678aa72eef1e6a (patch) | |
tree | cd0749ae17f501698b4db2eb9f139007b7c72a69 | |
parent | 16a7b803d2e9a86d3e436a844060872332e5fd39 (diff) |
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 <humitos@gmail.com>
-rw-r--r-- | jukeboxactivity.py | 2 |
1 files changed, 1 insertions, 1 deletions
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://'): |