Swedish/Foreign titles still used when IMDb+ is configured to use English ones (1 Viewer)

maximm

Portal Member
July 24, 2011
21
3
I'm getting most titles in Swedish again. Is that normal? What am i doning wrong? All settings are set to only fetch english data.
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Moved your post to its own thread, because it will require more information.

    The problem is that IMDb detects you are on a Swedish IP and wants to give you Swedish titles. I've created a lot of logic inside IMDb+ to compensate for this, but it only works if IMDb keeps their website alone. Unfortunatly they tend to make little adjustments left & right and sometimes that breaks IMDb+. This was revealed not too long ago, for which I was forced to release v4.5.1 to fix (and then v4.5.2 for an issue with Dutch language).

    So the key is to find out what changed.

    First step is for me to get a HTML source copy from a movie page that is giving you issues. A movie that I know for sure has a Swedish IMDb title entry is "Ice Age 4", so lets use that for testing. Please for now open http://www.imdb.com/title/tt1667889/ in your browser and view the source and copy and paste it to a website such as paste2.org (or attach it as text file in here).
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    http://paste2.org/p/2822925

    Here ya go.

    Thanks for the support!

    Does IMDB+ have a donation link?

    Donation link at: http://code.google.com/p/imdbplus/ (also on forum here, but easier to spot on google project, and much appreciated)

    Will have to look at your HTML source later, been up all night working and need to get some sleep first. Hopefully I can figure out a solution with what you provided, and otherwise will ask you for more steps to take to assist me. Will figure it out one way or another :)
     

    vpupkin

    Portal Pro
    March 26, 2011
    84
    8
    Hi RoChess, I think there is a bigger issue. I can confirm that it seems that all foreign titles are shown as foreign, no English names are picked up. E.g. I used to have 'City on Fire (Cidade de Deus)', and now it shows up as 'Cidade de Deus' only. This used to work for all my movies (and I have tons of these with dual names), and a few days ago I noticed that new movies (e.g. 'The Raid: Redemption' show up only as their foreign names - in this case, 'Serbuan maut'). Did a re-scan of the whole collection (stupid...), and now all foreign titles have foreign-only names.

    I am in Canada, so geolocation should not be an issue.

    Thanks!
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I am in Canada, so geolocation should not be an issue.

    It's the HTTP Language accept setting that the trident engine is using.

    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International]
    "AcceptLanguage"="en"
    I've got a feeling your OS is the French version then (or some other non English one) and trident engine is not using the English language as primary setting making IMDb adjust to whatever language you do have set to accept.

    Can you please verify? Use http://blixy.net/mp/check/ and get me the results from Internet Explorer.

    Before I was always able to compensate for this, but with these new changes from IMDb, I'll either have to rewrite all that, or create a fix.reg file that will adjust the correct registry key(s) to force-English titles. At least until the option to adjust the HTTP Language via MovPic gets implemented.

    The way IMDb+ works now is that it looks for Country=USA and Language=English on the details page of the movie. If that is set, then the "title" is accepted as English *unless* it has (Original title: ....) as well. If that is the case, then it uses the AKA title page to find out the English title. The problem is that if the AKA page doesn't find a proper match the initial title is acepted as-is. So either IMDb does not have a proper English AKA title on the movies that failed, or they changed the system. So I like to find out both, as I really do not want to have to end up forcing users to install a registry fix if I can avoid it.
     

    vpupkin

    Portal Pro
    March 26, 2011
    84
    8
    Nope, no French here ;) It is possible that iMDB changed something, they certainly have proper titles for all (well, most of) the movies that I have. As I said, iMDB+ stopped working for ALL the movies that it used to work fine with before.

    IMDb+ HTTP Language check

    <p><div class="warning"><img src="img/check.error.png" width="30" height="30" alt="" />The following checks rely on JavaScript to make the result look pretty.<br />Since you are reading this, your browser either does not have JavaScript support or you disabled it.</div></p>
    OS reported by browser:
    os.win.png

    Browser engine:
    browser.ie.png

    Browser W3C:
    check.valid.png

    Browser HTML 5:
    check.valid.png

    Browser flash installed:
    check.valid.png
    (v11.5.502)
    Adobe website reports new version as: v11.5.502.146
    That makes your installed flash plugin verified as being up-to-date:
    check.valid.png

    User cookies enabled:
    check.valid.png

    Display resolution: 1280 × 1024


    Additional techical details:
    • HTTP Language: en-US,ru;q=0.5
    • HTTP User-agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Ok, when IMDb added all those tracking links at first it only seemed to break actors/writer/director, but it also broke a ton of other things in IMDb+ that I did not notice at first.

    Original title, English title correction, foreign title detection, certain genres, and cover images

    So I think I fixed it all, please try v4.5.3
     

    Users who are viewing this thread

    Similar threads

    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because the movie list is splitted into chunks of a specified size and responses for each chunk are concentrated into the result list :) private async Task<string> GenerateResponseWithGPT(string searchQuery...
    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because...
    Hi, I'm planning to write a plugin for MediaPortal 2, that supports users to find the right media items with help of AI...
    Replies
    6
    Views
    958
    • Sticky
    MP1 MP2 [News] MediaPortal 2 - 2.5 Release DE
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    We are proud to present MediaPortal 2.5 MediaPortal 2.5 is a full-blown media center software that addresses most common user...
    Replies
    70
    Views
    5K
    Ok. Thanks again :)
    Ok. Thanks again :)
    Been using MediaPortal for some years, haven't used the Video Database until now though. Have some newbie questions. 1. Grabber to...
    Replies
    12
    Views
    3K
    MP1 MP2 MP2 - V2.4 MediaPortal 2 - 2.4 Release DE
    Good job, nice release as usual (y)
    Good job, nice release as usual (y)
    We are proud to present MediaPortal 2.4 MediaPortal 2.4 is a full-blown media center software that addresses most common user...
    Replies
    5
    Views
    3K
    MediaPortal 2 has no mouse settings, those are controlled by Windows. You need to change it in your Windows mouse settings.
    MediaPortal 2 has no mouse settings, those are controlled by Windows. You need to change it in your Windows mouse settings.
    The TV Guide schedule will only scroll with keyboard up and down arrows and not the mouse wheel. Why is this the case? The Live TV...
    Replies
    4
    Views
    2K
    Top Bottom