For a long time I've had a bit of an issue with some of my custom browse menus and a couple of other actions that seem to bring LMS to a halt for several seconds, such that the music stops. I've been wondering whether there is any solution. I'm running LMS on a 4 cpu Vortexbox appliance.
One of my favourite menus is 'Works by Composer', based on Erland's own version. If I run this whilst playing anything, the system is OK for a while whilst it is thinking about the new menu, and then the music stops for several seconds, then restarts where it left off, and the menu quickly comes up. This is true whether listening via my wired Touch, or via the 'local player' plugin and squeezelite. This only happens the first time I run a CB menu after LMS is started. After that it's fine. Some menus are worse than others. Albums by Album Artist (and others not using non-standard tags) is always OK. Another menu that acts strangely in the Advanced, Custom Scan, Various Settings menu item. This can take 30 seconds or more, and again stops any music playing towards the end of the process. If I look at the process loads, the squeezeboxserver process (/usr/bin/perl /usr/libexec/squeezeboxserver /usr/libexec/squeezeboxserver --pidf ...) gets to 100% towards the end of processing such menus, which is when the music stops. Now I don't know much about how all this works, and I don't know if the block is actually at the CPU or disk read level, but I'm wondering whether any of the following are possible or would help: 1) Adjust process priorities in some way (but I note that change priorities in the Advanced, Performance menu has no effect on my linux system - they all run at priority 20) 2) Apply some indexes to the custom tables in sqlite (is that possible, or is that only available in more complex sql system?) 3) Spilt out music processing from menu processing in some way giving different runtime processes - I'm assuming the same perl process runs the menu processing and processing the music for playing 4) Find a way to run all my menus when the system starts up, or on command, so that all the data is loaded into memory (2 GB) and put up with the delay incurred just once, rather than when the mood takes me to use a different menu. If anyone has any suggestions I'd be keen to try them out. LMS 7.8 on VortexBox Midi, FLACs 16->24 bit, 44.1->192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox & other PCs as required. Spare Touch in loft! ------------------------------------------------------------------------ PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
