Jump to content

Non-English movies not fetching posters, OMDB returns blanks


Recommended Posts

JKjkJKjkJKjk
Posted (edited)

Pretty much any time I add a foreign film to my library it appears without a primary image. The rest of the metadata is usually fine*. I select the film then edit images > search for primary and I get only a blank result from The Open Movie Database. I have Source set to All and the All Languages option is toggled off (side question: is it possible to have this toggled on by default?). If I try clicking Open in new window on the Open Movie Database image I get a page with only "NotFound" in the corner. 

In Library Settings I have preferred metadata download language set to English, because that is my primary language. I have tried leaving this selection blank but there is no change. I don't have selections for Country or Preferred image download language set. For Movie Image Fetchers I have the following rank: TheMovieDB, The Open Movie Database, Screen Grabber, and FanArt. Unchecking The Open Movie Database here only results in blank search results (or in this specific case, a piece of FanArt). On these foreign films the TheMovieDB images only appear if I flip the All Languages toggle so it's ignoring my ranking and defaulting to a blank option.

How can I go about fixing this? Is there a way to have my primary image default to the English poster when available but if not then default to the film's original language? That info is already pulled in as part of the metadata. I don't know what other settings to manipulate. I can't change my preferred display language to 'none' and I'm taking a guess that maybe is the option causing this hiccup?

* My folder and file naming follows: English Title [Director, Year]/English Title [Director, Year].extension and I often get Emby choosing to instead grab the metadata for an English-language film with a somewhat similar title and often a decades different year instead. I guess this is just one of those quirks where it can't be perfect, but I do wish there was a way to make it work a little better when I'm so explicit in the information I'm giving it to match.

image.png

image.png

Edited by JKjkJKjkJKjk
GrimReaper
Posted (edited)

Hm, upon rereading not sure that your request:

Quote

Is there a way to have my primary image default to the English poster when available but if not then default to the film's original language?

can be fulfilled as there's no fallback language for artwork scraping AFAIK.

You could at least get posters in English by selecting so in "Preferred image download language". 

Quote

I don't have selections for Country or Preferred image download language set. Unchecking The Open Movie Database here only results in blank search results (or in this specific case, a piece of FanArt). On these foreign films the TheMovieDB images only appear if I flip the All Languages toggle so it's ignoring my ranking and defaulting to a blank option.

Likely because TMDB has no "No language" poster available for those, so IT IS respecting your Preferred image language which is None. Once you flip the switch, it shows all languages available. 

Edit: Yep.

1652391221_Screenshot2022-01-26210044.thumb.png.911f77ef9462bb08b63fcfe1249a1a36.png

Edited by GrimReaper
Screenshot
GrimReaper
Posted
29 minutes ago, JKjkJKjkJKjk said:

My folder and file naming follows: English Title [Director, Year]/English Title [Director, Year].extension and I often get Emby choosing to instead grab the metadata for an English-language film with a somewhat similar title and often a decades different year instead. I guess this is just one of those quirks where it can't be perfect, but I do wish there was a way to make it work a little better when I'm so explicit in the information I'm giving it to match.

Because Emby has only TITLE to go by, Year in that format means nothing so it's a hit-or-miss, and is not recommended naming convention as per KB:

Emby Movie Naming : Emby

For best results, you should rename those to something like: English Title (Year) [Director], for example.

JKjkJKjkJKjk
Posted
24 minutes ago, GrimReaper said:

Hm, upon rereading not sure that your request:

can be fulfilled as there's no fallback language for artwork scraping AFAIK.

You could at least get posters in English by selecting so in "Preferred image download language". 

Likely because TMDB has no "No language" poster available for those, so IT IS respecting your Preferred image language which is None. Once you flip the switch, it shows all languages available. 

I had a feeling that fallback option probably wasn't very realistic.

As for getting posters in English, I have no trouble with that. I see that I neglected to mention I do have English set as my preferred image download language and have only unchecked it to see if that would help this problem at all. The problem is films that don't have an English poster just default to this blank returned from TOMDB. With my preferred image download language set to English, this film shows with a blank box (returned from TOMDB) and when I go to manually change it, this is what I see:

image.thumb.png.64f5f3d3eb174a0ebceb698cb750428b.png

Fallback setting aside, could there just be a library setting to pull the whichever poster matches the film's language metadata? I think this would work quite well in most cases. At worst I would end up with the original French poster for a movie rather than an English version made after the fact (which I find preferable in the few cases where an English poster exists for a non-English movie) but I also wouldn't ever have to go manually fix blank images.

Or there's also my other small question/request, could I set the "all language" toggle to default on? Saves a click since I have to always flip it anyway when I'm manually updating the blank boxes for these non-English films.

 

1 minute ago, GrimReaper said:

Because Emby has only TITLE to go by, Year in that format means nothing so it's a hit-or-miss, and is not recommended naming convention as per KB:

Emby Movie Naming : Emby

For best results, you should rename those to something like: English Title (Year) [Director], for example.

Ah, gotcha, must have misremembered the year placement when I started this.

Happy2Play
Posted

OMDB does not have any language options.  But it is common to get blank or broken images from them.

I get a broken placeholder and it shows image not found.  As it is actual the OMDB image api.

image.png.321180f7a7ae26ecdc7683d55c20fced.png

https://img.omdbapi.com/?i=tt13880104&apikey=fe53f97e

Where the api call has a image url that isn't used.

{
"Title": "Happening",
"Year": "2021",
"Rated": "R",
"Released": "24 Nov 2021",
"Runtime": "100 min",
"Genre": "Drama",
"Director": "Audrey Diwan",
"Writer": "Marcia Romano, Audrey Diwan, Annie Ernaux",
"Actors": "Anamaria Vartolomei, Kacey Mottet Klein, Luàna Bajrami",
"Plot": "An adaptation of Annie Ernaux's eponymous novel, looking back on her experience with abortion when it was still illegal in France in the 1960s.",
"Language": "French",
"Country": "France",
"Awards": "5 wins & 8 nominations",
"Poster": "https://m.media-amazon.com/images/M/MV5BZDU4NTE3YTQtMzczMC00YzRkLWI5MjItNGE3NjQ0NTY4MzExXkEyXkFqcGdeQXVyODA0MjgyNzM@._V1_SX300.jpg",
"Ratings": [
{
"Source": "Internet Movie Database",
"Value": "7.4/10"
},
{
"Source": "Rotten Tomatoes",
"Value": "100%"
},
{
"Source": "Metacritic",
"Value": "81/100"
}
],
"Metascore": "81",
"imdbRating": "7.4",
"imdbVotes": "805",
"imdbID": "tt13880104",
"Type": "movie",
"tomatoMeter": "N/A",
"tomatoImage": "N/A",
"tomatoRating": "N/A",
"tomatoReviews": "N/A",
"tomatoFresh": "N/A",
"tomatoRotten": "N/A",
"tomatoConsensus": "N/A",
"tomatoUserMeter": "N/A",
"tomatoUserRating": "N/A",
"tomatoUserReviews": "N/A",
"tomatoURL": "https://www.rottentomatoes.com/m/happening",
"DVD": "21 Jun 2022",
"BoxOffice": "N/A",
"Production": "N/A",
"Website": "N/A",
"Response": "True"
}

 

Posted

Hi, how are your files named and organized?

Happy2Play
Posted

Also note there is no English poster.  As this is the image from OMDB per their json file.  But quering per their img request shows no image.

MV5BZDU4NTE3YTQtMzczMC00YzRkLWI5MjItNGE3

So this exmaple you only have no language from FanArt.tv or French, Italian, Russian, and Swedish from TMDB.  This is why when you select All languages you get the addition images from TMDB.

On 1/26/2022 at 11:36 AM, JKjkJKjkJKjk said:

If I try clicking Open in new window on the Open Movie Database image I get a page with only "NotFound" in the corner. 

You are getting the same results as I get but your display does not show the broken image like mine.  Seems to be a common issue for OMDB.

@Lukeis there a way to not show this broken request from OMDB?

2022-01-27 19:29:32.547 Info HttpClient: GET https://img.omdbapi.com/?i=tt13880104&apikey=‌fe53f97e‌
2022-01-27 19:29:34.110 Error Server: Error processing request
	*** Error Report ***
	Version: 4.7.0.21
	Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.22538
	Framework: .NET 6.0.0-rtm.21522.10
	OS/Process: x64/x64
	Runtime: C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\Media\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Media\AppData\Roaming\Emby-Server\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: NotFound
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at MediaBrowser.Api.Images.RemoteImageService.DownloadImage(String url, Guid urlHash, String pointerCachePath)
	   at MediaBrowser.Api.Images.RemoteImageService.Get(GetRemoteImage request)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

I am sure the OP server log will show the same.

Posted
47 minutes ago, Happy2Play said:

Also note there is no English poster.  As this is the image from OMDB per their json file.  But quering per their img request shows no image.

MV5BZDU4NTE3YTQtMzczMC00YzRkLWI5MjItNGE3

So this exmaple you only have no language from FanArt.tv or French, Italian, Russian, and Swedish from TMDB.  This is why when you select All languages you get the addition images from TMDB.

You are getting the same results as I get but your display does not show the broken image like mine.  Seems to be a common issue for OMDB.

@Lukeis there a way to not show this broken request from OMDB?

2022-01-27 19:29:32.547 Info HttpClient: GET https://img.omdbapi.com/?i=tt13880104&apikey=‌fe53f97e‌
2022-01-27 19:29:34.110 Error Server: Error processing request
	*** Error Report ***
	Version: 4.7.0.21
	Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.22538
	Framework: .NET 6.0.0-rtm.21522.10
	OS/Process: x64/x64
	Runtime: C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\Media\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Media\AppData\Roaming\Emby-Server\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: NotFound
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at MediaBrowser.Api.Images.RemoteImageService.DownloadImage(String url, Guid urlHash, String pointerCachePath)
	   at MediaBrowser.Api.Images.RemoteImageService.Get(GetRemoteImage request)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

I am sure the OP server log will show the same.

It would certainly be better to show some other kind of default placeholder.

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...