peterw;476445 Wrote: 
> That all sounds great, thanks!
> 
> 
> 
> I think I wouldn't need to do that in my scenario, though. TinySC
> should always be running (and why not, considering SB Touch uses less
> electricity than an SB Classic), happily serving clients when
> SrvrPowerCtrl sends them to TinySC, and willingly relinquishing them
> when FatSC starts up and SrvrPowerCtrl pulls them back to the main
> server, right? The FatSC SrvrPowerCtrl install could handle both
> pre-shutdown pushes and post-startup pulls, right? I think the only
> extra logic I'd want on TinySC is something to handle waking up the
> FatSC server at appropriate times. Maybe that's every time someone turns
> a player "on", or maybe that requires a more deliberate action.
It's that last aspect that I was thinking of.  Presumably, you could
install SrvrPowerCtrl on TinySC and disable almost all of it's features
and menu items, leaving one custom menu item pointing at your
'wake-master' script.  Just a (relatively) painless way to be able to
execute that script from the Touch's menu.  Really, what's required here
is either a rewrite of KDF's execute script plugin for the Touch, or a
severely cut-down version of SrvrPowerCtrl that dispenses with all the
power-saving stuff, or a WOL Lua app for the Touch.  Perhaps that last
would be the best bet: no mucking around with ssh-ing into the
Touch...just include an settings interface in the app to save
descriptive labels and mac addresses.

On FatSC, if the master is coming back from suspend or hibernation,
SrvrPowerCtrl can automatically execute a custom script on wake-up which
could yank your players back.  However, it currently doesn't do this on
an initial boot-up.

If I add the 'alternate msb ip address' feature, then the yank-back
could happen in all instances.

I think I'll go ahead and the user-settable alternate server setting
now.  I'll have to change a fair amount of code, strings and the
settings page to support this, but it's entirely doable.


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

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

Reply via email to