Lately I've noticed that when I Browse by Music Folder (from webUI, squeezebox, or controller) that SC locks up for a variable amount of time -- sometimes just 5-10s, sometimes 40-60s, and sometimes even longer. I've noticed that mysqld gets kicked off and uses a fair bit of CPU during this time. I use many of Erland's plugins (CB, Custom Scan, SQL, Dynamic Playlist, Trackstat, Trackstat Playlist, Custom Skip, Multi Library) and I recently updated a number of them, so I wondered if they might be source of the delay.
I tried testing by disabling all of Erland's plugins and then adding them in one at a time (stoping and restarting SC each time) and timing Browse by Folder. It is a little tricky because whatever is getting scanned in is being stored somewhere so that there is a delay only the first time you browse to a folder (except that this must get "forgotten" on the timescale of a day, because I discovered this problem when I navigate to the same folder every couple of days.) Because of this, during testing I navigated to 3 or 4 different, new folders each time. I found that SC alone is quite snappy, less than 5 s for each folder. Adding SQL, ML, and CB produced just a slightly longer delay, maybe as much as 10s. Adding Custom Scan produced a range of longer delays, from 30 s to as much as 3 mins! (Although some folders scanned in just 5 s -- and the delay doesn't seem to be proportional to the number of sub-folders or files.) Under the Custom Scan settings I set Custom Tag and Mixed Tag scanning to manual, which improved the delay times. Adding Track Stat and Track Stat Playlist (alone or with Custom Scan) also yielded moderate delays. So the culprit seems to be something to do with Custom Scan and possibly Track Stat. Does anyone know whether it is typical for there to be a short delay when browsing by Music Folder, should mysqld be running, and whether the delays I'm experiencing are abnormal? Any ideas why Custom Scan might be making these delays longer, and is there anything I can do about it? Any insight would be appreciated. (BTW running SC 7.2.1 on XP ) -- wnshall ------------------------------------------------------------------------ wnshall's Profile: http://forums.slimdevices.com/member.php?userid=5886 View this thread: http://forums.slimdevices.com/showthread.php?t=61797 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
