2018-02-14, 04:34
I'm suddenly unable to play some videos (It seems random which ones but it seems most common with music videos). Attempting to play them gets me a message to check the log. I'm running Krypton with 5.5.0 of the add-on and I'm using personal API keys. I've tested with some videos that I've watched before with the add-on (it has also happened with videos I have not watched before). The log at the time of the error reads:
Code:
18:07:02.209 T:3140 NOTICE: Previous line repeats 1 times.
18:07:02.209 T:3140 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.Exception'>
Error Contents: Signature function not found
Traceback (most recent call last):
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\default.py", line 7, in <module>
runner.run(__provider__)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\kodion\runner.py", line 40, in run
__RUNNER__.run(provider, context)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\kodion\impl\xbmc\xbmc_runner.py", line 24, in run
results = provider.navigate(context)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\kodion\abstract_provider.py", line 87, in navigate
result = method(context, re_match)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\kodion\register_provider_path.py", line 11, in wrapper
return func(*args, **kwargs)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\provider.py", line 475, in on_play
return yt_play.play_video(self, context, re_match)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\helper\yt_play.py", line 19, in play_video
video_streams = client.get_video_streams(context, video_id)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\client\youtube.py", line 79, in get_video_streams
video_streams = video_info.load_stream_infos(video_id, player_config, cookies)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\helper\video_info.py", line 403, in load_stream_infos
return self._method_get_video_info(video_id, player_config, cookies)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\helper\video_info.py", line 738, in _method_get_video_info
parse_to_stream_list(url_encoded_fmt_stream_map)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\helper\video_info.py", line 700, in parse_to_stream_list
url += '&signature=%s' % cipher.get_signature(stream_map['s'])
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\helper\signature\cipher.py", line 24, in get_signature
json_script = function_cache.get(FunctionCache.ONE_DAY, self._load_json_script, self._java_script_url)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\kodion\utils\function_cache.py", line 101, in get
cached_data = partial_func()
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\helper\signature\cipher.py", line 57, in _load_json_script
return self._load_java_script(java_script)
File "C:\Users\Nicole\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\helper\signature\cipher.py", line 62, in _load_java_script
raise Exception('Signature function not found')
Exception: Signature function not found
-->End of Python script error report<--
18:07:02.267 T:10760 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=ck9WjGXepxM]