2020-09-18, 07:53
Code:
2020-09-17 18:53:14.224 T:2197136240 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.vimeo/play/?video_id=438518823
2020-09-17 18:53:14.224 T:2197136240 ERROR: InputStream: Error opening, plugin://plugin.video.vimeo/play/?video_id=438518823
2020-09-17 18:53:16.476 T:2329928560 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: Api JSON seems to be invalid
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 84, in run
collection = listItems.from_collection(api.resolve_id(video_id))
File "/storage/.kodi/addons/plugin.video.vimeo/resources/lib/vimeo/api.py", line 139, in resolve_id
return self._map_json_to_collection(res)
File "/storage/.kodi/addons/plugin.video.vimeo/resources/lib/vimeo/api.py", line 230, in _map_json_to_collection
raise RuntimeError("Api JSON seems to be invalid")
RuntimeError: Api JSON seems to be invalid
-->End of Python script error report<--
2020-09-17 18:53:16.672 T:3011654992 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.vimeo/play/?video_id=438518823]
Sorry for your time, but the problem seems to be definitely on my side.
First, the first two rows I get them a lot, because for every listitem for the videos I do a setInfo('video',...) and a setProperty('IsPlayable', 'true') but because it's not a video file url but a plugin url it throws this error.
If I do a listitem.setInfo('files',...), it doesn't throw the error but it's also not playable either because it's not a video anymore.
Second, I have a function that creates the url for the plugin call by just adding the video id at the end.
There's some code getting the video id and at the end only does a
Code:
return "plugin://plugin.video.vimeo/play/?video_id=" + link[0]
Code:
return "plugin://plugin.video.vimeo/play/?video_id=438518823"