Moonbase;406985 Wrote: > It seems to me that CustomScan somehow blocks the whole SC while doing > its job (up to 77 minutes here). > > I have the problem that SC quite often initiates a rescan, because I > add new music which in turn modifies my MusicIP library which in turn > causes SC to rescan which in turn causes CustomBrowse to hit in again > which in turn blocks my SC from playing or being accessible at all > Which scanning modules do you use in Custom Scan ? The 77 minutes should be maximum a few minutes in a large library, so something seems to be wrong here.
It would be really interesting if you could enable "info" level logging on plugin.customscan and post the log after a scan has finished. If you have already done so and I've forgot it, just let me know. Moonbase;406985 Wrote: > > I guess this was one of the reasons why SCs scanning module was made a > separate Perl instance running. > > Could maybe CB do the same? Run as a separate Perl instance instead of > somehow blocking whatever currently runs "within" the main SC? This > could maybe also help distributing load on multi-core system. (-If- it > isnt just mySQL blocking somehow main CPU activity while CustomScan > seems to "block" everything is in mySQL.) > If you are getting near 100% CPU usage on the mysql process, it's probably one of the SQL statements that execute during the refresh operation that takes time. It could also be the Mixed Tag scanning module which I think is pretty mysql intensive. Are you using a standalone version of MySQL or are you using the one installed with SqueezeCenter ? In case you use a standalone version could you let me know which version ? I would be happy to run it in a separate process if there was an easy way to do it. It's easy on Linux or OSX but on Windows it requires me to compile a exe which makes it more complicated. If you like Custom Scan to run in the background, voting on this enhancement request is a good idea: http://bugs.slimdevices.com/show_bug.cgi?id=6024 I'm hoping for better ways for third party plugins to integrate with the scanning process in SqueezeCenter 8.0 when the new database schema and scanning engine is planned to be introduced. However, so far I haven't seen any changes in this direction. Moonbase;406985 Wrote: > I think Sues problem might have come from the same thing: SC/CB somehow > "detecting" they need a rescan. Yes definitely, it's just strange that it happened when browsing music folders because that shouldn't have triggered a Custom Scan scanning. -- 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=61359
_______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/beta
