Conversation
|
Scraped three movies, all worked ok. Not a problem with the scraper, but seems to be a TMDB issue. |
|
I think we're all going to end up pulling out hair out trying to make sense of the senseless. Since The Movie DB insists that original language field is the language spoken by the home country of the production studio (seriously, WTF), we're trying to use a different field that doesn't tell us the predominant language spoken in the movie/TV show, it tells us all the languages anyone entered that are spoken. With no way to know which is the "right" answer, I suspect this field is going to end up wrong more than it's right. |
|
Also, they aren't necessarily alphabetical. In the GUI for The Movie Database, you can reorder the language listings in the "language spoken" field. So my bet is that the API lists them in whatever order people put them in. So it could be random, most spoken, first spoken, etc. There will be no rhyme nor reason to the list that will help us. So I guess we take the first one and hope for the best. Or we use the original language field and ignore the spoken language, which will just give us a different kind of unpredictable wrong. |
|
Maybe it would be less random to prioritize the languages spoken by the production when it's one of the languages spoken in the movie. Another clue could be the nationality of the lead actors (not always true of course). With a dose of AI, the language of the original title. Or get busy reordering the languages on the site :-) If the site admins won't budge on the meaning of the current fields, can a new one be added? |
Yep, tried that. I deleted the three languages, the added them as Italian, Chinese, English. |
|
Well, that does make spoken language significantly less useful then. We might need to just use the original language field and explain to folks when their Spanish language movie has an original language of Polish. |
|
Combining multiple pieces of information should be more reliable though not perfect of course. See my previous message. |
|
There is only one "original language" in TMDB, so we may as well just use that. The other options seem too techno-woo-woo for a scraper. Another way to look at this is that TMDB has an "original language" field and now we're adding the same field to Kodi, so let's use the same value. TMDB data is built by the community, this could be another reason to clarify the field's purpose. |
For new Kodi feature.
xbmc/xbmc#27187