Jump to content

omdb images


Recommended Posts

Happy2Play
Posted
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

MV5BZDI3Y2I0MTEtNmQwNy00YjVkLWEzYTEtOWFjZmNjZDZmOWJkXkEyXkFqcGc@._V1_SX300.jpg.eab4acbffe6ab9fa73d48cf2df69bc55.jpg

image from image.omdbapi.com.

img.omdbapi.jpg.0ba575a8a79bd48c506b0e1f8af4ad32.jpg

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

MV5BMGZiZDg5OTItYTczYS00MjRlLWIwOTQtZTViMjg4YmEyODliXkEyXkFqcGdeQXVyMDk0Njg1Ng@@._V1_SX300.jpg.2bbce8f5095e57387030f6f9e8143190.jpg

  • Like 1
quickmic
Posted (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 by quickmic
Happy2Play
Posted
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.

 

  • Like 1
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...