Wirrunna;406550 Wrote: 
> Lazy Search and Server Power Control. Lazy Search Music (v3.5b1)
> prevents Server Power Control from shutting down the server until the
> Lazification process is complete.
> 
> Testing environment - 
> XP Pro SP3, 
> SC Version: 7.3.2 - 24695 @ Mon Jan 19 18:55:04 PST 2009. Total Tracks:
> 49,074
> Server Power Control (v7.3-RC5-20090102) 
> Lazy Search Music (v3.5b1) 
> 
> Steps:
> 1. Delete previous Lazy Search plugin, install beta version.
> Delete Server Log.
> Configure Server Power Control to close down after 5 minutes idle.
> Close down system.
> 
> 2. Start System, play a few tracks. 
> Stop SC with remote, check Task Manager - system idle.
> Server Power Control closed down system.
> 
> 3. Start System, play a few more tracks.
> Stop SC with remote.
> Open Squeezecenter GUI, Open Lazy Search Plugin, initiate "Build Lazy
> Search Index Now" which completes in 4 minutes (bugger). Server Power
> Control then closes down server.
> 
> 4. Start System, play a few tracks.
> Stop SC with remote.
> Open Squeezecenter GUI, request a clear and rescan.
> Server Power Control eventually shuts down server after rescan.
> 
> 5. Start System, start playing tracks.
> Check server log, "No database items require lazification", which means
> that the lazification process completed before the shutdown.
> 
> Server log cut & paste :
> [09-03-15 10:02:00.2856] Plugins::LazySearch2::Plugin::scanDoneCallback
> (2058) Lazifying database items not already done
> [09-03-15 10:02:03.9688] Plugins::LazySearch2::Plugin::lazifyDatabase
> (2098) No database items require lazification
> [09-03-15 10:10:36.5047] Plugins::LazySearch2::Plugin::scanDoneCallback
> (2058) Lazifying database items not already done
> [09-03-15 10:10:40.2813] Plugins::LazySearch2::Plugin::lazifyDatabase
> (2098) No database items require lazification
> [09-03-15 10:15:12.1891] Plugins::LazySearch2::Plugin::lazifyNow (2660)
> Manual lazification requested
> [09-03-15 10:19:53.1784] Plugins::LazySearch2::Plugin::encodeTask
> (2366) Database lazification completed
> [09-03-15 12:15:53.4062] Plugins::LazySearch2::Plugin::scanDoneCallback
> (2058) Lazifying database items not already done
> [09-03-15 12:26:58.5468] Plugins::LazySearch2::Plugin::encodeTask
> (2366) Database lazification completed
> [09-03-15 12:35:05.8512] Plugins::LazySearch2::Plugin::scanDoneCallback
> (2058) Lazifying database items not already done
> [09-03-15 12:35:10.5782] Plugins::LazySearch2::Plugin::lazifyDatabase
> (2098) No database items require lazification
> [09-03-15 12:43:29.2734] Plugins::LazySearch2::Plugin::scanDoneCallback
> (2058) Lazifying database items not already done
> [09-03-15 12:43:33.9220] Plugins::LazySearch2::Plugin::lazifyDatabase
> (2098) No database items require lazification
> [09-03-15 12:43:42.0318]
> Slim::Networking::SqueezeNetwork::_gotRadioError (222) Unable to
> retrieve radio directory from SN: Timed out waiting for data
> [09-03-15 12:46:02.9802] Plugins::LazySearch2::Plugin::scanDoneCallback
> (2058) Lazifying database items not already done
> [09-03-15 12:46:02.9807] Slim::Utils::Misc::msg (1122) Warning:
> [12:46:02.9804] Use of uninitialized value in concatenation (.) or
> string at C:/PROGRA~1/SQUEEZ~1/server/Plugins/LazySearch2/Plugin.pm
> line 2111.
> [09-03-15 12:46:07.4063] Plugins::LazySearch2::Plugin::lazifyDatabase
> (2098) No database items require lazification
> 
> Edit: Added the new version of Lazy Search to my "production" system,
> no other changes, kicked off a clear and rescan before going to bed. On
> start up I initiated a Lazy Search and did not get the "Still scanning
> database" message indicating that it had completed before shut down.
> Server log confirmed that the lazification process had completed before
> shutdown.
About the only other thing I might suggest is to turn SrvrPowerCtrl's
logging to DEBUG and run your last test again.  SrvrPowerCtrl should
report receipt of the CLI set block and clear block requests in the
server log.  Otherwise, it looks like hickinbottoms nailed it in one.

PS: PeterW deserves credit for the whole block/unblock concept.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=45531

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to