2019-09-06, 01:26
(2019-09-05, 18:07)Snapcase Wrote: @Cinephile
I've never used CV, but it's the Hue service that's crashing because it can't figure out the duration of these two video files:
Code:smb://NASDDB2A8/Multimedia/XBMC/Media/TV Shows/American Horror Story/Season 8/s08e08.mkv
C:\Users\Rieche\AppData\Roaming\Kodi\addons\script.cinemavision\resources\videos\script.cinemavision.dummy_NEXT.mpeg
I can fix the crash but I'm not 100% sure what's happening. It looks like it's failing on a TV episode but working on a Movie. Can you check if it's all TV episodes that fail and movies work or if it's just this particular file? There doesn't seem to be any difference to the hue service between First Man and A Quiet Place but it actually crashes before it reaches either so it was already unhappy before you hit play on A Quiet Place.
I made a test version here which should avoid the crash and give me more logs on the problem: https://github.com/zim514/script.service.hue/releases/tag/v0.7.13dev4
Can you please try manually installing that version from the zip and send new logs, making sure that Kodi is set to debug?
Also there's a log line about bulbs with no colour gamut - this might be perfectly normal if you have white-only lights or non official hue bulbs. It shouldn't be a problem but just want to double check it's expected and not another problem.
Thank you for your prompt reply!
It’s interesting that you mention TV shows. I’ve never had a single problem with them (that I know of anyway). Are you sure they are throwing an error in that log? Sometimes when I’m too eager and immediately start watching after booting into Kodi it skips your add-on because my bridge isn’t detected quickly enough (takes a few seconds after boot and then pops up with a notification). But that is my fault.
I will certainly test your build tonight after work! Out of curiosity, what did you change?
Also, I find it strange that the problem cannot accurately be reproduced. It feels random. If it was related purely to timestamp issues (lack of duration) wouldn’t that be the same every time?
Last night I changed a few settings in Kodi (removed whitelisted resolutions as no longer needed, and switched from full screen window to exclusive full screen) and haven’t had an issue since. Ran 20+ test sequences with and without CV and no crash. Interestingly, Hue Service doesn’t know a video is playing until the feature film starts when using CV. My Dolby Atmos audio bumper which plays before the movie isn’t recognised by Hue so lights aren’t dimmed until after. I blame CV and can safely say that without using CV I have never encountered any issues.
As for the white-only lights, this should be easy to explain. I have set up 3x Hue Play Bars behind my TV and 1x Hue lightstrip underneath the entertainment unit. When I press play it slowly turns off all lights. When I stop playback it turns them back on to a mix of purple and blue. However, when pausing playback I have configured a scene where it only turns on the lightstrip. It is a dimmed white light (intentionally no colours) which is probably what you saw in the log?