Posts: 2,838
Joined: Dec 2006
Reputation:
2
2009-07-04, 05:06
Have a feature request seeing how well the media managers such as EMM are developing!!! Would it be possible to allow the library to update and ONLY use existing nfo-files, artwork and posters/banners? Phrased differently, would love to stop XBMC access the scrapers.
Thanks a ton in advance!!!
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 980
Joined: Sep 2007
Reputation:
5
I believe that is how it works now. If there is an nfo for the movie it will use it instead of scraping.
Posts: 4,997
Joined: May 2004
Reputation:
12
Right, if we find a FULL xml nfo. We use that data and forgo the scrape. If we find a URL or MIXED nfo, the scrape will happen.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Adding nfo files should automatically queue an update, so update library should pick it up and take care of it. If it does not, it's a bug.
As for the sample files, what _exactly_ are the filenames? Are you adding these later and they queue an update, or what?
Sidenote: I wonder if the sample files are taken care of in generating the hash - someone mind checking?
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
If the nfo file is added later, then all you need to do is do an "Update Library" and it should pick the changes up automatically. If it doesn't, it's a bug. Please file a bug report along with everything required to reproduce, including a sample filesystem that easily allows reproduction.
As for the sample files: There's a regexp we use to ignore them. You may have to tweak this, or rename your files: XBMC cannot ignore them unless you tell it to, or name your files suitably.
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
That should NOT be required. If it is, then IMO it's a bug.
Obviously an update is required, but a general "Update Library" should pick changes up.
As I say, if it's not, then it's a bug. Get it reproducible on a simple dummy filesystem, and post a trac ticket with full details.
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
On consulting with my colleagues, it appears this is by design. Apparently we don't rescrape movies when the hash changes, all we do is add new movies.
This kinda makes sense, if you consider a folder full of 100 movies - we don't want to rescrape in this case unless we know they've changed. Given that we don't know which one has changed, we don't do it.
This is a very silly thing to not be able to pick up, and it's certainly something I'll address with the video library redesign. We can't do much about it until then.
Cheers,
Jonathan
Posts: 875
Joined: Oct 2008
Reputation:
14
nul7
Posting Freak
Posts: 875
Instead of having the reloading current movies as part of the update process, could it be implemented as a separate, manually triggered process? Something like a "Reload All" on the parent folder context menu. This way, if you haven't changed anything with the current movies and just want to have new movies added, you don't have to wait for it to rescan all current movies as well.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
That's a workaround, not a fix. I'm not opposed to it, but won't waste my time implementing it when it doesn't actually address the problem.
The problem is trivial to fix: Instead of storing the hash just for the directory, we store a hash per item. Thus, not only do we know when a directory may need rescanning, but we also know which items in that directory need rescanning. Ofcourse, there's no point implementing this fix at this point - I shall simply ensure that this is part of the new filescanners.
Cheers,
Jonathan