KiLMaN / T411-Torznab

A NodeJs proxy to download from T411 in Sonarr
26 stars 15 forks source link

Is IMDB a good idea? #36

Open foux opened 7 years ago

foux commented 7 years ago

Hi there,

IMDB as been added to movies search, that's great, but I wonder if it's the best idea. When searching with IMDB, Radarr sends only the IMDBID, and T411-Torznab will do an IMDB research to fetch the title name.

This would be great if T411 dealt with IMDBID, so we would just have to send the ID, but the problem is that... it doesn't. So we just send the french movie name to IMDBID (if you're on a french IP, the IMDB API sends name localized depending on your IP address). I see two problems with that :

So I'm really not seeing the point of the IMDB integration. For me it brings more problems than solutions. But maybe I'm missing something?

KiLMaN commented 7 years ago

As stated on #34 while t411 doesn't support imdb I cannot do much about it. For the language if radarr / sonarr is able to give the language the user has requested I should be able to get the name of the film for the desired language. I don't have any problems with imdb for the moment.

damru commented 7 years ago

Hi,

I was having the same issue, meaning french title was retrieved from IMDB and never found on T411. Only quick solution I got so far was, after npm install, to directly change the "node_modules/imdb/lib/movies.js" file in order to force en-US headers when requesting IMDB. request({headers: {'Accept-Language': 'en-US'}, uri: 'http://www.imdb.com/title/' + id + '/'}, function (error, response, body) But this way, same issue will happen if english title does not exist in T411.