themoviedb non latin characters and utf,win

Any questions? Need some help?
Post Reply
Aikidyst
Posts: 4
Joined: 10 Nov 2012, 10:58

themoviedb non latin characters and utf,win

Post by Aikidyst » 10 Nov 2012, 11:14

Hello.
I have an question related support of uncicode non latin filenames at win7.
first of all :
C:\Windows\system32>chcp.com 65001
Active code page: 65001 to be sure that java works normally with unicode.

some test sample (strange things colored red):
So i have file: "Путешествие 2 Таинственный остров.2012.mkv"
And exception from moveidb (internal server error 500) as result.


"C:\Program Files\FileBot\filebot.cmd" --action test -rename "D:/Download/Movies/test/"
Filename pattern: [0.00] SxE, [0.00] CWS
Rename movies using [TheMovieDB]
Looking up movie by filehash via [TheMovieDB]
TheMovieDB: Hash lookup not supported
Auto-detect movie from context: [D:\Download\Movies\test\Путешествие 2 Таинственный остров.2012.BDRip.720p.mkv]тров.2012.BDRip.720p.mkv]mkv]
IOException: Server returned HTTP response code: 500 for URL: http://api.themovi
edb.org/3/search/movie?query=%D0%BF%D1%83%D1%82%D0%B5%D1%88%D0%B5%D1%81%D1%82%D0
%B2%D0%B8%D0%B5+2+%D1%82%D0%B0%D0%B8%D0%BD%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D
1%8B%D0%B9+%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B2+2012&language=en&api_key=5a6edae
568130bf10617b6d45be99f13
java.io.IOException: Server returned HTTP response code: 500 for URL: http://api
.themoviedb.org/3/search/movie?query=%D0%BF%D1%83%D1%82%D0%B5%D1%88%D0%B5%D1%81%
D1%82%D0%B2%D0%B8%D0%B5+2+%D1%82%D0%B0%D0%B8%D0%BD%D1%81%D1%82%D0%B2%D0%B5%D0%BD
%D0%BD%D1%8B%D0%B9+%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B2+2012&language=en&api_key
=5a6edae568130bf10617b6d45be99f13

Query string from my point of view looks ok.
as it's the same when i just use
http://www.themoviedb.org/search?query= ... %B2+2012#0
and got normal result back.

so may be somebody can point me somewhere :)
thanks.

User avatar
rednoah
The Source
Posts: 18659
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: themoviedb non latin characters and utf,win

Post by rednoah » 10 Nov 2012, 12:04

Must be an error in TheMovieDB API.

I get an 500 server error for this:
http://api.themoviedb.org/3/search/movi ... d45be99f13

This however works fine, just modified the query a little bit:
http://api.themoviedb.org/3/search/movi ... d45be99f13


Only the TheMovieDB people can fix this. Please report the problem in their forums. ;)
:idea: Please read the FAQ and How to Request Help.

Aikidyst
Posts: 4
Joined: 10 Nov 2012, 10:58

Re: themoviedb non latin characters and utf,win

Post by Aikidyst » 10 Nov 2012, 13:20

thanks for reply. turned my mind on. ;)
Looks like moviedb has problem with length limit for query string.
afer removing just one char will help api work. - strange limit for 180char :)
so, posted question there.

User avatar
rednoah
The Source
Posts: 18659
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: themoviedb non latin characters and utf,win

Post by rednoah » 10 Nov 2012, 14:53

Yeah, seems like the query parameter is limited to that. Not sure if I should work around that or let them (TMDb API) fix the problem. I doubt there's any english title that'll break the limit so it's not a priority for me.
:idea: Please read the FAQ and How to Request Help.

Aikidyst
Posts: 4
Joined: 10 Nov 2012, 10:58

Re: themoviedb non latin characters and utf,win

Post by Aikidyst » 10 Nov 2012, 19:56

so let's see what moviedb will do with that, they havw opened ticket.
http://www.themoviedb.org/talk/509e52ba760ee35285000bf1

Aikidyst
Posts: 4
Joined: 10 Nov 2012, 10:58

Re: themoviedb non latin characters and utf,win

Post by Aikidyst » 26 Jan 2013, 11:55

closed. as the themoviedb guys fixed it.

Post Reply