Jump to content

Identify dialog picks a wrong thumbnail


Recommended Posts

Posted (edited)

Dear all,

When use "Identify" function/dialog (called from movie submenu) I have faced the following issues:

  • Thumbnails are now shown on "Search Results" step even though they are available in next step.
  • The thumbnail which I see on the screen on the last step is not assigned to the movie but instead a wrong thumbnail is assigned (which I have removed in the beginning of the video).

Log:

2022-09-24 02:39:48.433 Info Server: http/1.1 POST http://‌‍localhost‌:8096/emby/Items/RemoteSearch/Movie?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=a33b9643-f605-4324-8dc3-3617e4fef42f&X-Emby-Client-Version=4.7.6.0&reqformat=json. UserAgent: ...
2022-09-24 02:39:48.434 Info HttpClient: GET https://api4.thetvdb.com/v4/search?type=movie&q=Anastasia&year=1997
2022-09-24 02:39:48.791 Info App: MovieDbProvider: Finding id for item: Anastasia
2022-09-24 02:39:48.791 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=‌f6bd687ffa63cd282b6ff2c6877f2669‌&query=Anastasia&language=ru&year=1997
2022-09-24 02:39:48.939 Info HttpClient: GET https://private.omdbapi.com?apikey=‌fe53f97e‌&plot=full&r=json&y=1997&s=Anastasia&type=movie
2022-09-24 02:39:49.153 Info Server: http/1.1 Response 200 to ‌‍192.168.10.8. Time: 720ms. http://‌‍localhost‌:8096/emby/Items/RemoteSearch/Movi
e?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=a33b9643-f605-4324-8dc3-3617e4fef42f&X-Emby-Client-Version=4.7.6.0&reqformat=json
2022-09-24 02:39:55.156 Info Server: http/1.1 POST http://‌‍localhost‌:8096/emby/Items/RemoteSearch/Apply/1920?ReplaceAllImages=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=a33b9643-f605-4324-8dc3-3617e4fef42f&X-Emby-Client-Version=4.7.6.0&reqformat=json. UserAgent: ...
2022-09-24 02:39:55.156 Info App: Setting provider id's to item 1920-Анастасия: {"Tvdb":"933","IMDB":"tt0118617","Tmdb":"94"}
2022-09-24 02:39:55.562 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i file:"/mnt/fantec/Child/Анастасия (Anastasia) [1997].mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2022-09-24 02:39:55.947 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded
2022-09-24 02:39:55.959 Info HttpClient: GET https://api.themoviedb.org/3/movie/94?api_key=‌f6bd687ffa63cd282b6ff2c6877f2669‌&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers&language=ru&include_image_language=ru,null,en
2022-09-24 02:39:56.259 Info HttpClient: GET https://api.themoviedb.org/3/movie/94?api_key=‌f6bd687ffa63cd282b6ff2c6877f2669‌&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers&language=en&include_image_language=ru,null,en
2022-09-24 02:39:56.274 Info HttpClient: GET https://private.omdbapi.com?apikey=‌fe53f97e‌&i=tt0118617&plot=short&tomatoes=true&r=json
2022-09-24 02:39:57.092 Info HttpClient: GET https://api.themoviedb.org/3/movie/94?api_key=‌f6bd687ffa63cd282b6ff2c6877f2669‌&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers
2022-09-24 02:39:57.123 Info Server: http/1.1 Response 204 to ‌‍192.168.10.8. Time: 1969ms. http://‌‍localhost‌:8096/emby/Items/RemoteSearch/Apply/1920?ReplaceAllImages=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=a33b9643-f605-4324-8dc3-3617e4fef42f&X-Emby-Client-Version=4.7.6.0&reqformat=json
2022-09-24 02:39:57.684 Info HttpClient: GET https://image.tmdb.org/t/p/original/82CFTXepfmETr2C4n7ZlrpLyjAx.jpg

 

 

Edited by dma_k
Posted

Hi, the thumbnail you see in identify is just a preview and not the one you end up getting after you identify.

The one you end up getting is based on a combination of all of your library options.

Posted (edited)

OK, if you find it logical that preview thumbnail is not chosen and shown in the library, how can I choose exactly that thumbnail?

Edited by dma_k
Happy2Play
Posted
44 minutes ago, dma_k said:

OK, if you find it logical that preview thumbnail is not chosen and shown in the library, how can I choose exactly that thumbnail?

What is your metadata and image provider order?

 

But this is a defective provider link on TVDB as you see it has the wrong TMDB id, is should be 9444.  So your image provider order I suspect has TMDB first and that is why you get the wrong image.

Setting provider id's to item 1920-Анастасия: {"Tvdb":"933","IMDB":"tt0118617","Tmdb":"94"}

image.png.d864e4e4157aaff74bae26752626aeac.png

I corrected this wrong info on TVDB, but will take about 24 hours to propagate.

Posted
7 hours ago, dma_k said:

OK, if you find it logical that preview thumbnail is not chosen and shown in the library, how can I choose exactly that thumbnail?

The problem is that thumbnail comes from the search api from the provider. But then we also have our own image provider options that determine what image gets used.

Would it be better if we just didn't offer those options? What should win out here?

To answer the question, you can always use the manual image editor to download any image you wish.

Happy2Play
Posted
36 minutes ago, Luke said:

Would it be better if we just didn't offer those options?

I wouldn't think so as that would eliminate FanArt.tv completely, correct?

In the end this was defective provider metadata via their external links.  Only workaround here would be not depending on provider external links but then you are dependent on correct lookup on each provider site.

Posted

This does come up once in a while, so there's really only three choices:

  • Take away some image download options and then just use the one that came from the Identify search
  • Add some help text to the Identify dialog explaining the behavior
  • Update identify to use the image that came from search, thus eliminating these questions but creating new ones (e.g., why weren't my image settings respected).
Happy2Play
Posted
1 hour ago, Luke said:

Take away some image download options and then just use the one that came from the Identify search

From a manual Identify standpoint only use what you see would work.  But auto recognition would use library settings.

  • Thanks 1
Posted
On 9/24/2022 at 11:12 PM, Happy2Play said:

What is your metadata and image provider order?

image.png.33d97848fb011ff5d7e57e12a5853cfc.png

You're right, that is TheMovieDb that provided the wrong thumbnail. TheTVDB points to a correct cartoon, and it goes first, however its thumbnail was not picked up.

The rest of metadata was correct, only thumbnail was wrong.

On 9/24/2022 at 11:12 PM, Happy2Play said:

I corrected this wrong info on TVDB, but will take about 24 hours to propagate.

Great, but I have few move movies for which wrong thumbnails were chosen. Should I report them here?

What are in general the workaround steps? Remove TheMovieDb from the list of providers? Manual image upload is not fancy provided that the correct thumbnail is "known" to Emby.

On 9/25/2022 at 8:25 AM, Happy2Play said:

From a manual Identify standpoint only use what you see

I agree: at the end the move should be assigned the thumbnail shown to the user, otherwise it creates a confusion.

 

Happy2Play
Posted
3 hours ago, dma_k said:

Great, but I have few move movies for which wrong thumbnails were chosen. Should I report them here?

Yes as every situation can be different.  As the original issue was provider with bad data causing wrong image to come from your image provider order as Metadata and Image have their own order.  As your image above is only metadata, did you compare Image downloaders?

Posted (edited)
12 hours ago, Happy2Play said:

As your image above is only metadata, did you compare Image downloaders?

 Thanks for the hints. Indeed I have posted a wrong screenshot, image providers look like this:

image.png.b2e99ca72cd3f08a1c9406eeea088f9f.png

Now, what would be your advise? Push TheMovieDb down the list?

12 hours ago, Happy2Play said:

Yes as every situation can be different.

Here it goes:

The cartoon Star Wars: The Clone Wars is linked with A Matter of Resistance and gets a wrong thumbnail:
image.png.e1621185bb4bdc2a1c6518d1db04b293.png

The movie Mary Poppins Returns is linked with Things to Do in Denver When You're Dead:
image.png.48b1da6649bbc6149fc0a1f27849b66d.png

 

Edited by dma_k
Posted
2 hours ago, dma_k said:

 Thanks for the hints. Indeed I have posted a wrong screenshot, image providers look like this:

image.png.b2e99ca72cd3f08a1c9406eeea088f9f.png

Now, what would be your advise? Push TheMovieDb down the list?

Here it goes:

The cartoon Star Wars: The Clone Wars is linked with A Matter of Resistance and gets a wrong thumbnail:
image.png.e1621185bb4bdc2a1c6518d1db04b293.png

The movie Mary Poppins Returns is linked with Things to Do in Denver When You're Dead:
image.png.48b1da6649bbc6149fc0a1f27849b66d.png

 

That's entirely your decision based on where you would prefer images to come from. If you're not sure then I would suggest using the defaults.

Does that help?

Posted

The issue is not about that I get wrong thumbnails. It's about that I expect the thumbnails shown in "Identify" dialog to be applied to the video. What is the motivation that preview in "Identify" dialog is different from what is actually assigned to the video?

Happy2Play
Posted (edited)
3 hours ago, dma_k said:

The cartoon Star Wars: The Clone Wars is linked with A Matter of Resistance and gets a wrong thumbnail:
image.png.e1621185bb4bdc2a1c6518d1db04b293.png

Same as above TVDB has bad id for TMDB so you have to manually edit to proper id and replace image or change image provider order.  As that id is for the TV series not the movie. Corrected on TVDB.

Star Wars: The Clone Wars (TV Series 2008-2020) — The Movie Database (TMDB) (4194)

Star Wars: The Clone Wars (2008) — The Movie Database (TMDB) (12180)

3 hours ago, dma_k said:

Corrected on TVDB.

Mary Poppins Returns (2018) — The Movie Database (TMDB) (400650) 

I am guessing TVDB had database issues that changed there external link values as some of these half the digits were removed.

Edited by Happy2Play
Happy2Play
Posted
2 minutes ago, dma_k said:

What is the motivation that preview in "Identify" dialog is different from what is actually assigned to the video?

The api call present image from first metadata provider for Identify then during fetch gets image from first image provider.

Posted
1 hour ago, dma_k said:

The issue is not about that I get wrong thumbnails. It's about that I expect the thumbnails shown in "Identify" dialog to be applied to the video. What is the motivation that preview in "Identify" dialog is different from what is actually assigned to the video?

Identify uses the search API with the provider, and the image that you provide is what you see in the results. 

It could be something that is contradictory to your other image settings such as image language and other options. Is that what you want?

Posted
On 9/27/2022 at 7:02 PM, Luke said:

It could be something that is contradictory to your other image settings such as image language and other options. Is that what you want?

If there is a contradiction with other settings, then all possible alternatives could be displayed, sorted by preference. Then the user can then decide which thumbnail to apply to the movie.

On 9/27/2022 at 5:44 PM, Happy2Play said:

The api call present image from first metadata provider for Identify then during fetch gets image from first image provider.

I think that creates a confusion. Thanks for explaining that anyway.

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