Changeset - 458eb42fa016
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 12 years ago 2013-06-16 18:47:33
drewp@bigasterisk.com
curvecalc: no error if music player has no current song
Ignore-this: 5577a78295efc8f97c7fc53561df1ade
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/curvecalc/musicaccess.py
Show inline comments
 
@@ -64,7 +64,7 @@ class Music:
 
    def _bodyReceived(self, data):
 
        if 't' in data:
 
            dispatcher.send("input time", val=data['t'])
 
        if 'song' in data:
 
        if 'song' in data and data['song']:
 
            dispatcher.send("current_player_song", song=URIRef(data['song']))
 
        return data['t'] # pass along to the real receiver
 
    
0 comments (0 inline, 0 general)