Custom titles doesn't work for some movies (1 Viewer)

Hogan77

Portal Member
October 13, 2010
43
6
Home Country
Sweden Sweden
I have some titles that doesn't get custom titles according to my xml file.

First movie is Jägarna( http://www.imdb.com/title/tt0116736/ ) second is Änglagård( http://www.imdb.com/title/tt0105916/ ).

Code:
<rename id="tt0116736" title="Jägarna" sortby="Jägarna 01" collection="Svensk Film" />
<rename id="tt0105916" title="Änglagård" sortby="Änglagård 01" collection="Svensk Film" />

Both movies get the English title which is the default setting in IMDb+. My custom xml gets ignored on these titles it seems. I have several other titles that get the correct titles according to my Custom xml file.

Here is the Moving pictures log when I send the two titles to the importer again.

Code:
01-Dec-2013 14:54:47 Debug [    DatabaseManager]: DELETING: The Hunters
01-Dec-2013 14:54:47 Debug [    DatabaseManager]: delete from movie_info where ID = 532
01-Dec-2013 14:54:47 Debug [    DatabaseManager]: Calling listeners for The Hunters
01-Dec-2013 14:54:48  Warn [    DatabaseManager]: Tried to delete an uncommited object...
01-Dec-2013 14:54:48  Info [        DBLocalMedia]: Removing '\\TOWER\Movies\Jagarna (1996)\Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv' and associated movie.
01-Dec-2013 14:54:48 Debug [    DatabaseManager]: DELETING: Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv
01-Dec-2013 14:54:48 Debug [    DatabaseManager]: delete from local_media where ID = 535
01-Dec-2013 14:54:48 Debug [    DatabaseManager]: Calling listeners for Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv
01-Dec-2013 14:54:48  Info [      MovieImporter]: User reprocessing Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv
01-Dec-2013 14:54:48  Info [          NfoBuilder]: Parsing NFO file: \\TOWER\Movies\Jagarna (1996)\Jägarna.1996.720p.BluRay.DTS.x264-ESiR.nfo
01-Dec-2013 14:54:55 Debug [          NfoBuilder]: ImdbID Found: tt0116736
01-Dec-2013 14:54:56 Debug [        ImdbBuilder]: Lookup Imdbid=tt0116736: Title='The Hunters', Year=1996
01-Dec-2013 14:54:56  Info [        ScraperNode]: ############################ IMDb+ Search Node ############################
01-Dec-2013 14:54:56 Debug [        ScraperNode]: IMDb+ Scraper: Direct match found for [tt0116736] as: 'Jägarna (1996)'
01-Dec-2013 14:54:56  Info [        ScraperNode]: ########################## IMDb+ Search Results ###########################
01-Dec-2013 14:54:56  Info [        ScraperNode]: # Search Folder  = Jagarna (1996)
01-Dec-2013 14:54:56  Info [        ScraperNode]: # Search File    = Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv
01-Dec-2013 14:54:56  Info [        ScraperNode]: # Search IMDb ID = tt0116736
01-Dec-2013 14:54:56  Info [        ScraperNode]: # Search Title  = The Hunters (1996)
01-Dec-2013 14:54:56  Info [        ScraperNode]: #
01-Dec-2013 14:54:56  Info [        ScraperNode]: # IMDb+ IMDb ID  = tt0116736 (Only showing first movie found)
01-Dec-2013 14:54:56  Info [        ScraperNode]: # IMDb+ Title    = Jägarna (1996)
01-Dec-2013 14:54:56  Info [        ScraperNode]: # IMDb+ Special  =
01-Dec-2013 14:54:56  Info [        ScraperNode]: ###########################################################################
01-Dec-2013 14:54:56 Debug [ DataProviderManager]: SEARCH: Title='The Hunters', Provider='IMDb+', Version=4.9.28, Number of Results=1
01-Dec-2013 14:54:56 Debug [      MovieSignature]: MATCHING: 'the hunters' WITH: 'Jägarna' RESULT: TitleScore=0, YearScore=0, ImdbMatch=True, AlternateTitleUsed=True, AlternateTitle='The Hunters', AutoApprove=True
01-Dec-2013 14:54:56 Debug [      MovieImporter]: Built MediaSignature: Path= "\\TOWER\Movies\Jagarna (1996)", Folder= "Jagarna (1996)", File= "Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv", Keywords= "The Hunters", Title= "The Hunters", Year= 1996, DiscId= "", MovieHash= "6579ea577f2cec99", ImdbId= "tt0116736"
01-Dec-2013 14:54:56  Info [      MovieImporter]: Auto-approved Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv as "Jägarna" (1996)
01-Dec-2013 14:54:56  Info [      MovieImporter]: Retrieving details for "Jägarna"
01-Dec-2013 14:54:56 Debug [    DatabaseManager]: INSERTING: Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv
01-Dec-2013 14:54:56  Info [        ScraperNode]: ############################ IMDb+ Detail Node ############################
01-Dec-2013 14:54:56  Info [        ScraperNode]: IMDb+ Scraper: Settings overruled via Options XML file
01-Dec-2013 14:54:56 Debug [        ScraperNode]: Using Cached Version of URL: http://akas.imdb.com/title/tt0116736/
01-Dec-2013 14:54:58 Debug [        ScraperNode]: Using Cached Version of URL: http://www.imdb.com/chart/top
01-Dec-2013 14:54:58  Info [        ScraperNode]: ###########################################################################
01-Dec-2013 14:54:58 Debug [ DataProviderManager]: UPDATE: Title='The Hunters', Provider='IMDb+', Version=4.9.28, Result=SUCCESS
01-Dec-2013 14:54:58  Info [        DBMovieInfo]: Added cover art for 'The Hunters' from: \\TOWER\Movies\Jagarna (1996)\folder.jpg
01-Dec-2013 14:54:58  Info [        DBMovieInfo]: Added backdrop for 'The Hunters' from: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{The.Hunters} [-1402513759].jpg
01-Dec-2013 14:54:58  Info [        DBMovieInfo]: Added backdrop for 'The Hunters' from: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{The.Hunters} [-1402513759].jpg
01-Dec-2013 14:54:58 Debug [    DatabaseManager]: INSERTING: DBUserMovieSettings ()
01-Dec-2013 14:54:58 Debug [    DatabaseManager]: INSERTING: The Hunters
01-Dec-2013 14:54:58 Debug [    DatabaseManager]: INSERTING: DBSourceMovieInfo [title='The Hunters',  identifier='tt0116736', provider='IMDb+']
01-Dec-2013 14:54:58 Debug [    DatabaseManager]: UPDATING: The Hunters
01-Dec-2013 14:54:58  Info [      MovieImporter]: Retrieving media information for: The Hunters
01-Dec-2013 14:54:58 Debug [        DBLocalMedia]: Updating media info for '\\TOWER\Movies\Jagarna (1996)\Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv'
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: inspecting media : \\TOWER\Movies\Jagarna (1996)\Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: FrameRate : 25
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: VideoCodec : v_mpeg4/iso/avc
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsH264: True
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: HasSubtitles : True
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: NumSubtitles : 1
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Scan type : progressive
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsInterlaced: False
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Width : 1280
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Height : 544
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Audiochannels : 6
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Audiorate : 48000
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AspectRatio : widescreen
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AudioCodec : dts
01-Dec-2013 14:54:59 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsDTS : True
01-Dec-2013 14:54:59 Debug [    DatabaseManager]: UPDATING: Jägarna.1996.720p.BluRay.DTS.x264-ESiR.mkv
01-Dec-2013 14:54:59  Info [      MovieImporter]: Added "The Hunters" (1996).
01-Dec-2013 14:56:00 Debug [    DatabaseManager]: DELETING: House of Angels
01-Dec-2013 14:56:00 Debug [    DatabaseManager]: delete from movie_info where ID = 1449
01-Dec-2013 14:56:00 Debug [    DatabaseManager]: Calling listeners for House of Angels
01-Dec-2013 14:56:00  Warn [    DatabaseManager]: Tried to delete an uncommited object...
01-Dec-2013 14:56:00  Info [        DBLocalMedia]: Removing '\\TOWER\Movies\Anglagard (1992)\Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv' and associated movie.
01-Dec-2013 14:56:00 Debug [    DatabaseManager]: DELETING: Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv
01-Dec-2013 14:56:00 Debug [    DatabaseManager]: delete from local_media where ID = 1473
01-Dec-2013 14:56:00 Debug [    DatabaseManager]: Calling listeners for Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv
01-Dec-2013 14:56:00  Info [      MovieImporter]: User reprocessing Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv
01-Dec-2013 14:56:00  Info [          NfoBuilder]: Parsing NFO file: \\TOWER\Movies\Anglagard (1992)\Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.nfo
01-Dec-2013 14:56:00 Debug [          NfoBuilder]: ImdbID Found: tt0105916
01-Dec-2013 14:56:00 Debug [        ImdbBuilder]: Lookup Imdbid=tt0105916: Title='House of Angels', Year=1992
01-Dec-2013 14:56:00  Info [        ScraperNode]: ############################ IMDb+ Search Node ############################
01-Dec-2013 14:56:02 Debug [        ScraperNode]: IMDb+ Scraper: Direct match found for [tt0105916] as: 'Änglagård (1992)'
01-Dec-2013 14:56:02  Info [        ScraperNode]: ########################## IMDb+ Search Results ###########################
01-Dec-2013 14:56:02  Info [        ScraperNode]: # Search Folder  = Anglagard (1992)
01-Dec-2013 14:56:02  Info [        ScraperNode]: # Search File    = Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv
01-Dec-2013 14:56:02  Info [        ScraperNode]: # Search IMDb ID = tt0105916
01-Dec-2013 14:56:02  Info [        ScraperNode]: # Search Title  = House of Angels (1992)
01-Dec-2013 14:56:02  Info [        ScraperNode]: #
01-Dec-2013 14:56:02  Info [        ScraperNode]: # IMDb+ IMDb ID  = tt0105916 (Only showing first movie found)
01-Dec-2013 14:56:02  Info [        ScraperNode]: # IMDb+ Title    = Änglagård (1992)
01-Dec-2013 14:56:02  Info [        ScraperNode]: # IMDb+ Special  =
01-Dec-2013 14:56:02  Info [        ScraperNode]: ###########################################################################
01-Dec-2013 14:56:02 Debug [ DataProviderManager]: SEARCH: Title='House of Angels', Provider='IMDb+', Version=4.9.28, Number of Results=1
01-Dec-2013 14:56:02 Debug [      MovieSignature]: MATCHING: 'house of angels' WITH: 'Änglagård' RESULT: TitleScore=0, YearScore=0, ImdbMatch=True, AlternateTitleUsed=True, AlternateTitle='House of Angels', AutoApprove=True
01-Dec-2013 14:56:02 Debug [      MovieImporter]: Built MediaSignature: Path= "\\TOWER\Movies\Anglagard (1992)", Folder= "Anglagard (1992)", File= "Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv", Keywords= "House Angels", Title= "House of Angels", Year= 1992, DiscId= "", MovieHash= "904e72f4084014ec", ImdbId= "tt0105916"
01-Dec-2013 14:56:02  Info [      MovieImporter]: Auto-approved Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv as "Änglagård" (1992)
01-Dec-2013 14:56:02  Info [      MovieImporter]: Retrieving details for "Änglagård"
01-Dec-2013 14:56:02 Debug [    DatabaseManager]: INSERTING: Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv
01-Dec-2013 14:56:02  Info [        ScraperNode]: ############################ IMDb+ Detail Node ############################
01-Dec-2013 14:56:02  Info [        ScraperNode]: IMDb+ Scraper: Settings overruled via Options XML file
01-Dec-2013 14:56:02 Debug [        ScraperNode]: Using Cached Version of URL: http://akas.imdb.com/title/tt0105916/
01-Dec-2013 14:56:03 Debug [        ScraperNode]: Using Cached Version of URL: http://www.imdb.com/chart/top
01-Dec-2013 14:56:03  Info [        ScraperNode]: ###########################################################################
01-Dec-2013 14:56:03 Debug [ DataProviderManager]: UPDATE: Title='House of Angels', Provider='IMDb+', Version=4.9.28, Result=SUCCESS
01-Dec-2013 14:56:04  Info [        DBMovieInfo]: Added cover art for 'House of Angels' from: \\TOWER\Movies\Anglagard (1992)\folder.jpg
01-Dec-2013 14:56:04  Info [        DBMovieInfo]: Added backdrop for 'House of Angels' from: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{House.of.Angels} [-379408465].jpg
01-Dec-2013 14:56:04  Info [        DBMovieInfo]: Added backdrop for 'House of Angels' from: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{House.of.Angels} [-379408465].jpg
01-Dec-2013 14:56:04 Debug [    DatabaseManager]: INSERTING: DBUserMovieSettings ()
01-Dec-2013 14:56:04 Debug [    DatabaseManager]: INSERTING: House of Angels
01-Dec-2013 14:56:04 Debug [    DatabaseManager]: INSERTING: DBSourceMovieInfo [title='House of Angels',  identifier='tt0105916', provider='IMDb+']
01-Dec-2013 14:56:04 Debug [    DatabaseManager]: UPDATING: House of Angels
01-Dec-2013 14:56:04  Info [      MovieImporter]: Retrieving media information for: House of Angels
01-Dec-2013 14:56:04 Debug [        DBLocalMedia]: Updating media info for '\\TOWER\Movies\Anglagard (1992)\Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv'
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: inspecting media : \\TOWER\Movies\Anglagard (1992)\Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: FrameRate : 25
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: VideoCodec : v_mpeg4/iso/avc
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsH264: True
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: HasSubtitles : True
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: NumSubtitles : 3
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Scan type : mbaff
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsInterlaced: False
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Width : 1920
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Height : 1080
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Audiochannels : 6
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Audiorate : 48000
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AspectRatio : widescreen
01-Dec-2013 14:56:04 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AudioCodec : flac
01-Dec-2013 14:56:04 Debug [    DatabaseManager]: UPDATING: Anglagard 1992 1080p REMUX AVC FLAC 5.1-LiPAN.mkv
01-Dec-2013 14:56:04  Info [      MovieImporter]: Added "House of Angels" (1992).
01-Dec-2013 14:56:18  Info [      MovieImporter]: Shutting Down Media Scanner Threads...
01-Dec-2013 14:56:19  Info [      MovieImporter]: Shutting Down Path Scanner Thread...
01-Dec-2013 14:56:19  Info [      MovieImporter]: Stopped MovieImporter
01-Dec-2013 14:56:19 Debug [    DatabaseManager]: UPDATING: DBSetting: Width = "636"
01-Dec-2013 14:56:19 Debug [    DatabaseManager]: UPDATING: DBSetting: Height = "691"
01-Dec-2013 14:56:19 Debug [    DatabaseManager]: UPDATING: DBSetting: X = "44"
01-Dec-2013 14:56:19 Debug [    DatabaseManager]: UPDATING: DBSetting: Y = "192"
01-Dec-2013 14:56:19  Info [      DeviceManager]: Removing all drives from Disk Watcher
01-Dec-2013 14:56:19  Info [      DeviceManager]: Stopping Disk Watcher...
01-Dec-2013 14:56:19  Info [      DeviceManager]: Successfully stopped Disk Watcher.
01-Dec-2013 14:56:19  Info [  MovingPicturesCore]: Stopping Background Processes...
01-Dec-2013 14:56:19  Info [    DatabaseManager]: Closing database connection...
01-Dec-2013 14:56:19  Info [    DatabaseManager]: Successfully closed Database: C:\ProgramData\Team MediaPortal\MediaPortal\Database\movingpictures.db3
01-Dec-2013 14:56:19  Info [  MovingPicturesCore]: Plugin Closed
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @Hogan77, at the top of the custom XML file there is a link to ensure/test your XML file does not contain XML syntax errors. If those exists the file is ignored and all custom rename entries are not made.

    Can you verify first if that is the case? To debug those type of issues you either have to exclude a lot of things manually or provide me with a scraper-debug enabled log file that is super large and shows each step of what the IMDb+ script goes through. The custom rename XML step is done at the very end and overrules everything else, so something is stopping it and need to figure out what.

    Test first if your file still passes XML syntax checks and if that fails, you will have to provide me scraper-debug enabled log files.

    Scraper-debug enabled log file activation steps == http://code.google.com/p/imdbplus/wiki/WikiInstallScraper

    Keep in mind that this causes like 1MB of logs *PER* movie, so only test clean on a single movie, or I will not be able to make much sense out of it due to the asynchrone nature of things.

    What we should have seen in the log you did provide is like the following:

    Info [ ScraperNode]: ############################ IMDb+ Detail Node ############################
    Info [ ScraperNode]: IMDb+ Scraper: Settings overruled via Options XML file
    Debug [ ScraperNode]: Using Cached Version of URL: http://akas.imdb.com/title/tt0105916/releaseinfo
    Debug [ ScraperNode]: IMDb+ Scraper: Movie collection set to '|Svensk Film|'
    Info [ ScraperNode]: IMDb+ Scraper: Title adjusted via Custom Rename XML for: tt0105916
    Info [ ScraperNode]: ###########################################################################​


    So I am curious what is blocking it from doing just that.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @Hogan77, k, narrowed it down:

    Code:
    01-Dec-2013 19:33:10 Debug [  ScraperNode]: executing retrieve: <retrieve name="file" file="C:\ProgramData\Team MediaPortal\MediaPortal\IMDb+\Rename dBase IMDb+ Scraper (Custom).xml" encoding="UTF-8" />
    01-Dec-2013 19:33:10 Debug [  ScraperNode]: Reading file: C:\ProgramData\Team MediaPortal\MediaPortal\IMDb+\Rename dBase IMDb+ Scraper (Custom).xml
    01-Dec-2013 19:33:10 Debug [  ScraperNode]: executing parse: <parse name="fileRename" input="${file}" regex="${rx_rename_check_prefix}${movie.imdb_id}${rx_rename_check_postfix}" />
    01-Dec-2013 19:33:10 Debug [  ScraperNode]: name: fileRename ||| pattern: <imdbplus>.+<rename[\t\s]+id="tt0105916"[\t\s]+(?:title="(?<renameTitle>[^"]+)")?(?:[\t\s]*collection="(?<renameCollection>[^"]+)")?(?:[\t\s]*sortby="(?<renameSortBy>[^"]+)")?[\t\s]*/> ||| input: [not logged due to size]
    01-Dec-2013 19:33:10 Debug [  ScraperNode]: Assigned variable: fileRename.count = 0

    Thankfully you added your syntax before and that is the reason. Regular expression is looking for <rename id="..." title="..." collection="..." sortby=".."> and you flipped the last two values causing it to fail finding a match.

    Need to define that better I guess.

    Swap them and see if that works.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    There is no need for foreign on custom XML system, because the title="..." is the final end-result, so a user who wants to list tiles as "English (Foreign)" or the otherway around can just do so as-is inside the title. That is actually when syntax started deviating from the default rename XML file, when the optional foreign title support for the default system was added. I just did not want to force users with extensive custom XMLs to re-edit their files when there was not really a need for it.

    So to be sure, the following is the only syntax supported for the custom rename XML:

    <rename id="..." title="..." collection="..." sortby="..." />
    • id = required
    • title = optional
    • collection = optional
    • sortby = optional
    Thankfully regular expressions allow me to make items optional, but it does not support flexibile locations with the knowledge I have. That is why your custom rename XML entries were all skipped as they failed to find a match.
     

    Users who are viewing this thread

    Top Bottom