2020-02-27, 00:15
(2020-02-26, 07:27)Yubby Wrote: ALSO ! A strange issue has arisen... If you search for "Iceland" you recieve an error (regardless of the 'settings' for resolution):
2020-02-25 21:20:51.913 T:139984090674944 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: 'hls'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.vimeo/addon.py", line 3, in <module>
plugin.run()
File "/storage/.kodi/addons/plugin.video.vimeo/resources/plugin.py", line 95, in run
search(handle, query)
File "/storage/.kodi/addons/plugin.video.vimeo/resources/plugin.py", line 144, in search
collection = listItems.from_collection(api.search(query, "videos"))
File "/storage/.kodi/addons/plugin.video.vimeo/resources/lib/vimeo/api.py", line 99, in search
return self._map_json_to_collection(res)
File "/storage/.kodi/addons/plugin.video.vimeo/resources/lib/vimeo/api.py", line 154, in _map_json_to_collection
video_url = self._extract_url_from_search_response(item.get("play"))
File "/storage/.kodi/addons/plugin.video.vimeo/resources/lib/vimeo/api.py", line 235, in _extract_url_from_search_response
return video_files["hls"]["link"]
KeyError: 'hls'
-->End of Python script error report<--
2020-02-25 21:20:51.982 T:139983438300928 ERROR: GetDirectory - Error getting plugin://plugin.video.vimeo/search/?query=Iceland
2020-02-25 21:20:51.985 T:139985026230464 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vimeo/search/?query=Iceland) failed
2020-02-25 21:22:07.945 T:139984904374016 WARNING: Attempt to use invalid handle -1
That sucks. I love those beautiful videos from Iceland.
Issue confirmed and tracked in: https://github.com/jaylinski/kodi-addon-vimeo/issues/19 (I'll release a fix shortly.)