[Pkg-sugar-commit] [sugar-jukebox-activity] 10/10: Do not pause the stream after adding a new one
Jonas Smedegaard
dr at jones.dk
Sat Jun 27 01:57:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag v26.1
in repository sugar-jukebox-activity.
commit f1137adc4190b8a5e62e1e91dc678aa72eef1e6a
Author: Manuel Kaufmann <humitos at gmail.com>
Date: Tue Sep 4 15:22:28 2012 -0300
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 at gmail.com>
---
jukeboxactivity.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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://'):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-jukebox-activity.git
More information about the pkg-sugar-commit
mailing list