gorman;388077 Wrote: 
> 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!

If you are talking about automatically reconnecting players to the
local server from SqueezeNetwork upon server resume, why not just use
the plugin as it's designed and let it do it's job?  You can disable
(by un-checking in the settings) ALL of SrvrPowerCtrl's features EXCEPT
for "Restore SqueezeNetwork connected players on wakeup?" and "Take
other action on wakeup?". You can leave the "On wakeup command:" value
blank.  This ought to do exactly what you want with no additional
scripts necessary.  Is this not working for you?

If you are talking about wanting to automatically restore players from
SN in some other context (i.e. NOT on resume) then you really need to
communicate with SqueezeCenter via the CLI.  This would have NOTHING to
do with SrvrPowerCtr.

Download SCCLITool from here:
http://forums.slimdevices.com/showthread.php?t=52951

Then write a batch file like this:

Code:
--------------------
    
  @echo off
  set SCIP=yourserverip
  set CLIPORT=9090
  set MACADDR=00:04:20:10:01:09
  
  SCCLITool.exe %MACADDR% connect %SCIP% -w 5 -h %SCIP% -p %CLIPORT%
  
--------------------

Of course, you'll need to fixup the values of "SCIP" with the ip of
your local server and set the value of "MACADDR" with the MAC address
of your player.


-- 
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/lists/listinfo/plugins

Reply via email to