Hi all,
N2, CE 19.2 rc3, YouTube 6.8.16+matrix.1
YouTube has been working fine but today it will not play videos. I can search but not play videos, get the error to check logs.
2021-08-27 10:41:40.729 T:14855 INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-08-27 10:41:40.753 T:14855 INFO <general>: CAESinkALSA::Initialize - Attempting to open device "iec958:CARD=AMLAUGESOUND,DEV=0"
2021-08-27 10:41:40.756 T:14855 INFO <general>: CAESinkALSA::Initialize - Opened device "iec958:CARD=AMLAUGESOUND,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
2021-08-27 10:41:40.757 T:14855 INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-08-27 10:41:40.757 T:14855 INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
2021-08-27 10:41:48.914 T:8654 INFO <general>: initializing python engine.
2021-08-27 10:41:48.916 T:8654 INFO <general>: [plugin.video.youtube] Running: YouTube (6.8.16+matrix.1) on Matrix (Kodi-19.1) with Python 3.8.9
Path: /play/
Params: {'video_id': 'XAdL6GdURvI'}
2021-08-27 10:41:49.647 T:8654 ERROR <general>: /storage/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'www.youtube.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
warnings.warn(
2021-08-27 10:41:49.958 T:8654 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'NoneType' object has no attribute 'span'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 15, in <module>
runner.run(__provider__)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 60, in run
__RUNNER__.run(provider, context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 33, in run
results = provider.navigate(context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 105, in navigate
result = method(context, re_match)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/register_provider_path.py", line 19, in wrapper
return func(*args, **kwargs)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 767, in on_play
return yt_play.play_video(self, context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 50, in play_video
video_streams = client.get_video_streams(context, video_id)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 104, in get_video_streams
video_streams = video_info.load_stream_infos(video_id)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 537, in load_stream_infos
return self._method_get_video_info(video_id)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 965, in _method_get_video_info
self._calculate_n = ratebypass.CalculateN(js)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/ratebypass/ratebypass.py", line 22, in __init__
self.throttling_plan = get_throttling_plan(raw_code)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/ratebypass/ratebypass.py", line 257, in get_throttling_plan
transform_plan_raw = find_object_from_startpoint(raw_code, match.span()[1] - 1)
AttributeError: 'NoneType' object has no attribute 'span'
-->End of Python script error report<--
2021-08-27 10:41:50.405 T:8654 INFO <general>: Python interpreter stopped
API Screen