home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
XMBC Scraper - Does it work?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="BlueBomber" data-source="post: 590860" data-attributes="member: 101816"><p>Hey RoChess -</p><p></p><p>I enabled debug mode, deleted my database and my old logs, and then added a single movie.</p><p></p><p>Here is the resulting log:</p><p></p><p>[spoiler]08-Mar-2010 17:47:39 Debug [ DatabaseManager]: INSERTING: \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark </p><p>08-Mar-2010 17:47:39 Info [ MovieImporter]: Shutting Down Media Scanner Threads... </p><p>08-Mar-2010 17:47:39 Info [ MovieImporter]: Shutting Down Path Scanner Thread... </p><p>08-Mar-2010 17:47:39 Info [ MovieImporter]: Stopped MovieImporter </p><p>08-Mar-2010 17:47:39 Info [ MovieImporter]: Started MovieImporter </p><p>08-Mar-2010 17:47:39 Info [ MovieImporter]: Initiating full scan on watch folders. </p><p>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. </p><p>08-Mar-2010 17:47:39 Debug [ DBImportPath]: Scanning: \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark </p><p>08-Mar-2010 17:47:39 Debug [ DBImportPath]: New File: VIDEO_TS.IFO </p><p>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' </p><p>08-Mar-2010 17:47:40 Info [ FileSyncProcess]: File maintenance started in the background. </p><p>08-Mar-2010 17:47:40 Info [DatabaseMaintenanceM]: Checking for invalid file entries in the database. </p><p>08-Mar-2010 17:47:40 Info [DatabaseMaintenanceM]: Removed 0 file entries. </p><p>08-Mar-2010 17:47:40 Info [ FileSyncProcess]: File maintenance finished. (0 seconds) </p><p>08-Mar-2010 17:47:41 Info [ NfoBuilder]: Parsing NFO file: \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark\movie.nfo </p><p>08-Mar-2010 17:47:41 Debug [ NfoBuilder]: ImdbID Found: tt0082971 </p><p>08-Mar-2010 17:47:42 Debug [ ImdbBuilder]: Lookup Imdbid=tt0082971: Title='Raiders of the Lost Ark', Year=1981 </p><p>08-Mar-2010 17:47:42 Debug [ ScraperNode]: Assigned variable: rx_file_check = (?<genres><movie>) </p><p>08-Mar-2010 17:47:42 Debug [ ScraperNode]: Assigned variable: filename = \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark\VIDEO_TS </p><p>08-Mar-2010 17:47:42 Debug [ ScraperNode]: executing retrieve: <retrieve name="file" file="${filename}.nfo" encoding="UTF-8" /> </p><p>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 </p><p>08-Mar-2010 17:47:42 Debug [ ScraperNode]: Assigned variable: file = </p><p>08-Mar-2010 17:47:42 Debug [ ScraperNode]: executing parse: <parse name="fileCheck" input="${file}" regex="${rx_file_check}" /> </p><p>08-Mar-2010 17:47:42 Debug [ ScraperNode]: name: fileCheck ||| pattern: (?<genres><movie>) ||| input: </p><p>08-Mar-2010 17:47:42 Debug [ ScraperNode]: Assigned variable: fileCheck.count = 0 </p><p>08-Mar-2010 17:47:42 Debug [ ScraperNode]: Parse node returned no results... <parse name="fileCheck" input="${file}" regex="${rx_file_check}" /> </p><p>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> </p><p>08-Mar-2010 17:47:42 Debug [ ScraperNode]: if node left value: right value: </p><p>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 </p><p>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" </p><p>08-Mar-2010 17:47:42 Info [ MovieImporter]: No exact match for Indiana Jones - I - Raiders of The Lost Ark </p><p>08-Mar-2010 17:47:46 Info [ MovieImporter]: Shutting Down Media Scanner Threads... </p><p>08-Mar-2010 17:47:47 Info [ MovieImporter]: Shutting Down Path Scanner Thread... </p><p>08-Mar-2010 17:47:47 Info [ MovieImporter]: Stopped MovieImporter </p><p>08-Mar-2010 17:47:47 Info [ DeviceManager]: Stopping Disk Watcher </p><p>08-Mar-2010 17:47:47 Info [ DeviceManager]: Clearing all drives from Disk Watcher </p><p>08-Mar-2010 17:47:47 Info [ MovingPicturesCore]: Plugin Closed [/spoiler]</p><p></p><p>I wonder if the issue is this line: </p><p></p><p>File does not exist: \\WHS\Movies\Indiana Jones - I - Raiders of The Lost Ark\VIDEO_TS.nfo</p><p></p><p>Do I need to rename all of my movie.nfo files to VIDEO_TS.nfo?</p><p></p><p>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.</p></blockquote><p></p>
[QUOTE="BlueBomber, post: 590860, member: 101816"] Hey RoChess - I enabled debug mode, deleted my database and my old logs, and then added a single movie. Here is the resulting log: [spoiler]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 [/spoiler] 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. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
XMBC Scraper - Does it work?
Contact us
RSS
Top
Bottom