PDA

View Full Version : library update does not update music fanart


kmfdm515
2009-04-03, 18:28
hi,

i'm using kricker SVN 19150 with the pm3hd skin, and viewing my music in library mode in fanart view. i've just gone through and added a bunch of fanart to my music folders, but when i start XBMC and the library updates, none of them are displayed. i know they should be working because one of my artists does have the fanart displayed from when i added it a while back. if i try to update the library manually, still no new fanart. fanart is all 'fanart.jpg' in the artist folder - botht the new ones i added, and the old fanart that is currently working.

it seems XBMC really has some issues with library updates...this isn't the first time i haven't been able to grab the new stuff with either an auto library update on startup, or a manual update.

am i missing something here?

thanks

kmfdm515
2009-04-06, 00:31
any thoughts?

jmarshall
2009-04-06, 00:51
fanart.jpg will only be detected during an update if (and only if) the path of the containing folder is in the database and it's hash has changed (which will be the case of adding a .jpg file), or one of it's parent path's hash has changed.

Please check your db and see which paths are in the db and which aren't.

Cheers,
Jonathan

AnalogKid
2009-04-06, 12:41
How are the hashes derived?

Or easier still, which of the following will generate a new hash?

New file in folder (assumed yes)
Existing file content change (assumed no)
File rename (assumed no)
File creation or modified date change (assumed no)
Path change (assumed yes, since effectively this is now a new file)

it's not clear if there is a hash for every file, or the containing folder, and in the case of the containing folder, will a has change result in a complete regeneration of ALL the content within the said folder, or just what XBMC thinks has changed?


I have often changed artwork within a movie folder and performed a rescan, and it's failed to detect any change, so my fix is typically to manually remove the movie from the library (using the UI) then rescan.

jmarshall
2009-04-06, 13:05
Hash is at the folder level. From memory, we hash:

1. The filename of every file in the folder (jpg/tbn/movie files or music files)
2. The date of every file in the folder (depends on the filesystem as to exactly which date this may be).
3. The size of every file in the folder.

See the source code (grep for GetPathHash) for exact details.

I can only speak for the music scanner, as that is what I am most familiar with: On change of a folder, everything within that folder is rescanned.

Alter a folder.jpg file and it'll quite happily be rescanned (assuming the path is in the db).

If it doesn't work for you, then you need to get a simple reproducible case (dummy filesystem + full instructions to reproduce) and post a ticket on trac.

Cheers,
Jonathan

kmfdm515
2009-04-07, 01:03
I checked the DB paths in SQLiteSpy and noticed that every time i added fanart to an artist folder, it was still listed, but moved to the bottom, as the idPath changed - I assume that's normal?

i added fanart to an artist folder that had no fanart, and the same thing - path still listed at the end of my DB paths, no fanart displayed.

not sure what i'm doing wrong.

kmfdm515
2009-04-07, 20:19
i was finally able to get the fanart to be displayed - by deleting my music database and recreating.

obviously not ideal to have to do that every time i add a file...is this an issue with the specific SVN build i am using?

here's another poster having issues updating the music library:

http://xbmc.org/forum/showthread.php?t=48450

jmarshall
2009-04-08, 08:00
Was the artists path in the library with a hash PRIOR to you adding fanart.jpg?

Without a definitive answer to this question we can make zero progress.

kmfdm515
2009-04-09, 05:48
Was the artists path in the library with a hash PRIOR to you adding fanart.jpg?

Without a definitive answer to this question we can make zero progress.

sorry...yes, it was. i definitely checked the last artist i added fanart - first noticed it was there, then noticed it had moved to the bottom of the DB idPaths once fanart was added.

jmarshall
2009-04-09, 06:03
And did it have a hash?

kmfdm515
2009-04-09, 17:44
And did it have a hash?

yes, every path in the DB has a hash...whether before or after adding albumart

InDashMP3
2009-04-09, 21:44
Will a library update "scrape" for Artist Fanart? I used the discogs default, and it scrapes the artist thumbs and album art, but no fanart. Should I be using a particular scaper before I update the library to bring in artist fanart?

spiff
2009-04-09, 22:19
currently only the allmusic scraper is fanart enabled

kmfdm515
2009-04-20, 21:49
still having this problem...i'm going to try to update to another SVN...

DarkHelmet
2009-04-20, 23:11
currently only the allmusic scraper is fanart enabled

That's some good information there. I'm using the last.fm scraper and had some issues with music fanart as well. Thanks.

InDashMP3
2009-04-21, 02:34
What I don't understand is this.. I have the default music scraper set to allmusic. However, when in FanArt mode in the Library I don't see any. However, I have my screensaver set to show fanart, and when the screensaver kicks in, I get a nice random showing of my Music/TV/Music fanart, which tells me the music fanart DID scrape?? I'm confused...

kmfdm515
2009-04-21, 05:14
so i remove my music source folder, delete the actual database file and then re-start xbmc, re-add my source folder, re-scan folder to library, and it STILL won't pick up the artist fanart changes.

i can only get it to work by deleting the fanart folder under userdata, then doing the above.

what am i doing wrong?

kmfdm515
2009-08-07, 05:11
i still have this issue...if i update some music id3 tags...a library re-scan picks up the changes, no problem. if i change the music artist fanart...a re-scan will not way to pick up the change. looks like a library scan will not overwrite the cached fanart images?

is this a known issue? are other people successfully getting music artist fanart to update with a simple library re-scan?

as a work around, i can have the music scraper find the artist info, then i am able to manually select the fanart i have in the artist folder.

sho
2009-08-08, 13:43
I had some issues playing with Music Fanart, but they were supposedly fixed.
http://www.xbmc.org/trac/ticket/6622
What version are you using?
If later than 20857 you should either add comments to that ticket (so the associated devs will see them), or post a new ticket and I will try to remember to notify them.

steve1977
2009-11-01, 05:52
i was finally able to get the fanart to be displayed - by deleting my music database and recreating.

obviously not ideal to have to do that every time i add a file...is this an issue with the specific SVN build i am using?

here's another poster having issues updating the music library:

http://xbmc.org/forum/showthread.php?t=48450

Having the same issue. It appears that the only way to remove the music library is to delete it manually. Anyone has managed to do so differently?