Posts: 221
Joined: Jun 2018
Reputation:
1
mrob
Senior Member
Posts: 221
Hmm. Is there a way to override this behavior, or set multiple languages?
From what you're saying, I can only get posters in English, i.e., Japanese, French, Italian, Polish, etc. won't download.
If it's not possible to change this, it's hugely inconvenient. :/
Posts: 221
Joined: Jun 2018
Reputation:
1
mrob
Senior Member
Posts: 221
2021-02-02, 07:44
(This post was last modified: 2021-02-02, 07:45 by mrob.)
Thanks for clarifying this. The issue I see here is that there are countless films for which there is only a poster in the original language. The way the scrapers work now, posters for these films must all be downloaded and set up manually.
I looked at the TMDB API and it seems the query parameter for language is optional for both /movie/{movie_id} and /movie/{movie_id}/images.
I'm assuming it returns JSON array that contains file_paths, not actual poster objects, and that if no language parameter is set, it will just return everything.
It seems like it should only require one API call to /movie/{movie_id} and /movie/{movie_id}/images to get all the data to build the poster URLs. The actual posters don't need to be downloaded yet.
What about a setting in the scraper to just default to the first available poster? In that way, no language settings would need to be used.
Posts: 221
Joined: Jun 2018
Reputation:
1
mrob
Senior Member
Posts: 221
I see. Well, that might cover the case I'm facing too. It seems like it used to get posters for everything, but then after an upgrade it stopped working.
If I can provide any other data, please let me know.
Posts: 221
Joined: Jun 2018
Reputation:
1
mrob
Senior Member
Posts: 221
Thanks for this.
Question: how should I load it in? I tried updating the add-on and now it's Team Kodi - 1.3.1+matrix.1 — is this what I want?
I tried refreshing a movie with a poster that wouldn't load before, but it's still not working.