Here's one I found and once used.  Copy to a batch file named as you
please.  You have to find a way to call that file from within LMS.  I
think this capability exists within "Server Power Control" plugin which
I was also using at that time.  IIRC, it showed up in both web GUI and
mobile app.


Code:
--------------------
    
  @echo off
  
  ::adapt the following set statements
  set netcat=C:\Progra~1\Netcat\nc.exe
  set lmsip=127.0.0.1
  set lmsport=9090
  
  ::send the commands via netcat using a timeout of 1 second
  ::replace "ip.ad.dr.es.s#" with ip address of each player
  echo ip.ad.dr.es.s1 power 0 | "%netcat%" -w1 -vv %lmsip% %lmsport%
  timeout /t 1
  echo ip.ad.dr.es.s2 power 0 | "%netcat%" -w1 -vv %lmsip% %lmsport%
  timeout /t 1
  echo ip.ad.dr.es.s3 power 0 | "%netcat%" -w1 -vv %lmsip% %lmsport%
  timeout /t 1
  echo ip.ad.dr.es.s4 power 0 | "%netcat%" -w1 -vv %lmsip% %lmsport%
  timeout /t 1
  echo ip.ad.dr.es.s5 power 0 | "%netcat%" -w1 -vv %lmsip% %lmsport%
  timeout /t 1
  echo ip.ad.dr.es.s6 power 0 | "%netcat%" -w1 -vv %lmsip% %lmsport%
  timeout /t 1
  echo ip.ad.dr.es.s7 power 0 | "%netcat%" -w1 -vv %lmsip% %lmsport%
  
--------------------


------------------------------------------------------------------------
Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738
View this thread: http://forums.slimdevices.com/showthread.php?t=109032

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

Reply via email to