Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Kaufmann <humitos@gmail.com>2012-10-02 19:52:18 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-10-10 16:24:37 (GMT)
commit7fd7724da0a80c1d6e3293dd5da002634e5e3a2f (patch)
tree7cbdf3e13f93d77bb8a074fa75c6385fa238e57d
parentfdaef146357451cfee0c9ed1174152523b3d0047 (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. Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
-rw-r--r--jukeboxactivity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jukeboxactivity.py b/jukeboxactivity.py
index ea66d34..1ad5ff1 100644
--- a/jukeboxactivity.py
+++ b/jukeboxactivity.py
@@ -459,7 +459,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://'):