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<–