bobo1on1 / script.xbmc.boblight

XBMC addon for boblight
http://code.google.com/p/boblight/
34 stars 27 forks source link

Custom Settings for TV Shows, Movies, Files not working #28

Closed M3Rocket closed 10 years ago

M3Rocket commented 10 years ago

The Fast or Slow presets work as expected for everything. However, the only custom setting that seems to work is "Music Videos." If I set TV Shows, Movies or Files to "Custom," the lights remain off, just as if it is set to disabled.

Same thing happens with the Override Used Category setting. If it's set to TV Shows, Movies or Files and the setting is Custom, the lights remain off as if it is disabled. Setting the Override using Musicvideo set to Custom is the only mode that works.

Tested using the latest boblight 2.0.7 and 2.0.8, boblightd (OE version) v3.1.3, OpenELEC 3.4.2

Memphiz commented 10 years ago

This works for me. Please post a debug log and ensure that you have some valid settings in those custom categories ...

M3Rocket commented 10 years ago

OK--I think I just figured out the problem. Looking at the xbmc debug log, I see that whenever I switch to the TV Shows custom settings, it thinks the saturation setting is "0.0" But when I look at ~/userdata/addon_data/script.xbmc.boblight/settings.xml, that file contains the proper saturation setting of "1.1" I'm not sure why it only seems to get the musicvideo custom setting right but not the others.

Debug Log File: http://www.xbmclogs.com/show.php?id=144479

The pertinent sections from xbmc.log in debug: 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - start 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - PlayerChanged(start) 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - handleCategory(tvshow) 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - handleGlobalSettings 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - setupForTVShow 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed saturation to 0.0 ret: True 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed value to 0.0 ret: True 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed speed to 100.0 ret: True 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed autospeed to 0.0 ret: True 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed interpolation to 0 ret: True 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed threshold to 0.0 ret: True 01:37:22 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - handleStaticBgSettings[/code]

And the correct settings whenever I set to musicvideo: [code]01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - start 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - PlayerChanged(start) 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - handleCategory(musicvideo) 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - handleGlobalSettings 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - setupForMusicVideo 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed saturation to 1.1 ret: True 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed value to 1.0 ret: True 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed speed to 60.0 ret: True 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed autospeed to 0.0 ret: True 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed interpolation to 0 ret: True 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - changed threshold to 30.0 ret: True 01:37:29 T:140279923332864 DEBUG: ### [XBMC Boblight] - settings() - handleStaticBgSettings

My settings.xml and boblight.conf file is on xbmc thread since it doesn't show up well here.

M3Rocket commented 10 years ago

Nevermind. Got it all to work. I missed the value setting which is "0" by default.