quickmic 1703 Posted October 15, 2024 Posted October 15, 2024 Works: https://img.omdbapi.com/?i=tt13880104&apikey=fe53f97e https://www.omdbapi.com/?i=tt13880104&apikey=fe53f97e Works: https://www.omdbapi.com/?i=tt1996333&apikey=fe53f97e Issue: https://img.omdbapi.com/?i=tt1996333&apikey=fe53f97e Looks like a omdb bug, but probably add a workaround by getting images via www.omdbapi.com metadata and extract the image from there.
Happy2Play 9780 Posted October 15, 2024 Posted October 15, 2024 23 minutes ago, quickmic said: Looks like a omdb bug, but probably add a workaround by getting images via www.omdbapi.com metadata and extract the image from there. Even doing that you get different images in your example. But they have always been hit and miss when it come to images but metadata image usually works. image from metadata image from image.omdbapi.com. Don't know if they do something about language images that cause one to work as your none working example has no English image. from metadata 1
quickmic 1703 Posted October 15, 2024 Author Posted October 15, 2024 (edited) 11 minutes ago, Happy2Play said: Don't know if they do something about language images that cause one to work as your none working example has no English image. Probably yes, could be a language based "issue" or by design?. Imho a foreign based artwork is better than no artwork at all. That's why I recommend a workaround. Fallback to metdata when img.omdbapi.com returns a 404 Seems metadata returns the "original" language image. Edited October 15, 2024 by quickmic
Happy2Play 9780 Posted October 15, 2024 Posted October 15, 2024 20 minutes ago, quickmic said: That's why I recommend a workaround. Fallback to metdata when img.omdbapi.com returns a 404 I can see the workaround working from a OMDB only enabled provider standpoint but then see if failing if you have multiple providers enabled that could have the correct image as automatically falling back to metadata url would prevent going to next provider. But in this specific example TMDB has no image and media does not exist on TVDB so it would work out. 1
Luke 42077 Posted October 15, 2024 Posted October 15, 2024 The problem is that at the time these images are determined, we don't know yet if the url will end up returning a 404 or not, so that creates some challenge.
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