YAMJ / yamj-v2

Yet Another Movie Jukebox (YAMJ) v2
GNU General Public License v3.0
28 stars 11 forks source link

Better handling of regional releases #953

Open Omertron opened 9 years ago

Omertron commented 9 years ago

Original issue 954 created by Omertron on 2009-08-28T01:55:44.000Z:

I have a collection of non-US movies which are dubbed and re-released in the US (think anime titles). imdb does have alternative names, as well as listing of which actors/actresses are in what release. I would like to see the imdb scraping be a little smarter in this area with the ability to specify what language my movies are in.

For example: imdb.language=english imdb.location=US

when it comes across a movie with alternative names, look for the english, US or international title. Then when getting actors, make sure they are for the same region.

An example you can use is "Spirited Away" IMDB: http://www.imdb.com/title/tt0245429/

You'll see the difference in cast under: http://www.imdb.com/title/tt0245429/fullcredits

You'll find the alternative names with country they are from in: http://www.imdb.com/title/tt0245429/releaseinfo#akas

Of course, it would be a good addition if you add this to also support a way to override it in an nfo file.

Omertron commented 9 years ago

Comment #1 originally posted by Omertron on 2009-08-28T10:14:43.000Z:

<empty>

Omertron commented 9 years ago

Comment #2 originally posted by Omertron on 2010-10-07T19:08:52.000Z:

I also like this idea but my motivation is not the same.

In the last couple of days it seems there was some changes on IMDB side, because American movie titles started to appear in Hungarian. It is the situation in the web page, but also in YAMJ output. For example if I run YAMJ on Wall Street (1987), it will find the movie correctly, but will use the Hungarian title. (see attached screenshots)

I tried to cheat and change the regional settings in Windows 7 to US English, but no change.

(YAMJ version 2.1 r1796)

Omertron commented 9 years ago

Comment #3 originally posted by Omertron on 2010-10-07T19:59:30.000Z:

You can use "imdb.site=labs" to force the english titles for the time being

Omertron commented 9 years ago

Comment #4 originally posted by Omertron on 2010-10-13T19:31:33.000Z:

It is not working in my case.

I created a new line in the .properties file but I received this error message: "ImdbInfo: No site definition for labs using the default instead us" I changed back to "us", still getting the localized title.

BTW, I found some info on Imdb.com about this new "feature"

"Default Title Display: For users that are not logged into www.imdb.com, and as the default for our registered users who have not selected a preference - we will display the localized version of the title they are looking for based on their geo-location. Users in France will see the title as released in France." http://www.imdb.com/help/search?domain=helpdesk_faq&index=1&file=sitepreferences

Omertron commented 9 years ago

Comment #5 originally posted by Omertron on 2010-10-13T20:55:27.000Z:

This issue was updated by revision r1853.

Fixed error with using "labs" as the imdb.site

Omertron commented 9 years ago

Comment #6 originally posted by Omertron on 2011-04-26T22:50:02.000Z:

This issue was updated by revision r2299. You can now specify the HTTP request-header 'Accept-Language', which most web servers use to determine which language the response should be given in.