fscorrupt / Posterizarr

🖼️ Automated poster maker for Plex/Jellyfin/Emby.
GNU General Public License v3.0
155 stars 12 forks source link

[BUG] Not downloading the first poster if it is marked "Primary" on TMDB #150

Closed MossyGreen closed 3 weeks ago

MossyGreen commented 3 weeks ago

Describe the bug Posterizarr skips posters marked as primary and instead downloads the first poster not marked "Primary". Note: the language setting is "en" and the favorite provider it TMDB .

For example, the first poster for the movie 'Deadpool & Wolverine (2024)' has a check mark next to "Primary?". Posterizarr does not download that poster and instead skips it and downloads the second poster. Deadpool & Wolverine;"Movie";"Deadpool & Wolverine (2024)";"Movies";"en";"false";"false";"https://image.tmdb.org/t/p/original/jbwYaoYWZwxtPP76AZnfYKQjCEB.jpg";"https://www.themoviedb.org/movie/533535/images/posters"

However, for the movie 'Woman of the Hour (2024)', the first poster does not have a check mark next to it (I believe there is no primary poster set). Posterizarr will download this poster. Woman of the Hour;"Movie";"Woman of the Hour (2024)";"Movies";"en";"false";"false";"https://image.tmdb.org/t/p/original/nc9ZqrJFbcUdlMg9lxXXtJb24jU.jpg";"https://www.themoviedb.org/movie/835113/images/posters"

edit: Upon further investigation, I noticed that it may not have anything to do with the "Primary" indicator.

The first poster for another movie, 'Cold War (2018)', was downloaded as I would hope, despite the "Primary" checkmark. Cold War;"Movie";"Cold War (2018)";"Movies";"en";"false";"false";"https://image.tmdb.org/t/p/original/6rbS8oPIgUMhQgIX8oGVTtlNgLR.jpg";"https://www.themoviedb.org/movie/440298/images/posters"

So at this point I see no pattern, but it is not downloading the poster that I would expect.

To Reproduce Run posterizarr for a movie that has a primary poster.

Expected behavior I would expect it to download the primary poster, unless there is some disqualifying criteria (i.e. a different language is selected).

fscorrupt commented 3 weeks ago

hey, please add the logfile and your redacted config file so i can check if you have an config issue. As there is an Config setting under Api part for this: image

MossyGreen commented 3 weeks ago

Sorry about that, I'm sure that's the issue. I didn't realize there was a rating system, but after you mentioned that setting I logged in and sure enough the thumbs up/down appeared. Thanks for your help.