xbmc / metadata.themoviedb.org.python

Other
46 stars 42 forks source link

ä,ö,ü - umlaute interpretation wrong when searching TMDB? #193

Open LukeV1 opened 1 year ago

LukeV1 commented 1 year ago

Hi!

While browsing the log files I ran into a problem I hadn't thought of before: I live in Germany and while we have the same Latin alphabet as the English language, we got a few extra letters, most important Ä, Ö, Ü (and ä, ö, ü).

Kodi and this scaper addon are totally fine with that, but TMDB is a bit pesky about them - and eats them only if they are formatted in a certain way. See here: TMDB Forum

This means with the current search formatting of this addon, films with names containing ä, ö, ü will not be found.

I added an example Log.txt as an attachment.

It should have found this TMDB movie, which is found when pasting the name detected by this addon ("Der Hundereinjährige der die Rechnung nicht bezahlte und verschwand") into the online search bar of TMDB. So I'm pretty sure the problem is in the formatting of the API call...

KarellenX commented 1 year ago

@LukeV1

If I type in Der Hundereinjährige der die Rechnung nicht bezahlte und verschwand into the website search, there are no results found.

You have named the movie in a language that is not available for that movie, with a name that is not listed for the movie.

As far as I can see, this is not a scraper problem, but an issue with incorrect naming of your movie.

tmdb404791

LukeV1 commented 1 year ago

Hmm. Okay, thats strange. Because when I type this (actually copied your bold text) I get a hit:

grafik


Oh! I just realized you were on the "en" search site - might this be the issue?

KarellenX commented 1 year ago

Hmmm, you are right, the German translation is there. I wonder if there has been a change at TMDB as I found the info on another page.

I'll test it a bit later today.