PDA

View Full Version : No Filminformation if the filmname have german special characters


Zippolighter
2007-06-16, 15:29
If a film name have german special characters "ä, ü, ö" it is not possible to get film information via the ofdb

For an example: Der Grüne Bogenschütze or Tödlich Nähe

In the debug log is shown:

14:23:48 M: 39305216 INFO: Get URL: http://www.ofdb.de/view.php?SText=grüne+bogenschütze&Kat=Titel&page=suchergebnis&sourceid=mozilla-search
14:23:52 M: 39239680 ERROR: IMDB: Unable to parse web site
14:23:52 M: 39301120 ERROR: IMDb::Error looking up movie Grüne Bogenschütze

If I change the german special characters from "ü" to "ue" Gruene Bogenschuetze the entry isn´t found in the ofdb test it via a pc and the ofdb Website.

Thanks for your help

jmarshall
2007-06-17, 01:26
The link given in the Get URL debug line doesn't appear to get any info, so that's not really suprising that it couldn't parse the site.

How can you alter the link in your post so that it does return the info (i.e. is it a charset encoding issue?)

sho
2007-06-17, 02:22
This one works
http://www.ofdb.de/view.php?SText=gr%FCne+bogensch%FCtze&Kat=Titel&page=suchergebnis&sourceid=mozilla-search
The URL encoding seems to be borked.

jmarshall
2007-06-17, 04:07
Yeah - interestingly enough, if I hover over the links in Firefox, they both show up identically. XBMC will be passing the filename as UTF8 - perhaps the resulting string needs to be something else?

Zippolighter
2007-06-24, 12:44
Thanks for the first analysis.

But for my understanding is it a problem from XBMC and it possible to change in some of the next versions or is it a problem from the OFDB, or for other coherences.

Is it a workaround available for me to get the information from the ofdb.

Now I put the information from the ofdb manually in NFO-Files but this behavior is complex if you have many films with names included special characters.

PANIC!
2007-07-24, 19:54
Same problem here. I replaced ü with u and the search succeded. So when there is a dirname with ue (which means ü) search in ofdb does not succeed. Maybe changing this with some kind of regex like replacing ü with u for imdb searches because imbd search is smart enough to get the right info,,,,