Permalink
Browse files

- [fix] activate static light when playing audio

  • Loading branch information...
1 parent d592a2e commit 87c2e5bd2884848328dcea6d252e7c18955ff6ef @amet amet committed with Memphiz Nov 26, 2012
Showing with 6 additions and 1 deletion.
  1. +1 −1 script.xbmc.boblight/addon.xml
  2. +3 −0 script.xbmc.boblight/changelog.txt
  3. +2 −0 script.xbmc.boblight/default.py
View
2 script.xbmc.boblight/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.xbmc.boblight" name="XBMC Boblight" version="2.0.1" provider-name="bobo1on1, Memphiz">
+<addon id="script.xbmc.boblight" name="XBMC Boblight" version="2.0.2" provider-name="bobo1on1, Memphiz">
<requires>
<import addon="xbmc.python" version="2.1"/>
</requires>
View
3 script.xbmc.boblight/changelog.txt
@@ -1,3 +1,6 @@
+2.0.2
+- [fix] activate static light when playing audio
+
2.0.1
- [fix] close download dialog once we finished/failed
- [fix] - catch exceptions during libboblight download and add a toast for suggesting a check of the fs permissions
View
2 script.xbmc.boblight/default.py
@@ -149,6 +149,8 @@ def myPlayerChanged(state):
else:
if xbmc.getCondVisibility("VideoPlayer.Content(musicvideos)"):
ret = "musicvideo"
+ elif xbmc.getCondVisibility("Player.HasAudio()"):
+ ret = "static"
else:
ret = "movie"

0 comments on commit 87c2e5b

Please sign in to comment.