I am unable to get US titles. (1 Viewer)

karakas

Portal Pro
April 17, 2008
100
6
Hi, I am currently reinstalling my HTPCs With MP 1.3, and I've run into some issues with IMDB+.

What I want from IMDB+ is to have US titles for everything besides Norwegian, Danish and Swedish titles, but at the moment I am getting the title that IMDB shows when I look the movie up on imdb.com not the US title.

Examples are:

"A Good Year" 2006 http://www.imdb.com/title/tt0401445/ is returned as "Ett godt år (2006) as A Good Year"

"Chocolat" 2000 http://www.imdb.com/title/tt0241303/ is returned as "Sjokolade (2000)"

"Crouching tiger, hidden dragon" (2000) http://www.imdb.com/title/tt0190332/ is returned as "Snikende tiger, skjult drage" (2000)






This is the content of my "Options IMDb+ Scraper" file:

Code:
<imdbplus>
  <set id="01" name="global_options_original_title" value="false" />
  <set id="02" name="global_options_foreign_title" value="false" />
  <set id="03" name="global_options_foreign_first" value="false" />
  <set id="04" name="global_options_uk_rating" value="false" />
  <set id="05" name="global_options_imdb_score" value="false" />
  <set id="06" name="global_options_imdb_metascore" value="true" />
  <set id="07" name="global_options_long_summary" value="true" />
  <set id="08" name="global_options_rotten_meter" value="false" />
  <set id="09" name="global_options_rotten_average" value="false" />
  <set id="10" name="global_options_rotten_top_critics" value="false" />
  <set id="11" name="global_options_special_edition" value="true" />
  <set id="12" name="global_options_rename_titles" value="true" />
  <set id="13" name="global_options_single_score" value="true" />
  <set id="14" name="global_options_min_imdb_votes" value="true" />
  <set id="15" name="global_options_refresh_all_fields" value="true" />
  <set id="16" name="global_options_one_writer_director" value="false" />
  <set id="17" name="global_options_remove_first_roman" value="false" />
  <set id="18" name="global_options_fix_missing_summary" value="false" />
  <set id="94" name="global_options_english_movie_rating" value="01" />
  <set id="95" name="global_options_secondary_en_title" value="true" />
  <set id="96" name="global_options_secondary_summary" value="true" />
  <set id="97" name="global_options_secondary_details" value="07" />
  <set id="98" name="global_options_country_filter" value="us|ca|gb|ie|au|nz|no|se|dk" />
  <set id="99" name="global_options_language_filter" value="en|no|sv|da" />
</imdbplus>

Logs added
 
Last edited:

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    That is unfortunatly starting to become an impossible setup now with the new way IMDb website works :(

    IMDb does not make it easy on me to know when a title is an original Norwegian movie or when it is an English title translated into Norwegian.

    I'm still looking into ways to make this work, but for now your best bet is to use the following setup:

    Remove "|no|se|dk" from countries and "|no|sv|da" from languages. This will ensure all titles are English (well it should).

    By enabling the foreign title option, you can then get "English title (Norwegian title)" to show, or switch it around to "Norwegian title (English title)" if you prefer that for sort order (MovPic searching will work on both titles).

    The other way would be to add those Norwegian movies to the custom rename database, which is the last step taken, so this unfortunatly means manual work, but you only have to do it once.

    And if I make a breakthrough in detecting the actual movie title language from IMDb site, I will release an update and let you know.
     

    karakas

    Portal Pro
    April 17, 2008
    100
    6
    Ah thank you, it used to work that way when I last did and import so I got a bit dazzled. Thanks for clearing it up.

    edit: Still getting Norwegian titles
     
    Last edited:

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Ah thank you, it used to work that way when I last did and import so I got a bit dazzled. Thanks for clearing it up.

    edit: Still getting Norwegian titles

    Just to be sure, during import on green circle, it is ok for non-English titles to appear, as long as they auto-approve. Then details-node takes over and puts a white checkmark inside the green circle and it should then show the corrected English title.

    If that all still fails, then please provide me the http://www.imdb.com/title/tt1234567 page for that movie that fails, as well as http://akas.imdb.com/title/tt1234567 and http://www.imdb.com/title/tt1234567/releaseinfo
     

    karakas

    Portal Pro
    April 17, 2008
    100
    6
    For "A Good Year" I'm getting "Ett godt år" (the Norwegian title) after the checkmark is in place.

    For Chocolat I'm getting "Sjokolade" as "Chocolat" (sjokolade is the Norwegian title) after the checkmark is in place and it shows up with "Sjokolade" under both "Title" and "Sort By" in the Movie Manager tab.


    Chocolat:

    http://www.imdb.com/title/tt0241303/ -> http://pastebin.com/ExFYeFTu
    http://akas.imdb.com/title/tt0241303/ -> http://pastebin.com/eZBxQZHY
    http://www.imdb.com/title/tt0241303/releaseinfo - http://pastebin.com/ZTKtCZSY


    A Good Year:

    http://akas.imdb.com/title/tt0401445/ -> http://pastebin.com/CQa3NTCR
    http://www.imdb.com/title/tt0401445/ -> http://pastebin.com/PcwDYeHB
    http://www.imdb.com/title/tt0401445/releaseinfo -> http://pastebin.com/esBYaAJZ


    The title IMDB+ assigns to the movies is the same as I see when I look it up on IMDB.com
     
    Last edited:

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    For Chocolat I'm getting "Sjokolade" as "Chocolat" (sjokolade is the Norwegian title) after the checkmark is in place and it shows up with "Sjokolade" under both "Title" and "Sort By" in the Movie Manager tab.

    Can you please enable scraper-debug logging and re-import (send back to importer from movingpictures config details tab) just one of those movies.

    The movingpictures.log file will be large in size then, so be sure to disable the scraper-debug mode after you are done.

    ZIP the log file up and attach it on here please.

    Instructions on how to enable scraper-debug logging at: http://code.google.com/p/imdbplus/wiki/WikiInstallScraper
     

    karakas

    Portal Pro
    April 17, 2008
    100
    6
    For Movingpictures.zip I deleted the log file just before sending the film back to the importer

    For Movingpictures2.zip I deleted the log file just before opening MovingPictures,

    Not sure which you wanted so went with both.
     

    Attachments

    • movingpictures.zip
      31.8 KB
    • movingpictures2.zip
      38.9 KB
    Last edited:

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    For Movingpictures.zip I deleted the log file just before sending the film back to the importer

    First one was enough.

    Spotted the problem.

    You have the option "Original Title" enabled. This then bypasses the force-English title search, and it accepts 'Et godt år' as the title, because IMDb website reports it as such (it doesn't allow me to detect it is a translated title, though I have not given up on finding a solution to that problem yet).

    All the files you have provided should show me a better insight in finding a better solution, as I can compare it to other foreign user results and the USA version I get myself. Hidden inside all the IMDb info should be a way to detect when a title is translated and when it is original. In worst case I can add a proxy request via my own webserver in the mix, because it is located in the US the IMDb page gives me the right English results then. Then if US-IMDb title differs from users-IMDb title I will know translation is occuring.

    PS: You probably assumed that you had to enable "original title" option, because when you go to the IMDb website it shows the English title as such. The problem is that they totally changed the way this shows, so I'm going to have to rewrite the explanation on that part. When you look at the USA-IMDb website then the 'original title' refers to non-English titles, so the IMDb+ description is meant for that situation. Now with IMDb translating titles it takes on a whole complex meaning. The problem is that for IMDb+ I need to figure out if I'm looking at the USA-IMDb website result, or say Norwegian-IMDb result. Once I got that figured out (and I've got a few new ideas, based on some tests), then I can look at the next step.

    To that extend please help me get the Norwegian-IMDb results with the HTML sources on the following movies:


    If you can save those 10 files as HTML file and ZIP them up as attachment, then all I have to do is find the time to develop a new detection system (y)
     

    karakas

    Portal Pro
    April 17, 2008
    100
    6
    Thank you that did it.

    And here are the files, if you need anything else let me know.
     

    Attachments

    • IMDB.zip
      285 KB
    Last edited:

    Users who are viewing this thread

    Top Bottom