v17 [MacOS X] - hue.ambilight addon broken in Kodi v17 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152) +---- Thread: v17 [MacOS X] - hue.ambilight addon broken in Kodi v17 (/showthread.php?tid=304599) |
[MacOS X] - hue.ambilight addon broken in Kodi v17 - bucker - 2017-01-20 Just upgraded from Kodi v16 to v17 RC3. Looking good, but the script.kodi.hue.ambilight addon no longer works. 22:17:59.080 T:123145506697216 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.AttributeError'> Error Contents: 'module' object has no attribute 'CAPTURE_FLAG_CONTINUOUS' Traceback (most recent call last): File "/Users/macmini/Library/Application Support/Kodi/addons/script.kodi.hue.ambilight/default.py", line 104, in onPlayBackStarted state_changed("started", self.duration) File "/Users/macmini/Library/Application Support/Kodi/addons/script.kodi.hue.ambilight/default.py", line 425, in state_changed capture.capture(int(capture_width), int(capture_height), xbmc.CAPTURE_FLAG_CONTINUOUS) AttributeError: 'module' object has no attribute 'CAPTURE_FLAG_CONTINUOUS' -->End of Python script error report<-- 22:17:59.080 T:123145506697216 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.AttributeError'> Error Contents: 'xbmc.RenderCapture' object has no attribute 'waitForCaptureStateChangeEvent' Traceback (most recent call last): File "/Users/macmini/Library/Application Support/Kodi/addons/script.kodi.hue.ambilight/default.py", line 467, in <module> run() File "/Users/macmini/Library/Application Support/Kodi/addons/script.kodi.hue.ambilight/default.py", line 320, in run if capture.waitForCaptureStateChangeEvent(200): AttributeError: 'xbmc.RenderCapture' object has no attribute 'waitForCaptureStateChangeEvent' -->End of Python script error report<-- [MacOS X] - hue.ambilight addon broken in Kodi v17 - Memphiz - 2017-01-21 Tell the addon author he needs to adapt to the new api. He can have a look at the official boblight addon to see how to do it. RE: [MacOS X] - hue.ambilight addon broken in Kodi v17 - bucker - 2017-01-22 Thanks. Actually, I just found a branch of the addon that supports v17: https://github.com/mpolednik/script.kodi.hue.ambilight |