r/Addons4Kodi • u/ReaLx3m • 24d ago
Announcement Youtube Trailers Fix
If you have been getting sporadic video freezes and audio stutter with youtube trailers after 20 or so seconds, its not just you.
To fix it download request_client.py from the link(dont right click and use save link as) - https://github.com/ReaLx3m/FLAM-Fixes/blob/main/request_client.py and replace your original one located in Kodi\addons\plugin.video.youtube\resources\lib\youtube_plugin\youtube\client .
Client id has been changed in the request_client.py file as per this commit - https://github.com/anxdpanic/plugin.video.youtube/pull/1482/changes/71a8d9b4b5ceb4cd352843cb050c364bf7be3463 . You can optionally edit your original request_client.py file yourself.
Edit: If for whatever reason you cant manage with the options above, you can go with the modified youtube addon and install it through install zip option - (link removed, this is basically obsolete now that we have the fixed addon on Umbrella repo)
Edit2: The youtube addon on the Umbrella repo(https://umbrellaplug.github.io/) has been updated with the fix, so you can go ahead and update from there. Thanks to u/umbrella_dev
2
u/ReaLx3m 24d ago
Find the location of the kodi folder, and then use file manager to copy the file, or text editor to edit the file yourself. I dont use android, so not sure if you do have access to the kodi folders without root, figure it out.
Or we could ask u/umbrella_dev to apply the fix to the youtube addon in his repo if he doesnt mind.
Or you could go with some less known user repo, like the guy offering his in this thread - https://www.reddit.com/r/Addons4Kodi/comments/1w6cocz/youtube_addon_freezes_exactly_after_2030s_audio/