Moonbase;397282 Wrote: 
> An afterthought: I feel the code should be optimized for speed a little
> – it scans for about 2 hours now on my ~25k file collection …
> 
> Maybe regenerating the hashes on each and every track scanned is a
> little overkill, don’t you think? I’d assume no one will change the
> parameters while a scan is in progress …
> 
It's probably reading the tag values from the file and writing the
result to the database that takes time, I suspect it doesn't matter if
you regenerate the hashes every time.

Does your version perform slower than the original version ?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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

Reply via email to