XMBC Scraper - Does it work? (1 Viewer)

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    For any scraper help you need to provide scraper-debug log files (the little green bug icon needs to be enabled). Check FAQ for this.

    And be sure to keep log files as small as possible, so only import ONE movie, or it becomes a headache trying to make sense of the asynchronous import process.
     

    BlueBomber

    Portal Member
    February 1, 2010
    30
    0
    Home Country
    United States of America United States of America
    Hey - sorry that it took me so long to reply. I was out of town. I'll do the 1 movie at a time thing and get the appropriate log files hopefully sometime tonight.

    Thanks!
     

    BlueBomber

    Portal Member
    February 1, 2010
    30
    0
    Home Country
    United States of America United States of America
    Hey RoChess -

    I enabled debug mode, deleted my database and my old logs, and then added a single movie.

    Here is the resulting log:

    08-Mar-2010 17:47:39 Debug [ DatabaseManager]: INSERTING: \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark
    08-Mar-2010 17:47:39 Info [ MovieImporter]: Shutting Down Media Scanner Threads...
    08-Mar-2010 17:47:39 Info [ MovieImporter]: Shutting Down Path Scanner Thread...
    08-Mar-2010 17:47:39 Info [ MovieImporter]: Stopped MovieImporter
    08-Mar-2010 17:47:39 Info [ MovieImporter]: Started MovieImporter
    08-Mar-2010 17:47:39 Info [ MovieImporter]: Initiating full scan on watch folders.
    08-Mar-2010 17:47:39 Info [ MovieImporter]: Started watching '\\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark' (Network) - Path is now being monitored for changes.
    08-Mar-2010 17:47:39 Debug [ DBImportPath]: Scanning: \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark
    08-Mar-2010 17:47:39 Debug [ DBImportPath]: New File: VIDEO_TS.IFO
    08-Mar-2010 17:47:40 Debug [VideoFormatExtension]: Identifier: Path='\\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark\VIDEO_TS\VIDEO_TS.IFO', Format='DVD', Hash='316c3f2bde1b482d'
    08-Mar-2010 17:47:40 Info [ FileSyncProcess]: File maintenance started in the background.
    08-Mar-2010 17:47:40 Info [DatabaseMaintenanceM]: Checking for invalid file entries in the database.
    08-Mar-2010 17:47:40 Info [DatabaseMaintenanceM]: Removed 0 file entries.
    08-Mar-2010 17:47:40 Info [ FileSyncProcess]: File maintenance finished. (0 seconds)
    08-Mar-2010 17:47:41 Info [ NfoBuilder]: Parsing NFO file: \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark\movie.nfo
    08-Mar-2010 17:47:41 Debug [ NfoBuilder]: ImdbID Found: tt0082971
    08-Mar-2010 17:47:42 Debug [ ImdbBuilder]: Lookup Imdbid=tt0082971: Title='Raiders of the Lost Ark', Year=1981
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: Assigned variable: rx_file_check = (?<genres><movie>)
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: Assigned variable: filename = \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark\VIDEO_TS
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: executing retrieve: <retrieve name="file" file="${filename}.nfo" encoding="UTF-8" />
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: File does not exist: \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark\VIDEO_TS.nfo
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: Assigned variable: file =
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: executing parse: <parse name="fileCheck" input="${file}" regex="${rx_file_check}" />
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: name: fileCheck ||| pattern: (?<genres><movie>) ||| input:
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: Assigned variable: fileCheck.count = 0
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: Parse node returned no results... <parse name="fileCheck" input="${file}" regex="${rx_file_check}" />
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: executing if: <if test="${fileCheck[0][0]}!="><parse name="result" input="${file}" xpath="//movie" /><set name="movie[0].title" value="${result[0].title}" /><!-- by setting the alternative title to the search title we garantee a match--><set name="movie[0].alternate_titles" value="|${search.title}|" /><set name="movie[0].year" value="${result[0].year}" /><set name="movie[0].popularity" value="100" /><!-- we set the filename as the site id --><set name="movie[0].site_id" value="${filename}" /></if>
    08-Mar-2010 17:47:42 Debug [ ScraperNode]: if node left value: right value:
    08-Mar-2010 17:47:42 Debug [ DataProviderManager]: SEARCH: Title='Raiders of the Lost Ark', Provider='XBMC (Local)', Version=1.0.2, Number of Results=0
    08-Mar-2010 17:47:42 Debug [ MovieImporter]: Built MediaSignature: Path= "\\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark", Folder= "Indiana Jones - I - Raiders of The Lost Ark", File= "VIDEO_TS.IFO", Keywords= "Raiders Lost Ark", Title= "Raiders of the Lost Ark", Year= 1981, DiscId= "316c3f2bde1b482d", MovieHash= "", ImdbId= "tt0082971"
    08-Mar-2010 17:47:42 Info [ MovieImporter]: No exact match for Indiana Jones - I - Raiders of The Lost Ark
    08-Mar-2010 17:47:46 Info [ MovieImporter]: Shutting Down Media Scanner Threads...
    08-Mar-2010 17:47:47 Info [ MovieImporter]: Shutting Down Path Scanner Thread...
    08-Mar-2010 17:47:47 Info [ MovieImporter]: Stopped MovieImporter
    08-Mar-2010 17:47:47 Info [ DeviceManager]: Stopping Disk Watcher
    08-Mar-2010 17:47:47 Info [ DeviceManager]: Clearing all drives from Disk Watcher
    08-Mar-2010 17:47:47 Info [ MovingPicturesCore]: Plugin Closed

    I wonder if the issue is this line:

    File does not exist: \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark\VIDEO_TS.nfo

    Do I need to rename all of my movie.nfo files to VIDEO_TS.nfo?

    Also, the movie.nfo file is not in the same level as the .IFO file that it is finding. It is instead one directory above (is that the right terminology?) the .ifo file.
     

    Knives03

    Portal Pro
    March 6, 2009
    103
    2
    Ok what I have done here was completely removed a movie from my database then unignored it and closed out of MovingPictures so it starts fresh.
    1. You're going to see me add the movie via the default method which is with XBMC.
    2. Then I'm going to set the 'AutoApprove only for Primary Scraper' to False so that it can handle and auto approve files that are not already in my share with an nfo file.
    3. I'm then going to send the file back to the importer so that it gets reimported.
    4. You should see it pull from IMDB even though there's a perfectly good nfo file sitting there.

    Keep in mind that my XBMC scraper (1.0.2) has been set as my primary scraper this entire time.

    I have tested this same scenario and have seen the same results. It keeps trying to default to the IMDB source for the initial match, but it does list the XBMC local scraper in the drop down list for possible matches. It's detecting the XBMC scraper, but it is not defaulting to it when I have it set as the primary scraper in the manual data sources.
     

    BlueBomber

    Portal Member
    February 1, 2010
    30
    0
    Home Country
    United States of America United States of America
    So I renamed the .nfo file from 'movie.nfo' to 'VIDEO_TS.nfo', and then tried to import the movie into the database.

    The movie was found, but it didn't appear to import any data. I'm going to keep troubleshooting.

    Is this scraper working successfully for everybody else?
     

    nicx

    Portal Pro
    February 1, 2006
    387
    12
    Stuttgart
    Home Country
    Germany Germany
    AW: XMBC Scraper - Does it work?

    hi,

    for me its not working, too. there is no movie recognized. i have all movies in a own folder with a movie.nfo in it, the scraper dont find a nfo file.

    if i change the movie.nfo to <movietitle>.nfo the file is found by the scraper, but its not working. here is the log:

    12-Mar-2010 07:41:47 Debug [ ScraperNode]: executing retrieve: <retrieve name="file" file="${filename}.nfo" encoding="UTF-8" />
    12-Mar-2010 07:41:47 Debug [ ScraperNode]: Reading file: D:\Videos\Filme\Baby Mama\Baby Mama.nfo
    12-Mar-2010 07:41:47 Debug [ ScraperNode]: executing parse: <parse name="fileCheck" input="${file}" regex="${rx_file_check}" />
    12-Mar-2010 07:41:47 Debug [ ScraperNode]: name: fileCheck ||| pattern: (?<genres><movie>) ||| input: <?xml version="1.0" encoding="utf-8"?>
    <movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <id>tt0871426</id>
    <title>Baby Mama</title>
    <originaltitle>Baby Mama</originaltitle>
    <year>2008</year>
    <rating>6.1</rating>
    <votes>14,998</votes>
    <mpaa>Rated PG-13 for crude and sexual humor, language and a drug reference.</mpaa>
    <outline>Die charmante Kate hat sich selbst eine gesundheitsbewusste und durchorganisierte Erfolgsgeschichte geschrieben, der sie nun mit 37 Jahren endlich auch...</outline>
    <plot>Die charmante Kate hat sich selbst eine gesundheitsbewusste und durchorganisierte Erfolgsgeschichte geschrieben, der sie nun mit 37 Jahren endlich auch ein warmherziges Mutterschafts-Kapitel hinzufügen will und es für sich als notwendig ansieht. Das laute Ticken ihrer biologischen Uhr nützt dabei allerdings genauso wenig wie ihr Uterus, der eine Schwangerschaft so wahrscheinlich wie einen Lottogewinn macht, und das verheißt ganz und gar nichts gutes für ihre Vorhaben...</plot>
    <tagline>Would you put your eggs...in this basket?</tagline>
    <genre>Komödie</genre>
    <studio>Broadway Video</studio>
    <runtime>99 min | USA:99 min</runtime>
    <releasedate>20.11.2008</releasedate>
    <director>Michael McCullers</director>
    <credits>WGA (writer) / Michael McCullers (writer) / Kay Cannon (producer) / co-producer (producer) / John Goldwyn (producer) / producer (producer) / Ryan Kavanaugh (producer) / executive producer (producer) / Jill Sobel Messick (producer) / executive producer (producer) / Lorne Michaels (producer) / producer (producer) / Louise Rosner (producer) / executive producer (producer) / Jeff Richmond (music by)</credits>
    <actor>
    <name>Tina Fey</name>
    <role>Kate Holbrook</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTY2NzExNDg2NF5BMl5BanBnXkFtZTcwNzMzMzkxMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Amy Poehler</name>
    <role>Angie Ostrowiski</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTg1NDM1NTg4Ml5BMl5BanBnXkFtZTcwNjI5OTY0Mg@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Greg Kinnear</name>
    <role>Rob Ackerman</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTc1MTMxNzIxM15BMl5BanBnXkFtZTcwOTY0NjQxMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Dax Shepard</name>
    <role>Carl Loomis</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTI5MzM1NzE5M15BMl5BanBnXkFtZTcwMjE2MjM3MQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Romany Malco</name>
    <role>Oscar</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTMyOTU2MTk5MF5BMl5BanBnXkFtZTcwMjc0ODAzMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <fileinfo>
    <streamdetails>
    <video>
    <width>720</width>
    <height>576</height>
    <codec>mpeg2</codec>
    <duration>1h 47mn</duration>
    <aspect>1.778</aspect>
    <scantype>Progressive</scantype>
    </video>
    <audio>
    <language>deu</language>
    <longlanguage>German</longlanguage>
    <codec>mpeg audio</codec>
    <channels>2</channels>
    </audio>
    <audio>
    <language>eng</language>
    <longlanguage>English</longlanguage>
    <codec>mpeg audio</codec>
    <channels>2</channels>
    </audio>
    <audio>
    <language>deu</language>
    <longlanguage>German</longlanguage>
    <codec>ac3</codec>
    <channels>2</channels>
    </audio>
    <subtitle>
    <language>deu</language>
    <longlanguage>German</longlanguage>
    </subtitle>
    </streamdetails>
    </fileinfo>
    <sets />
    </movie>
    12-Mar-2010 07:41:47 Debug [ ScraperNode]: Assigned variable: fileCheck.count = 0
    12-Mar-2010 07:41:47 Debug [ ScraperNode]: Parse node returned no results... <parse name="fileCheck" input="${file}" regex="${rx_file_check}" />
    12-Mar-2010 07:41:47 Debug [ ScraperNode]: executing if: <if test="${fileCheck[0][0]}!="><parse name="result" input="${file}" xpath="//movie" /><set name="movie[0].title" value="${result[0].title}" /><!-- by setting the alternative title to the search title we garantee a match--><set name="movie[0].alternate_titles" value="|${search.title}|" /><set name="movie[0].year" value="${result[0].year}" /><set name="movie[0].popularity" value="100" /><!-- we set the filename as the site id --><set name="movie[0].site_id" value="${filename}" /></if>
    12-Mar-2010 07:41:47 Debug [ ScraperNode]: if node left value: right value:
    12-Mar-2010 07:41:47 Debug [ DataProviderManager]: SEARCH: Title='Baby Mama', Provider='XBMC (Local)', Version=1.0.1, Number of Results=0
    12-Mar-2010 07:41:47 Debug [ MovieImporter]: Built MediaSignature: Path= "D:\Videos\Filme\Baby Mama", Folder= "Baby Mama", File= "Baby Mama.ts", Keywords= "Baby Mama", Title= "Baby Mama", Year= 0, DiscId= "", MovieHash= "aa61ff2203827ec4", ImdbId= ""
    12-Mar-2010 07:41:47 Info [ MovieImporter]: No exact match for Baby Mama.ts

    regards,
    nicx...
     

    Jocker_Boy

    Portal Pro
    December 9, 2008
    196
    3
    Lisbon
    Home Country
    Portugal Portugal
    Hello.
    I'm having a problem. I'm trying to update my database only with XBMC Scrapper, i have one folder for each movie and i have: "folder.jpg; backdrop.jpg; movie.nfo", and i select only XBMC Scraper, and for the cover and backdrops i select only Local Data.
    And i have created my *.nfo files by:

    1. Ember Media Manager:

    This is the MovingPictures.log:

    06-May-2010 22:32:40 Debug [ DatabaseManager]: INSERTING: F:\Filmes\Road to Perdition (2002)
    06-May-2010 22:32:40 Info [ MovieImporter]: Shutting Down Media Scanner Threads...
    06-May-2010 22:32:40 Info [ MovieImporter]: Shutting Down Path Scanner Thread...
    06-May-2010 22:32:40 Info [ MovieImporter]: Stopped MovieImporter
    06-May-2010 22:32:40 Info [ MovieImporter]: Started MovieImporter
    06-May-2010 22:32:40 Info [ MovieImporter]: Initiating full scan on watch folders.
    06-May-2010 22:32:40 Info [ MovieImporter]: Started watching 'F:\Filmes\Road to Perdition (2002)' (Fixed) - Path is now being monitored for changes.
    06-May-2010 22:32:40 Debug [ DBImportPath]: Scanning: E:\
    06-May-2010 22:32:40 Info [ DBImportPath]: Skipping scan for 'E:\': the drive is empty.
    06-May-2010 22:32:40 Debug [ DBImportPath]: Scanning: I:\
    06-May-2010 22:32:40 Info [ DBImportPath]: Skipping scan for 'I:\': the drive is empty.
    06-May-2010 22:32:40 Debug [ DBImportPath]: Scanning: F:\Filmes\Road to Perdition (2002)
    06-May-2010 22:32:40 Debug [ DBImportPath]: Drive='F:', Label='My Book (Anime)', Serial='E81E9467'
    06-May-2010 22:32:40 Debug [ DBImportPath]: New File: Road to Perdition (2002.720p.bluray).mkv
    06-May-2010 22:32:41 Debug [VideoFormatExtension]: Identifier: Path='F:\Filmes\Road to Perdition (2002)\Road to Perdition (2002.720p.bluray).mkv', Format='File', Hash='b28d86c115cafba5'
    06-May-2010 22:32:41 Info [ FileSyncProcess]: File maintenance started in the background.
    06-May-2010 22:32:41 Info [DatabaseMaintenanceM]: Checking for invalid file entries in the database.
    06-May-2010 22:32:41 Info [DatabaseMaintenanceM]: Removed 0 file entries.
    06-May-2010 22:32:41 Info [ FileSyncProcess]: File maintenance finished. (0 seconds)
    06-May-2010 22:32:42 Info [ NfoBuilder]: Parsing NFO file: F:\Filmes\Road to Perdition (2002)\Road to Perdition (2002.720p.bluray).nfo
    06-May-2010 22:32:42 Debug [ NfoBuilder]: ImdbID Found: tt0257044
    06-May-2010 22:32:43 Debug [ ImdbBuilder]: Lookup Imdbid=tt0257044: Title='Road to Perdition', Year=2002
    06-May-2010 22:32:43 Debug [ ScraperNode]: Assigned variable: rx_file_check = (?<genres><movie>)
    06-May-2010 22:32:43 Debug [ ScraperNode]: Assigned variable: filename = F:\Filmes\Road to Perdition (2002)\Road to Perdition (2002.720p.bluray)
    06-May-2010 22:32:43 Debug [ ScraperNode]: executing retrieve: <retrieve name="file" file="${filename}.nfo" encoding="UTF-8" />
    06-May-2010 22:32:43 Debug [ ScraperNode]: Reading file: F:\Filmes\Road to Perdition (2002)\Road to Perdition (2002.720p.bluray).nfo
    06-May-2010 22:32:43 Debug [ ScraperNode]: executing parse: <parse name="fileCheck" input="${file}" regex="${rx_file_check}" />
    06-May-2010 22:32:43 Debug [ ScraperNode]: name: fileCheck ||| pattern: (?<genres><movie>) ||| input: <?xml version="1.0" encoding="utf-8"?>
    <movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <title>Road to Perdition</title>
    <originaltitle>Road to Perdition</originaltitle>
    <id>tt0257044</id>
    <year>2002</year>
    <releasedate>12-07-2002</releasedate>
    <rating>7.8</rating>
    <votes>80,843</votes>
    <mpaa>Rated R for violence and language.</mpaa>
    <certification>USA:R / UK:15 / Switzerland:14 / Switzerland:14 / Switzerland:14 / Sweden:15 / Spain:13 / South Korea:15 / Singapore:NC-16 / Philippines:pG-13 / Peru:14 / Norway:15 / New Zealand:R13 / Netherlands:16 / Malaysia:18SG / Ireland:15 / India:A / Iceland:16 / Germany:16 / Finland:K-15 / Denmark:15 / Canada:14A / Brazil:16 / Austria:14 / Australia:MA / Argentina:13</certification>
    <genre>Adventure / Crime / Drama / Thriller</genre>
    <studio>DreamWorks SKG</studio>
    <director>Sam Mendes</director>
    <credits>Max Allan Collins / Richard Piers Rayner</credits>
    <tagline>Pray for Michael Sullivan</tagline>
    <outline>Bonds of loyalty are put to the test when a hitman's son witnesses what his father does for a living.</outline>
    <plot>Mike Sullivan works as a hit man for crime boss John Rooney. Sullivan views Rooney as a father figure. However after his son is witness to a killing he has done Mike Sullivan finds him self on the run trying to save the life of his son and at the same time looking for revenge on those who wronged him. Jude Law co stars as a hit man hired to kill Sullivan.</plot>
    <runtime>117 min</runtime>
    <actor>
    <name>Tom Hanks</name>
    <role>Michael Sullivan</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMjA1MTAzMDc0OF5BMl5BanBnXkFtZTcwNjQ5NTYyMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Tyler Hoechlin</name>
    <role>Michael Sullivan Jr.</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMjI2NDEyNDgwNl5BMl5BanBnXkFtZTcwNDE4MzEyMw@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Paul Newman</name>
    <role>John Rooney</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTI3ODgxOTM1NV5BMl5BanBnXkFtZTcwMzYzMzgxMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Liam Aiken</name>
    <role>Peter Sullivan</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTY1NzY1OTI2Ml5BMl5BanBnXkFtZTcwNzg0ODkzMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Jude Law</name>
    <role>Harlen Maguire</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMzY2MjQ4MDA5OV5BMl5BanBnXkFtZTcwMDcxNjQxMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Jennifer Jason Leigh</name>
    <role>Annie Sullivan</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTU1MzU2NTg0Nl5BMl5BanBnXkFtZTcwMjcyNjY0MQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Daniel Craig</name>
    <role>Connor Rooney</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTIyODk0MDE0MV5BMl5BanBnXkFtZTcwODY5Mzc1MQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Ciarán Hinds</name>
    <role>Finn McGovern</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTIyNjM0MzU0NF5BMl5BanBnXkFtZTcwOTIxMzg1MQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Dylan Baker</name>
    <role>Alexander Rance</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTY1OTE3NDUzM15BMl5BanBnXkFtZTcwMDQ2ODgxMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>I.N. Sierros</name>
    <role>Rooney's Business Associate (as John Sierros)</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTYzODIzNzgwOV5BMl5BanBnXkFtZTcwNzQ4NDEyMw@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Christian Stolte</name>
    <role>Rooney's Business Associate</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTMwMDkyMTE2Ml5BMl5BanBnXkFtZTcwOTg5OTE3MQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Maureen Gallagher</name>
    <role>Michael's Teacher</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTU1NTcxMDg5Ml5BMl5BanBnXkFtZTcwOTI1MDQwMg@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Kevin Chamberlin</name>
    <role>Frank the Bouncer</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTQzMDMxMTE1NF5BMl5BanBnXkFtZTcwNjQwODAzMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Doug Spinuzza</name>
    <role>Calvino</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMjAzNDE3ODc0MV5BMl5BanBnXkFtZTcwMjk0NDcyMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Roderick Peeples</name>
    <role>Nitti's Henchman</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTczMjQ0MDcyN15BMl5BanBnXkFtZTcwNTM4MjEyMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Stanley Tucci</name>
    <role>Frank Nitti</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTIwMzU0NjIyNF5BMl5BanBnXkFtZTYwOTc4OTg1._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Kurt Naebig</name>
    <role>Tenement Murderer</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTQ5OTAyNDY2NV5BMl5BanBnXkFyZXN1bWU@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Lance Baker</name>
    <role>Crime Scene Policeman</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTM5MDAyNDQ1M15BMl5BanBnXkFtZTcwNjk1MzYyMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Duane Sharp</name>
    <role>Father Callaway</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTg4MDU2MTI1MV5BMl5BanBnXkFtZTcwNDM5NTEzMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Lara Phillips</name>
    <role>Ruby the Waitress</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTU2ODIwODMzOF5BMl5BanBnXkFtZTcwMzEzOTY3MQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Lawrence MacGowan</name>
    <role>Banker</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMjA5Njg3ODE2Nl5BMl5BanBnXkFtZTcwMzM5MzY3Mg@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Mina Badie</name>
    <role>Betty the Waitress</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTI1NjE1MjAwOF5BMl5BanBnXkFtZTcwMDE0NjQyMQ@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Joe Fontana</name>
    <role>Business Man (uncredited)</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTgzNDIxNDI5N15BMl5BanBnXkFtZTcwNjEyNTEyMg@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Reese Foster</name>
    <role>Bank Customer (uncredited)</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTkxNjgwMjM0OV5BMl5BanBnXkFtZTcwODQ3ODMwMw@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>George Manisco</name>
    <role>Nitti Thug #4 (uncredited)</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTMyNTkxNDczN15BMl5BanBnXkFtZTcwOTg5OTgzMg@@._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <actor>
    <name>Mark Morettini</name>
    <role>Nitti Thug #5 (uncredited)</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTI4NjQ0MDg2NV5BMl5BanBnXkFtZTYwNTkxMzA4._V1._SY275_SX400_.jpg</thumb>
    </actor>
    <thumb>http://i2.themoviedb.org/posters/e8c/4bc919c8017a3c57fe009e8c/road-to-perdition-original.jpg</thumb>
    <thumb>http://i3.themoviedb.org/posters/e8c/4bc919c8017a3c57fe009e8c/road-to-perdition-mid.jpg</thumb>
    <thumb>http://i2.themoviedb.org/posters/e8c/4bc919c8017a3c57fe009e8c/road-to-perdition-cover.jpg</thumb>
    <thumb>http://i1.themoviedb.org/posters/e8c/4bc919c8017a3c57fe009e8c/road-to-perdition-thumb.jpg</thumb>
    <thumb>http://i1.themoviedb.org/posters/e91/4bc919c8017a3c57fe009e91/road-to-perdition-original.jpg</thumb>
    <thumb>http://i3.themoviedb.org/posters/e91/4bc919c8017a3c57fe009e91/road-to-perdition-mid.jpg</thumb>
    <thumb>http://i2.themoviedb.org/posters/e91/4bc919c8017a3c57fe009e91/road-to-perdition-cover.jpg</thumb>
    <thumb>http://i2.themoviedb.org/posters/e91/4bc919c8017a3c57fe009e91/road-to-perdition-thumb.jpg</thumb>
    <thumb>http://i3.themoviedb.org/posters/e96/4bc919cb017a3c57fe009e96/road-to-perdition-original.png</thumb>
    <thumb>http://i2.themoviedb.org/posters/e96/4bc919cb017a3c57fe009e96/road-to-perdition-mid.png</thumb>
    <thumb>http://i1.themoviedb.org/posters/e96/4bc919cb017a3c57fe009e96/road-to-perdition-cover.png</thumb>
    <thumb>http://i2.themoviedb.org/posters/e96/4bc919cb017a3c57fe009e96/road-to-perdition-thumb.png</thumb>
    <thumb>http://i1.themoviedb.org/posters/e9b/4bc919cc017a3c57fe009e9b/road-to-perdition-original.jpg</thumb>
    <thumb>http://i3.themoviedb.org/posters/e9b/4bc919cc017a3c57fe009e9b/road-to-perdition-mid.jpg</thumb>
    <thumb>http://i1.themoviedb.org/posters/e9b/4bc919cc017a3c57fe009e9b/road-to-perdition-cover.jpg</thumb>
    <thumb>http://i2.themoviedb.org/posters/e9b/4bc919cc017a3c57fe009e9b/road-to-perdition-thumb.jpg</thumb>
    <thumb>http://i3.themoviedb.org/posters/ea0/4bc919cd017a3c57fe009ea0/road-to-perdition-original.jpg</thumb>
    <thumb>http://i3.themoviedb.org/posters/ea0/4bc919cd017a3c57fe009ea0/road-to-perdition-mid.jpg</thumb>
    <thumb>http://i2.themoviedb.org/posters/ea0/4bc919cd017a3c57fe009ea0/road-to-perdition-cover.jpg</thumb>
    <thumb>http://i2.themoviedb.org/posters/ea0/4bc919cd017a3c57fe009ea0/road-to-perdition-thumb.jpg</thumb>
    <thumb>http://i2.themoviedb.org/posters/ea5/4bc919cd017a3c57fe009ea5/road-to-perdition-original.jpg</thumb>
    <thumb>http://i2.themoviedb.org/posters/ea5/4bc919cd017a3c57fe009ea5/road-to-perdition-mid.jpg</thumb>
    <thumb>http://i1.themoviedb.org/posters/ea5/4bc919cd017a3c57fe009ea5/road-to-perdition-cover.jpg</thumb>
    <thumb>http://i3.themoviedb.org/posters/ea5/4bc919cd017a3c57fe009ea5/road-to-perdition-thumb.jpg</thumb>
    <fanart url="http://images.themoviedb.org">
    <thumb preview="http://i1.themoviedb.org/backdrops/e7c/4bc919c6017a3c57fe009e7c/road-to-perdition-original_thumb.jpg">http://i1.themoviedb.org/backdrops/e7c/4bc919c6017a3c57fe009e7c/road-to-perdition-original.jpg</thumb>
    <thumb preview="http://i2.themoviedb.org/backdrops/e7c/4bc919c6017a3c57fe009e7c/road-to-perdition-poster_thumb.jpg">http://i2.themoviedb.org/backdrops/e7c/4bc919c6017a3c57fe009e7c/road-to-perdition-poster.jpg</thumb>
    <thumb preview="http://i2.themoviedb.org/backdrops/e7c/4bc919c6017a3c57fe009e7c/road-to-perdition-thumb_thumb.jpg">http://i2.themoviedb.org/backdrops/e7c/4bc919c6017a3c57fe009e7c/road-to-perdition-thumb.jpg</thumb>
    <thumb preview="http://i2.themoviedb.org/backdrops/e80/4bc919c6017a3c57fe009e80/road-to-perdition-original_thumb.jpg">http://i2.themoviedb.org/backdrops/e80/4bc919c6017a3c57fe009e80/road-to-perdition-original.jpg</thumb>
    <thumb preview="http://i1.themoviedb.org/backdrops/e80/4bc919c6017a3c57fe009e80/road-to-perdition-poster_thumb.jpg">http://i1.themoviedb.org/backdrops/e80/4bc919c6017a3c57fe009e80/road-to-perdition-poster.jpg</thumb>
    <thumb preview="http://i3.themoviedb.org/backdrops/e80/4bc919c6017a3c57fe009e80/road-to-perdition-thumb_thumb.jpg">http://i3.themoviedb.org/backdrops/e80/4bc919c6017a3c57fe009e80/road-to-perdition-thumb.jpg</thumb>
    <thumb preview="http://i3.themoviedb.org/backdrops/e84/4bc919c7017a3c57fe009e84/road-to-perdition-original_thumb.jpg">http://i3.themoviedb.org/backdrops/e84/4bc919c7017a3c57fe009e84/road-to-perdition-original.jpg</thumb>
    <thumb preview="http://i3.themoviedb.org/backdrops/e84/4bc919c7017a3c57fe009e84/road-to-perdition-poster_thumb.jpg">http://i3.themoviedb.org/backdrops/e84/4bc919c7017a3c57fe009e84/road-to-perdition-poster.jpg</thumb>
    <thumb preview="http://i3.themoviedb.org/backdrops/e84/4bc919c7017a3c57fe009e84/road-to-perdition-thumb_thumb.jpg">http://i3.themoviedb.org/backdrops/e84/4bc919c7017a3c57fe009e84/road-to-perdition-thumb.jpg</thumb>
    <thumb preview="http://i3.themoviedb.org/backdrops/e88/4bc919c7017a3c57fe009e88/road-to-perdition-original_thumb.jpg">http://i3.themoviedb.org/backdrops/e88/4bc919c7017a3c57fe009e88/road-to-perdition-original.jpg</thumb>
    <thumb preview="http://i1.themoviedb.org/backdrops/e88/4bc919c7017a3c57fe009e88/road-to-perdition-poster_thumb.jpg">http://i1.themoviedb.org/backdrops/e88/4bc919c7017a3c57fe009e88/road-to-perdition-poster.jpg</thumb>
    <thumb preview="http://i3.themoviedb.org/backdrops/e88/4bc919c7017a3c57fe009e88/road-to-perdition-thumb_thumb.jpg">http://i3.themoviedb.org/backdrops/e88/4bc919c7017a3c57fe009e88/road-to-perdition-thumb.jpg</thumb>
    </fanart>
    <fileinfo>
    <streamdetails>
    <audio>
    <channels>6</channels>
    <codec>dca</codec>
    <language>eng</language>
    <longlanguage>English</longlanguage>
    </audio>
    <audio>
    <channels>2</channels>
    <codec>ac3</codec>
    <language>eng</language>
    <longlanguage>English</longlanguage>
    </audio>
    <subtitle>
    <language>eng</language>
    <longlanguage>English</longlanguage>
    </subtitle>
    <subtitle>
    <language>zho</language>
    <longlanguage>Chinese</longlanguage>
    </subtitle>
    <video>
    <aspect>2.353</aspect>
    <codec>h264</codec>
    <duration>1h 56mn</duration>
    <height>544</height>
    <language>eng</language>
    <longlanguage>English</longlanguage>
    <scantype>Progressive</scantype>
    <width>1280</width>
    </video>
    </streamdetails>
    </fileinfo>
    </movie>
    06-May-2010 22:32:43 Debug [ ScraperNode]: Assigned variable: fileCheck.count = 0
    06-May-2010 22:32:43 Debug [ ScraperNode]: Parse node returned no results... <parse name="fileCheck" input="${file}" regex="${rx_file_check}" />
    06-May-2010 22:32:43 Debug [ ScraperNode]: executing if: <if test="${fileCheck[0][0]}!="><parse name="result" input="${file}" xpath="//movie" /><set name="movie[0].title" value="${result[0].title}" /><!-- by setting the alternative title to the search title we garantee a match--><set name="movie[0].alternate_titles" value="|${search.title}|" /><set name="movie[0].year" value="${result[0].year}" /><set name="movie[0].popularity" value="100" /><!-- we set the filename as the site id --><set name="movie[0].site_id" value="${filename}" /></if>
    06-May-2010 22:32:43 Debug [ ScraperNode]: if node left value: right value:
    06-May-2010 22:32:43 Debug [ DataProviderManager]: SEARCH: Title='Road to Perdition', Provider='XBMC (Local)', Version=1.0.1, Number of Results=0
    06-May-2010 22:32:43 Debug [ MovieImporter]: Built MediaSignature: Path= "F:\Filmes\Road to Perdition (2002)", Folder= "Road to Perdition (2002)", File= "Road to Perdition (2002.720p.bluray).mkv", Keywords= "Road to Perdition", Title= "Road to Perdition", Year= 2002, DiscId= "", MovieHash= "b28d86c115cafba5", ImdbId= "tt0257044"
    06-May-2010 22:32:43 Info [ MovieImporter]: No exact match for Road to Perdition (2002.720p.bluray).mkv


    2. I have also tried with "MP Artwork and Info Copier v0.5.1" and it works perfect.

    And i think i already know the problem.
    The *.nfo file created by Ember Media Manager creates this:

    <movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <title>Road to Perdition</title>...
    (...)

    and if i delet the text above "movie", i have this:

    <movie>
    <title>Road to Perdition</title>
    (...)


    And it work. Is it possible to the XBMC Scrapper to ignore that?
    Because i think Ember Media Manager is a great Scrapper, is really very good.

    What do you think?
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    42
    Texas
    Home Country
    United States of America United States of America
    You are right it is because of the extra text in the <movie> node. Try the attached script, it should resolve the problem for you, ignoring extra attributes in the node.

    EDIT: Just to be clear you can load the updated script from the Moving Pictures config on the Data Sources popup. Let me know if you need a better explanation.
     

    Attachments

    • xbmc.xml
      30.6 KB

    Jocker_Boy

    Portal Pro
    December 9, 2008
    196
    3
    Lisbon
    Home Country
    Portugal Portugal
    You are right it is because of the extra text in the <movie> node. Try the attached script, it should resolve the problem for you, ignoring extra attributes in the node.

    EDIT: Just to be clear you can load the updated script from the Moving Pictures config on the Data Sources popup. Let me know if you need a better explanation.

    It works perfect.
    Many, many thanks.
    Do you think this will upgrade XBMC Scrapper in next revision?

    Another thing, the Writters and Language, are the only fields in blank.
    I have tried to use the scrip post by "RoChess" in the first post, but it didn't work.

    Do you think you can solve this?

    Once more, many thanks
     

    Users who are viewing this thread

    Top Bottom