mherger;570014 Wrote:
>
> That usually means it didn't finish in an expected way. Do you get any
> error messages towards the end of the log files?
Nope:
Code:
--------------------
[10-08-17 22:10:01.7965] Slim::Music::Artwork::__ANON__ (796) downloadArtwork
finished in 67050.2832801342
[10-08-17 22:11:11.3406] Slim::Music::Artwork::precacheAllArtwork (430)
Starting precacheArtwork for 11407 albums
[10-08-17 22:28:07.3650] Slim::Music::Artwork::__ANON__ (523) precacheArtwork
finished in 1016.01749396324
[10-08-17 22:28:07.3653] Slim::Music::Import::endImporter (607) Completed
precacheArtwork Scan in 1085 seconds.
[10-08-17 22:28:07.4552] Slim::Music::Import::runScanPostProcessing (390)
Starting Database optimization.
[10-08-17 22:28:08.7586] Slim::Music::Import::endImporter (607) Completed
dbOptimize Scan in 1 seconds.
--------------------
Note the scan finished at 22:28, 15 minutes before I copied the
results.
> Now the question is: what rule should be followed to get rid of these?
> We not only have various ways of using brackets etc., but potential
> localization issues too (eg. "disk", "disc", "disco"...).
It's quite difficult picking album names out of the log because of the
way you've chosen to write them (I'd prefer artist :: album over
album/artist), but:
$album =~ s/\s*[\[\(]disk|disc|cd\s*\d*[\)\]\s*//i;
might be a good second lookup, after you've failed with the full
artist+album.
For truly difficult customers such as myself, why not have a list of
regexps which can be removed during the lookup, similar to the way
"The, La, Das" etc get removed from artist names? Most people would
leave it empty, and it could either tell SbS to do multiple requests,
or somehow be passed in the request to tell the web server what to try
removing.
I'll have a go at extracting the right info from my logs and do some
experimenting with removal patterns.
--
pallfreeman
------------------------------------------------------------------------
pallfreeman's Profile: http://forums.slimdevices.com/member.php?userid=37667
View this thread: http://forums.slimdevices.com/showthread.php?t=80979
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta