![]() |
Release YouTube for Trailers - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: Release YouTube for Trailers (/showthread.php?tid=375016) |
YouTube for Trailers - matthuisman - 2023-11-13 ![]() Easy playback of YouTube trailers from the various skins etc. Playback only. Does not do navigation / subscriptions etc. Purely for trailer playback without requiring setup / login. On Android, there are settings to allow using the Android YouTube app for playback or as a fallback. Note: Uses the same addon id as kodis version to allow skin integration to work without any modification Source Code https://github.com/matthuisman/slyguy.addons/tree/master/plugin.video.youtube Info & Install Instructions https://www.matthuisman.nz/2023/11/youtube-for-trailers-kodi-add-on.html RE: YouTube for Trailers - HeresJohnny - 2023-11-17 Please stop hijacking the YouTube addon! When your repository is installed and add-on updates are set to "automatically", it's not possible to revert to the Youtube addon because your addon installs right away again on top of it. Edit: Well, I can prevent it by setting the YouTube addon not to update individually. But that prevents me from getting updates to itself as well. RE: YouTube for Trailers - matthuisman - 2023-11-17 This is in its own repo (slyguy YouTube repository) with only this add-on in it. Without the repo installed, Kodi can't hijack the official one. This is to solve exactly what you said. So don't install the repo if you don't want the add-on. Simple. It makes that pretty clear in the blog post I thought RE: YouTube for Trailers - teriyaki - 2023-11-18 Is there a reason why this addon has to replace the official youtube addon? Wouldn't it be possible to rename this addon to something like plugin.video.youtube.trailers so it an co-exist with the official youtube addon? RE: YouTube for Trailers - izprtxqkft - 2023-11-18 (2023-11-18, 09:58)teriyaki Wrote: Is there a reason why this addon has to replace the official youtube addon? Wouldn't it be possible to rename this addon to something like plugin.video.youtube.trailers so it an co-exist with the official youtube addon? yes there is a reason the addon id 'plugin.video.youtube' is hardcoded (not user configurable) into the movie and tv scrapers and is put into the database https://github.com/xbmc/metadata.themoviedb.org.python/blob/master/python/lib/tmdbscraper/tmdb.py#L239 otherwise it wouldn't play trailers from the info screen RE: YouTube for Trailers - matthuisman - 2023-11-18 Yes. That's the whole point. If you're happy with the standard Kodi YouTube add-on, just use that. It does trailers too. I wanted something simple for trailers and then I use official Android app for my browsing /subscriptions playback RE: YouTube for Trailers - izprtxqkft - 2023-11-18 working great matt thanks for this, been waiting over a year for a usable youtube client in kodi request add an option for a context menu on listitems which have a youtube trailer so trailers can be played from the listing without having to open the info dialog it would finish this off for me, i have such an context item on my own replacement youtube (but now yours replaces my replacement) <visible>String.Contains(ListItem.Trailer,youtube)</visible> TIA edit: yes i know you prefer these on github but that is a PITA for me to make a simple req RE: YouTube for Trailers - matthuisman - 2023-11-19 isnt that a skin change? I cant see how the add-on would do that? RE: YouTube for Trailers - izprtxqkft - 2023-11-19 (2023-11-19, 00:36)matthuisman Wrote: isnt that a skin change? I cant see how the add-on would do that? nah, global context from addon.xml
RE: YouTube for Trailers - Fuchs2468 - 2023-11-19 I just tested your addon on Kodi 21 "plugin.video.youtube" (kodi repo) is not installed. Your addon works without an API key, I'm thrilled. But there is a difficulty when installing "YouTube for Trailers" because the dependency "script.module.slyguy" is missing. I had to install "script.module.slyguy" via another addon (SlyGuy Repository) so that I could install "YouTube for Trailers" RE: YouTube for Trailers - bossanova808 - 2023-11-19 Just a thanks Matt - this is great. Really nice to have trailers back and working at last...the other one is so broken, so often, it's not worth having. (If I want to watch actual YouTube, I can use ReVanced & casting, or similar, to make that bearable...) RE: YouTube for Trailers - matthuisman - 2023-11-19 @Fuchs2468 Yes, it's in the blog post that you need to install slyguy common first. This is because a repo can't install a dependency from a different repo as a security thing I believe. A bit annoying, but nothing too major RE: YouTube for Trailers - HeresJohnny - 2023-11-20 (2023-11-17, 20:36)matthuisman Wrote: This is in its own repo (slyguy YouTube repository) with only this add-on in it. Without the repo installed, Kodi can't hijack the official one. Thanks for the pointers, I'll double-check my settings. RE: YouTube for Trailers - matthuisman - 2024-05-27 latest update plugin.video.youtube -> v99.0.11 should improve playback speed (time to start playback) @izprtxqkft just pushed plugin.video.youtube -> v99.0.12 which adds "Trailer" context menu item to all context with Youtube trailer ![]() sorry for delay. had forgot. I've done it pretty nicely though so should appear the same as clicking "Trailer" via information RE: YouTube for Trailers - realcopacetic - 2024-09-13 Hi @matthuisman, I just wanted to say this is a great addon thanks. I've combined it with a trailer autoplay function in my skin Copacetic and it works very reliably, without all of the aggro of getting the other youtube plugin working. One question I have is that it seems to take a few seconds once my PlayMedia command is executed until playback actually starts, similar to the official YT plugin. Do you know of anyway to speed this up? It slightly undermines the effect of having Netflix-style autoplay because each one locks up for a few seconds (I think due to busy dialog being focused) before playback starts. |