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

maximm

Portal Member
July 24, 2011
21
3
ygAHkMt.png


The movie is identified as Titta han snackar! as "Se han snakker" which is swedish title with norwegian in parenthesis.

When trying to retreive data import crashes

2bC6CKX.png


Is imported with Swedish title

XML:
<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="true" />
  <set id="06" name="global_options_imdb_metascore" value="false" />
  <set id="07" name="global_options_long_summary" value="false" />
  <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="false" />
  <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="false" />
  <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="true" />
  <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="01" />
  <set id="98" name="global_options_country_filter" value="us|ca|gb|ie|au|nz" />
  <set id="99" name="global_options_language_filter" value="en|sv" />
</imdbplus>

If a registry hack would solve my problem i'm all for it! I guess it involves changing the language the browser is setting?
Confirmed using 4.5.3 as under Data sources.

HgNnc6E.png


4XSeZiO.png
 
Last edited:

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @maximm so it still doesn't work for you with v4.5.3? Because it seems to work fine again for @vpupkin.

    It is indeed still an issue inside search node, because my "convert to English titles" IMDb+ system does not kick in until details node. And yes, modifying the HTTP Language that MovPic uses to 'fetch' the data from imdb.com would fix it. Yours is using "sv" and then the titles from IMDb are all in Swedish (actually been able to reproduce that myself inside Internet Explorer). I did not have time yet to confirm if MovPic uses the same registry setting though, but since MePo/MovPic is .NET framework based, more then likely it relies on trident rendering engine to do HTTP scraping (same one Internet Explorer uses).

    And those screenshots are nice, but for me to really fix things I would need to see movingpictures.log files. They show the exact same info as your screenshot, but add the extra info I need to actually fix it. The default "info" log mode verbosity is not enough to fix it normally, so I've modified IMDb+ to add additional logging myself via "######" entries. To see more on what MovPic is doing behind the scene and for me to find out where it goes wrong "debug" log mode verbosity (configured inside MePo config) is more towards what I need. If the problem turns out to be in the regular expression code (as it was to fix the bugs I did with v4.5.3), then I might need "scraper debug mode" enabled inside MovPic as well, but this is last resort and requires special care during importing or the log files are still useless to me (ensure all other background tasks are done and then import only *one* movie, or adjust movpic advanced settings to 1 thread).

    If I find some idle time during work today I will look into testing my HTTP Language registry adjustment, to see if it impacts MovPic scraping system. If I'm able to make it fail for me by switching to "sv" language, then we should be able to make it work for you by switching to "en".
     
    Last edited:

    maximm

    Portal Member
    July 24, 2011
    21
    3
    09-Feb-2013 12:19:58 Info [FollwitBackgroundPro]: Removing Den siste gunfightern from follw.it collection
    09-Feb-2013 12:19:58 Warn [ DatabaseManager]: Tried to delete an uncommited object...
    09-Feb-2013 12:19:58 Info [ MovieImporter]: User reprocessing The.Shootist.1976.720p.WEB-DL.AAC2.0.H.264-CtrlHD.mkv
    09-Feb-2013 12:19:59 Info [ ScraperNode]: ############################ IMDb+ Search Node ############################
    09-Feb-2013 12:20:00 Info [ ScraperNode]: ########################## IMDb+ Search Results ###########################
    09-Feb-2013 12:20:00 Info [ ScraperNode]: # Search Folder = The.Shootist.1976.720p.WEB-DL.AAC2.0.H.264-CtrlHD
    09-Feb-2013 12:20:00 Info [ ScraperNode]: # Search File = The.Shootist.1976.720p.WEB-DL.AAC2.0.H.264-CtrlHD.mkv
    09-Feb-2013 12:20:00 Info [ ScraperNode]: # Search IMDb ID =
    09-Feb-2013 12:20:00 Info [ ScraperNode]: # Search Title = The Shootist (1976)
    09-Feb-2013 12:20:00 Info [ ScraperNode]: #
    09-Feb-2013 12:20:00 Info [ ScraperNode]: # IMDb+ IMDb ID = tt0075213 (Only showing first movie found)
    09-Feb-2013 12:20:00 Info [ ScraperNode]: # IMDb+ Title = Den siste gunfightern (1976)
    09-Feb-2013 12:20:00 Info [ ScraperNode]: # IMDb+ Special =
    09-Feb-2013 12:20:00 Info [ ScraperNode]: ###########################################################################
    09-Feb-2013 12:20:00 Info [ MovieImporter]: Auto-approved The.Shootist.1976.720p.WEB-DL.AAC2.0.H.264-CtrlHD.mkv as "Den siste gunfightern" (1976)
    09-Feb-2013 12:20:00 Info [ MovieImporter]: Retrieving details for "Den siste gunfightern"
    09-Feb-2013 12:20:00 Info [ ScraperNode]: ############################ IMDb+ Detail Node ############################
    09-Feb-2013 12:20:00 Info [ ScraperNode]: IMDb+ Scraper: Settings overruled via Options XML file
    09-Feb-2013 12:20:00 Info [ ScraperNode]: ###########################################################################
    09-Feb-2013 12:20:01 Info [ FileBasedResource]: Added resized cover art for "Den siste gunfightern" from: http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/qKiWdhRiGvJsjoIpGiKV3s18Ak1.jpg
    09-Feb-2013 12:20:01 Info [ FileBasedResource]: Added cover art for "Den siste gunfightern" from: http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/tL4nWu3EZ16kLii4iTKir4AYg0C.jpg
    09-Feb-2013 12:20:01 Info [ FileBasedResource]: Added resized cover art for "Den siste gunfightern" from: http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/rCo1nevgAUOB8cH6oOJSdTOqVf.jpg
    09-Feb-2013 12:20:01 Info [ DBMovieInfo]: Added backdrop for 'Den siste gunfightern' from: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{Den.siste.gunfightern} [737349406].jpg
    09-Feb-2013 12:20:01 Info [FollwitBackgroundPro]: Adding Den siste gunfightern to follw.it Collection
    09-Feb-2013 12:20:01 Info [ MovieImporter]: Retrieving media information for: Den siste gunfightern
    09-Feb-2013 12:20:01 Info [ MovieImporter]: Added "Den siste gunfightern" (1976).


    ---------------------

    Is that everything you need? I ran the script in debug mode, with only this task done.
     
    Last edited:

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Is that everything you need? I ran the script in debug mode, with only this task done.

    Nope, that just confirms it goes wrong for you, but we already knew that.

    Need MovPic scraper-debug logs. It's an extra setting, explained at: http://code.google.com/p/imdbplus/wiki/WikiInstallScraper

    Please zip up the entire movingpictures.log file and attach it in a reply, doing the same single-step as you did so the log file isn't filled with confusing data (it is best to wait a while for MovPic to finish all its background tasks before you do the re-import of "The Shootist" movie).

    At the same time you could look at the registry value for the language of "Internet Explorer", and if that indeed shows "sv", you could change that to see if that solves it for you. I still like to fix it inside IMDb+ so it will work without applying such drastic measures, but it might also end up to be the only solution.
     

    maximm

    Portal Member
    July 24, 2011
    21
    3
    I tried changing the language in IE, but that made no difference for me. Current User/Software/MS/IE/International/AcceptLanguage set to en-GB through IE settings.

    Enablding the script debug mode does nothing for me. MovPic says its active, but no additional info is logged. Tried restarting all components.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    If the little green bug icon shows, but the log file does not become super huge (after re-importing the test movie), then something really weird is going on.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I'm working on a solution via 3 different approaches.

    1. MovPic developer will add HTTP Language support to the <retrieve> node -- ticket = http://code.google.com/p/moving-pictures/issues/detail?id=1115 (it has already been accepted, so not sure if additional 'stars' are needed, but it will allow you to keep auto-informed on it)
    2. I've got all the details and scraper-debug log files I need from @HomeY to figure out a workaround if possible
    3. Will setup a proxy script on my server to ensure imdb.com delivers English data for IMDb+ to use

    All 3 will fix it, with #1 being a waiting game, and #2 I'm gonna work on in my free time when I can and #3 I got planned for this weekend if all fails.
     

    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
    1K
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    494
    thank you Sir, issue is definitely resolved now, i uninstalled the problematic MSE altogether, plus i also now have optimized EPG grabbing configuration, thanks again for all the assistance, wow so much faster on everything now that MSE is out of the picture...MP WAF is now restored and FetchTV STB sits in the corner collecting dust :)
    thank you Sir, issue is definitely resolved now, i uninstalled the problematic MSE altogether, plus i also now have optimized EPG...
    Long time MP user, and recently upgraded to MP1.34, prior to this upgrade, i have for many years successfully used MP with fast and...
    Replies
    20
    Views
    2K
    • Sticky
    MP1 MP2 [News] MediaPortal 2 - 2.5 Release DE
    Well just tried that. Chose TV Channels and clicked "Clear". All channels cleared then did a rescan. What a shitshow! All channel number mappings a total mess: STV as Channel 1, W as Channel 18, BBC channels way down the list. Thanks for trying to help but this software, for me, is just a mess. Appreciate all the time you have...
    Well just tried that. Chose TV Channels and clicked "Clear". All channels cleared then did a rescan. What a shitshow! All...
    We are proud to present MediaPortal 2.5 MediaPortal 2.5 is a full-blown media center software that addresses most common user...
    Replies
    76
    Views
    10K
    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
    Top Bottom