Kodi Community Forum
Scraping ignoring local nfos - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Scraping ignoring local nfos (/showthread.php?tid=187600)

Pages: 1 2


Scraping ignoring local nfos - AnalBeard - 2014-02-26

Ok, so I went to the trouble of organising all my media with MediaElch and then when I run the initial scrape it completely ignores all the nfos. All info is stored in movie.nfo in the correct format (I've included an nfo for your perusal) and the scrape should then store it in the database on the fileserver. I've got as much information as possible assembled (however I cannot post the debug log to pastebin as it apparently exceeds the size allowed for free users). So, without further ado:

my debug log - http://cdn.analbeard.com/xbmc.log (if that doesn't work you can grab it from http://cdn.analbeard.com)

my advancedsettings.xml - http://pastebin.com/6LuNFhjE

a sample nfo - http://pastebin.com/x2QhcDnn (this has ended up in a set, even though there isn't one specified in the nfo)

my sources.xml - http://pastebin.com/QpMxVq91


RE: Scraping ignoring local nfos - Ned Scott - 2014-02-27

Quote:Starting XBMC (12.0-RC3 Git:7a6cb7f)

That's a pre-release test build, so the first thing I would try is at least updating to the final version of XBMC v12.0, and highly recommending you just skip ahead to XBMC v12.3, which is the most recent release for the v12's.

Your log is full of thumbnail errors because something is wrong with the path substitution, but you don't need to use path subs in v12, so you can just remove that part of your advancedsettings.xml file.

If you could take care of those two issues then the debug log will be a lot easier to read. I think the issue will still be there, but it's really hard to see what it might be as it is now.


RE: Scraping ignoring local nfos - AnalBeard - 2014-02-27

(2014-02-27, 03:39)Ned Scott Wrote:
Quote:Starting XBMC (12.0-RC3 Git:7a6cb7f)

That's a pre-release test build, so the first thing I would try is at least updating to the final version of XBMC v12.0, and highly recommending you just skip ahead to XBMC v12.3, which is the most recent release for the v12's.

Your log is full of thumbnail errors because something is wrong with the path substitution, but you don't need to use path subs in v12, so you can just remove that part of your advancedsettings.xml file.

If you could take care of those two issues then the debug log will be a lot easier to read. I think the issue will still be there, but it's really hard to see what it might be as it is now.

Ah, I just installed straight from Ubuntu's repos - I'm only using it on the laptop for testing purposes, I usually use xbmc on the Apple TV but content scanning is obviously much quicker on the laptop. I've installed the latest version from the ppa so I'll try it when I get in. I've also removed the path subs block - didn't realise that wasn't necessary anymore. I'll update this later.


RE: Scraping ignoring local nfos - AnalBeard - 2014-02-27

Ok, so I updated XBMC and commented out the path substitution block, and for good measure I also dropped the database on the server so I was starting afresh. I then fired up XBMC and set the content type on my films directory to films and then allowed it to scan away. The log that was produced is here - http://pastebin.com/DE7BBLaW

Any input would be good!


RE: Scraping ignoring local nfos - Ned Scott - 2014-02-28

Now the problem is that XBMC doesn't have access to create DBs in MySQL. See MySQL (wiki) and the steps for setting up the MySQL server.


RE: Scraping ignoring local nfos - AnalBeard - 2014-02-28

(2014-02-28, 04:18)Ned Scott Wrote: Now the problem is that XBMC doesn't have access to create DBs in MySQL. See MySQL (wiki) and the steps for setting up the MySQL server.

I've already run through setting up mysql previously - my xbmc user is configured with all permissions granted on *, so this shouldn't be an issue. After that log was posted I checked and the database had been recreated so this implies that the user has access (I dropped it prior to scanning the content).

Thanks for the help so far!


RE: Scraping ignoring local nfos - Kib - 2014-02-28

It sure looks like an issue with creating the db's from log. You are still using names for your databases - this is a deprecated setting.


RE: Scraping ignoring local nfos - AnalBeard - 2014-03-01

Ah, i've been using the same setup for a while now, didn't realise that the name tag wasn't used. I've removed that now, dropped the database and re-scanned and ended up with the following:

http://pastebin.com/YuuWyaJ6

Also - I've checked the database and all the sets which have been created are not referencing the sets in the xml files (none of the sets are ones i've named)


RE: Scraping ignoring local nfos - AnalBeard - 2014-03-02

Any suggestions, guys? Is it possible that because there are sometimes two nfos in a folder (an original one and the one that I've created) that it doesn't like that?


RE: Scraping ignoring local nfos - jmarshall - 2014-03-03

A Debug Log of you refreshing an item with the incorrect (i.e. non-NFO) data would be useful. That way we have ONE entry to look for in the Debug Log.


RE: Scraping ignoring local nfos - AnalBeard - 2014-03-04

OK, so I removed the movie.nfo for 21 Jump Street and as I've got xbmc on the laptop set to autorefresh content upload startup it went off and got on with it.

Now interestingly, the new films I added yesterday are showing up all the fanart/posters etc, however none of the films I've done this for manually are showing up - will XBMC look at all nfos in the directory? Is it fussy about the name of the file at all?

Interestingly, there's no reference to 21 Jump Street in the log whatsoever.

http://pastebin.com/BJexhjqc


RE: Scraping ignoring local nfos - jmarshall - 2014-03-04

Not a Debug Log. Read the link.

Refresh a SINGLE movie for which you have a problem and grab the Debug Log from that session. Your job is to make it easy for others to help Smile

Cheers,
Jonathan


RE: Scraping ignoring local nfos - AnalBeard - 2014-03-05

OK, you're going to have to clear this up here - you post a link to the wiki page about the debug log - i post a debug log and then you say that's not what you need? Sorry if I'm missing something here though - it's entirely possible!


RE: Scraping ignoring local nfos - jmarshall - 2014-03-05

See: http://wiki.xbmc.org/index.php?title=Log_file/Easy

Note step 2.


RE: Scraping ignoring local nfos - AnalBeard - 2014-03-05

Right, my bad, I went for the advanced settings and clearly misunderstood the difference between general logging and debug logging - I can't pastebin the log as apparently it's too big.

http://cdn.analbeard.com/xbmc.debug.log

I did the same again - re-scraped 21 Jump Street.


I've had time to look through the log above today, and it looks like the action starts around line 5520, although I'm not well versed enough to understand where it's pulling the set from (my movie.nfo for that film has <set></set> in it though)