gharris999;383910 Wrote: 
> If "Restore SN connected players" and "Take other action on wakeup" are
> both enabled, then SrvrPowerCtrl ought to automatically drag back the
> SN players whenever the server resumes from standby or hibernation,
> with no intervention or initiation needed from you.  If it's failing to
> do so, try increasing the "seconds to wait before" value.
> 
> All this happens from the plugin, not from SCPowerTool (which knows
> nothing about how to communicate via the CLI).  There is no
> SrvrPowerCtrl CLI extension to initiate this in the current version. 
> *You could accomplish this through SC's CLI, however*.
> 
> In terms of how I "get the resume from suspend to pull an SN-connected
> player back to the local SC", see lines 516 and up in Watchdog.pm...the
> OnWakeupWatchdog function and lines 351 through 437 in Util.pm...the
> GetSNPlayers function and the PullFromSqueezeNetwork functions.  Of
> course, to succeed, these functions depend on SC already having made a
> valid connection to SN...thus the "seconds to wait before" pause before
> attempting this.  For OnWakeupWatchdog to succeed, it depends on SC to
> service it's timer request in a "timely" fashion after the machine
> comes out of standby.  So far, that's seemed to work very reliably for
> me.Considering my zero chances at creating working scripts, what I bolded
above could mean that we could be able to "recover" players from
Squeezenetwork by having your plugin installed, but not "really" active
and issuing commands to the plugin through the SC's CLI? If so, would
you mind detailing how?

I'm trying to achieve my needs through a combination of WoSB and TOFF
and I'm interested in understanding exactly how flexible this could
be.
Thank you!


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

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

Reply via email to