Adam_Kearn 1 Posted July 25, 2025 Posted July 25, 2025 Hi Luke, I've got a few items in my media server that seem to have the wrong trailer attached. It looks like the trailers it's pulled from TTVDB's API are now marked as "private". I've gone through the process of getting the URLs updated on their backend, and did a test request using my API key for TTVDB, and it looks like it's now showing the correct trailers. However, when I delete all metadata and refetch this specific item only on my Emby server, it still appears to be pulling in the wrong links. Do you know if there is a specific way to force the internal cache of trailers to be updated on Emby's side? I've been doing the following with no luck so far: Looking at the emby API response, it still shows the old link: Here is the TTVDB's API response with the correct link (since I've updated it on their side)
Happy2Play 9780 Posted July 25, 2025 Posted July 25, 2025 Dev would have to confirm but I don't think Emby currently pulls trailer info from TVDB. As your example would appear to be the first link on TMDB per the url in the bottom left.
Adam_Kearn 1 Posted July 25, 2025 Author Posted July 25, 2025 (edited) Hi, Yes, I understand that emby would normally attempt to play the first video but on Emby's internal API it normally fetches all the videos from those DB sources. For example, a working one I have at the moment had pulled in 3 trailers from TVDB's API (see below image) But with the TV show I posted above, it's still only fetching one trailer from TVDB's API even though there are technically two available at the moment. I've submitted a removal request on their side to remove the old trailer but emby should still be detecting both trailers. It seems there is some internal cache on Emby's side between the TVDB/TMDB's API, if that makes sense. I just wondering if there is a specific way we need to clear/flush this so it can fetch new data again. Here is a working item that shows all 3 trailers (from EMBYS API) Edited July 25, 2025 by Adam_Kearn
Luke 42077 Posted July 25, 2025 Posted July 25, 2025 4 minutes ago, Happy2Play said: @Lukedo we use TVDB trailers at all? For movies we do actually, but we check the language set in tvdb and compare it against your preferred language. 1
Happy2Play 9780 Posted July 25, 2025 Posted July 25, 2025 (edited) 24 minutes ago, Adam_Kearn said: Hi, Yes, I understand that emby would normally attempt to play the first video but on Emby's internal API it normally fetches all the videos from those DB sources. For example, a working one I have at the moment had pulled in 3 trailers from TVDB's API (see below image) But with the TV show I posted above, it's still only fetching one trailer from TVDB's API even though there are technically two available at the moment. I've submitted a removal request on their side to remove the old trailer but emby should still be detecting both trailers. It seems there is some internal cache on Emby's side between the TVDB/TMDB's API, if that makes sense. I just wondering if there is a specific way we need to clear/flush this so it can fetch new data again. Here is a working item that shows all 3 trailers (from EMBYS API) Per TMDB Where if you want to get technical TVDB has language trailers so you would not get them all anyways for the same movie. So in this case "eHp3MbsCbMg" TVDB (eng) was already gotten from TMDB in my test. Edited July 25, 2025 by Happy2Play 1
Adam_Kearn 1 Posted July 25, 2025 Author Posted July 25, 2025 Hi Happy, On TVDB's API it's showing the correct link marked as "English" (the one that I corrected yesterday) But when emby fetches this data it still pulls in the wrong link if that makes sense. The correct link should end in "TKL" but emby is responding with "qmI" instead.
Happy2Play 9780 Posted July 25, 2025 Posted July 25, 2025 No idea but what is your metadata provider order? Here is what I got for Sick of it written in nfo file. <trailer>http://www.youtube.com/watch?v=pg0zj96jTLk</trailer> <trailer>http://www.youtube.com/watch?v=MgjRdSm_qmI</trailer> With metadata provider order
Happy2Play 9780 Posted July 25, 2025 Posted July 25, 2025 Okay retesting it came from TMDB and nothing from TVDB as enabling only TVDB pulled no trailer for TV. @Lukedoes this sound correct, no trailers for TV from TVDB? But can see the url in the tvdb cache metadata.
Adam_Kearn 1 Posted July 25, 2025 Author Posted July 25, 2025 (edited) 3 hours ago, Happy2Play said: With metadata provider order Thanks for the help so far with this issue. I've just checked, and I had all 3 metadata providers selected. (in the same order as yours) I've just disabled "The Open Movie Database" (with it still last in the list) After disabling it, I went to the TV show and did the "replace all metadata" button - and after a few seconds, queried the internal API for emby. This was now showing both trailer URLs, with the first link also being the correct URL now. (Which is now matching with the TVDB's API). It's a bit strange that, having this particular metadata provider, it seems to block the other 2 from updating? Do you think this could be an error in the code somewhere, possibly? It seems to ignore the order and only process 1 metadata provider. Edited July 25, 2025 by Adam_Kearn
Luke 42077 Posted July 26, 2025 Posted July 26, 2025 On 7/25/2025 at 1:47 PM, Happy2Play said: Okay retesting it came from TMDB and nothing from TVDB as enabling only TVDB pulled no trailer for TV. @Lukedoes this sound correct, no trailers for TV from TVDB? But can see the url in the tvdb cache metadata. We don't currently merge all trailers from all sources. It's from the first provider that returns at least one, based on order.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now