epoch1970;473838 Wrote: 
> EDIT: So I gave it a shot and installed (in
> cache/InstalledPlugins/Plugins). I created a "test" action saying
> "cli://rescan".
> I had the item appear in the web UI, great.
> But I can't hook this action as, for example the EOD "Action to take
> after idle time:"
> 
There is no facility to pick any of the custom commands in any of the
"action to take" drop-down lists.  But you could always set the EOD
custom command string to 'cli://rescan'.

Also: remember that this and all subsequent versions of SrvrPowerCtrl
treat scans scheduled in the Rescan plugin as 'alarms'...i.e.
SrvrPowerCtrl will automatically wake the system for scheduled scan.  So
scheduling a scan via EOD is not necessary.

epoch1970;473838 Wrote: 
> Label chaining, would that be advisable ? Something like:
> Label "Say bye now" "cli://playlist clear;cli://playlist play
> time%20to%20go.wav"
> Label "EOD custom"
> "cli://rescan;cli://srvpowercontrol::customaction::say%20bye%20now;cli://srvpowercontrol::
> pmaction::suspend"
Not sure.  Brain too muddled to think that one through at the moment. 
I'll try to keep this in mind. Eventually, the light should dawn.

epoch1970;473838 Wrote: 
> On the web UI, may I suggest:
> - Restart SqueezeCenter -> Restart Server (or SqueezeBox Server)
> - Shutdown Server -> Shutdown Computer
Noted.  Thanks. I've given up with trying to maintain parallel
'SqueezeCenter' 'Squeezebox Server' strings in strings.txt.  I'll just
make everything SBS.  I'm leaning towards 'Shutdown Server Computer'.

epoch1970;473838 Wrote: 
> Also, I am not actually sure the commands are run from the web UI. I'm
> trying cli://wipecache and it doesn't seem to budge. The server has no
> players attached. 
> Hum. Trying from a controller, the commands seem to work, but not all
> the time. It is not a matter of custom command, I have launched a
> rescan. But using "Restart SqueezeCenter" doesn't seem to work (pids do
> not change when I run ps). On the UI, there are times I have the message
> "waiting 15 seconds..." and other times, I go direct to executing
> -failing to, it seems- the command, or to "action canceled". To clarify
> (a bit), I see this from the web UI and the controller.
I'm sure there's debugging to be done here.  Set SrvrPowerCtrl logging
to debug and see if any light gets shed in the server.log.  I'll keep an
eye open for this too.

epoch1970;473838 Wrote: 
> I run SBS 7.4.0. Shall I upgrade to a beta of 7.4.1 ?Can't hurt.


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

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

Reply via email to