Posts: 38
Joined: Mar 2018
Reputation:
4
2018-03-14, 10:58
(This post was last modified: 2018-10-30, 09:40 by olympia.)
I set my language in TMDB scraper settings. All other fields are fetched correctly in my language but the movie poster image is always in English. I see TMDB scraper in other applications can fetch movie poster image in correct languages. Can this be done in kodi TMDB scraper addon?
Posts: 38
Joined: Mar 2018
Reputation:
4
OK, I found the problem. My language is Chinese so I selected "zh-cn" in TMDB language settings. I can see from the log that the request TMDB add-on sent is "https://api.tmdb.org/3/movie/399055/images?api_key=92db8778ccb39d825150332b0a46061d&language=zh-cn&include_image_language=zh-cn,en,null" which returns posters all in English. I have to use "https://api.tmdb.org/3/movie/399055/images?api_key=92db8778ccb39d825150332b0a46061d&language=zh&include_image_language=zh,en,null" to get Chinese posters. That is to say, change "zh-cn" to "zh".
Posts: 3,204
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,204
Good catch! This will not going to be trivial to resolve. Not for the tmdb scraper; however I can/ will issue a fix for the Universal Scraper today/ tomorrow, so you can use that.
Posts: 38
Joined: Mar 2018
Reputation:
4
Who is the maintainer of TMDB? I still see the problem in the latest version.
Posts: 38
Joined: Mar 2018
Reputation:
4
Is that still necessary? As I already checked the log and found root cause: the language code "zh-cn" isn't supported by TMDB. Using it is just simply wrong.
Posts: 20,223
Joined: Apr 2017
Reputation:
1,341
Of course it is necessary.
Posts: 3,204
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,204
...and what's wrong with using UMS instead of TMDB scraper? It provides you 100% same functionality and more.
Posts: 38
Joined: Mar 2018
Reputation:
4
No, there is nothing wrong with UMS, except it seems a little slower than TMDB. I was just running another Kodi install and the TMDB is there by default.
Posts: 3,204
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,204
You can configure UMS to fetch info/ artwork only from TMDB and also run the search on TMDB instead of IMDB and then the speed should be exactly the same.