For instance, if someone replaces a cover.jpg file with folder.jpg,
correct? I think that's fine.

Would it also be capable of finding a new cover where an album or track
had none previously? This is fairly important.

Ok, revision 1384853950 (or later) is out there and should cover the following cases:

- external artwork only
- existing artwork has been replaced with file of same name
- a new artwork file has been put in place where there was none before
- the existing file has been renamed
- the existing file has been removed

In the latter case you'd get the default disc icon.

As for the performance hit: on my rather slow system (1.6 GHz Atom, 2.5" disk) with a well organized music collection I got the following in my log:

[13-11-19 10:15:37.0115] Slim::Music::Artwork::updateStandaloneArtwork (210) Starting updateStandaloneArtwork for 944 albums [13-11-19 10:15:38.1386] Slim::Music::Artwork::__ANON__ (302) updateStandaloneArtwork finished in 1.11766600608826

Which means roughly 944 albums use external artwork or don't have any artwork assigned (embedded artwork is excluded from this scanning pass). And validating them took about 1 second. For these albums the scanner either checked whether the artwork was still the same or whether there was a new file in place. This behaviour (pretty quick pass) should be representative for a collection with little missing artwork and no changes. Missing files will considerably increase the scan time, as various folders and artwork file names will be looked for. The better organized your collection is, the quicker you're done.

Please give this some thorough testing. I'm particularly interested in results on Windows as I've only tested on Mac and Linux.

--

Michael
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to