Youtube Addon not playing videos - RPI4

  • Suddenly my Youtube Addon refused to play any videos. I have custom APIs, i can see my account and even the newest videos in my subscriptions.. but as soon i try to start watching something i only get the "youtube error - view logfile for more information" popup. I am far from being a coder so this wont help me a lot, i hope you guys can help me with this.


    I am on a Raspberry Pi 4, Libreelec 9.2.0 and Kodi 18.5. As far as i know no major changes happened since the addon worked fine aside from the Amazon VOD addon being installed. Deactivating it wont help though.


    Heres the log i found:


    2020-03-18 04:00:27.376 T:2342282096 NOTICE: [plugin.video.youtube] Running: YouTube (6.7.0~alpha2) on Leia (Kodi-18.5) with Python 2.7.16

    Path: /special/new_uploaded_videos_tv/

    Params: {}

    2020-03-18 04:00:37.763 T:2342282096 NOTICE: [plugin.video.youtube] Running: YouTube (6.7.0~alpha2) on Leia (Kodi-18.5) with Python 2.7.16

    Path: /play/

    Params: {'video_id': 'zYyhIMwBMAc'}

    2020-03-18 04:00:38.679 T:2342282096 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!

    Error Type: <type 'exceptions.ValueError'>

    Error Contents: Extra data: line 1 column 7819 - line 1 column 21644 (char 7818 - 21643)

    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 99, 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 750, 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 96, in get_video_streams

    video_streams = video_info.load_stream_infos(video_id, player_config, cookies)

    File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 505, in load_stream_infos

    return self._method_get_video_info(video_id, player_config, cookies)

    File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 712, in _method_get_video_info

    player_config = self.get_player_config(html)

    File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 573, in get_player_config

    player_config.update(json.loads(_player_config))

    File "/usr/lib/python2.7/json/__init__.py", line 339, in loads

    File "/usr/lib/python2.7/json/decoder.py", line 367, in decode

    ValueError: Extra data: line 1 column 7819 - line 1 column 21644 (char 7818 - 21643)

    -->End of Python script error report<--

    2020-03-18 04:00:38.875 T:3011641360 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=zYyhIMwBMAc]

    2020-03-18 04:00:38.976 T:3011641360 NOTICE: CVideoPlayer::CloseFile()

    2020-03-18 04:00:38.980 T:2412393328 NOTICE: CVideoPlayer::OnExit()

    2020-03-18 04:00:38.980 T:2412393328 NOTICE: Closing stream player 1

    2020-03-18 04:00:38.980 T:2412393328 NOTICE: Waiting for audio thread to exit

    2020-03-18 04:00:38.995 T:3011641360 NOTICE: VideoPlayer: waiting for threads to exit

    2020-03-18 04:00:39.024 T:2382181232 NOTICE: thread end: CVideoPlayerAudio::OnExit()

    2020-03-18 04:00:39.024 T:2412393328 NOTICE: Closing audio device

    2020-03-18 04:00:39.077 T:2412393328 NOTICE: Deleting audio codec

    2020-03-18 04:00:39.078 T:2412393328 NOTICE: Closing stream player 2

    2020-03-18 04:00:39.078 T:2412393328 NOTICE: waiting for video thread to exit

    2020-03-18 04:00:39.093 T:2441761648 NOTICE: thread end: video_thread

    2020-03-18 04:00:39.095 T:2412393328 NOTICE: deleting video codec

    2020-03-18 04:00:39.120 T:3011641360 NOTICE: VideoPlayer: finished waiting

    2020-03-18 04:00:39.120 T:3011641360 NOTICE: CVideoPlayer::CloseFile()

    2020-03-18 04:00:39.120 T:3011641360 NOTICE: VideoPlayer: waiting for threads to exit

    2020-03-18 04:00:39.120 T:3011641360 NOTICE: VideoPlayer: finished waiting


    Any help would be much appreciated.

  • Heres the log i found:

    We prefer full and unedited, debug enabled log files, that are provided via a pastebin website, so that our forum server isn't "spammed" too much.

    FYI, LibreELEC v9.2.1 has recently come out.

  • We prefer full and unedited, debug enabled log files, that are provided via a pastebin website, so that our forum server isn't "spammed" too much.

    FYI, LibreELEC v9.2.1 has recently come out.

    I don´t know how to do that or what a pastebin website is.

    I also have Libreelec set to automatic updates, i didnt update to 9.2.1 yet as it did with 9.2.0.

  • That's pretty much handled by system.

    Just follow these "easy" steps:

    Provide Log File [LibreELEC.wiki]

    Thx!


    First Option failed and i could only upload the crashlog: http://ix.io/2eG6

    While trying to figure out a SSH connection via putty there actually was an update for the addon and now its working perfectly fine again. So yeah.. thx to whoever got that published! Sorry for the commotion here, problem solved.

    ( I also managed to finally update to 9.2.1 via manual settings)


    One last question before the thread vanishes to oblivion: In the crashlog the arm frequency is still at stock settings despite me having an overclock in place. In Raspbian the overclock applies.. is there an option to check this for libreelec? Is it a different config.txt than the one found in the /boot folder? Kinda surprised by this discovery.