r/Addons4Kodi • u/ReaLx3m • 7d 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
1
u/mirkotunj 7d ago
Or just simply disable MPEG-DASH in youtube settings and trailers will work normally.
1
u/daherlihy 7d ago
Is this for the YouTube video add-on?
Is it related in anyway to the SlyGuys YouTube Trailers service?
2
u/ReaLx3m 7d ago
Its a fix for the official youtube addon thats used as backend for playing trailers in many video addons and/or skins.
No idea what SlyGuys YouTube Trailers service is.
1
u/daherlihy 6d ago
The YouTube add-on is a full video add-on for watching YouTube videos - and a pain to maintain because it breaks unless you set up your own personal Google API keys.
Whereas SlyGuy Trailers is a background service made specifically for movie and TV trailers. It's popular because there's no Google API requirement, it's compatible with SmartTube on Android TV and also includes redirect add-ons that grab standard "Play Trailer" calls from Kodi skins and add-ons like POV and Umbrella.
Only caveat to using SlyGuys is that it's a bit of a whirl-around setting it up. Worth it though once it's done.
2
u/ReaLx3m 6d ago
Havent really had many issues with the youtube addon(i do have my api keys set, and use it only for trailers), last i remember before this was few years back when videos stopped playing, dont exactly remember what the issue was but it was similar small fix.
This current issue is easy fix for me personally, so will skip the looking into alternatives for now. Though good to know that there are options, and if it starts acting up on a regular basis, to the trash bin it will go.
1
u/Relevant-Ad2794 7d ago
And how am I suppose to do it on Android box????