I'd like to give my Windows always-on-music-server PC unattended control
of my SqueezeBox reveicer, ie. query to see if the receiver is idle, and
if so switch it to SqueezeNetwork/mySqueezeBox.com and power off the
receiver.

I read the help file about the CLI, but while it lists all the commands
it doesn't actually tell you HOW to send/execute the commands on the
receiver.

Ideally I was hoping for a simple SqueezeBox command line tool
(SBcom.exe?), so I could use it in batch scripts like this:

Code:
--------------------
    SBcom.exe query idle
  IF ERRORLEVEL 1 GOTO NotIdle
  ECHO SqueezeBox reveicer idle - switching it to mysqueezebox.com and powering 
off>>%log%
  SBcom.exe connect mysqueezebox.com
  SBcom.exe power off
--------------------


Running SqueezeCenter/SqueezeBox Server 7.4 on a Windows XP.

(I know there are SqueezeBox Server plugins which can do almost the
same thing, but I'd much prefer to let my server scripts handle this :))


-- 
Innocence
------------------------------------------------------------------------
Innocence's Profile: http://forums.slimdevices.com/member.php?userid=31572
View this thread: http://forums.slimdevices.com/showthread.php?t=68719

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

Reply via email to