mec02;521165 Wrote:
> Hi
>
> I'm testing SPC because i need to check if one Squeezebox is playing.
> So i testet unter "Idle Player Monitor:" the option "Optional action to
> take while not idle:" with this commandline:
> "c:\windows\system32\cmd.exe /C time /t >> D:\squeeze.txt"
>
> The problem is that the time is written every minute if the SB plays
> music or is switched off with remotecontrol (SB shows time).
>
> How can i check if SB plays music and isn't switched off.
>
> kind regards
> mec
That 'not idle' command really shouldn't fire off if no players are
playing and if the system is otherwise 'idle' (i.e. not scanning, not
updating firmware, etc.) So, I'm not completely sure what you're trying
to accomplish here and why you're seeing the behavior you're seeing.
To test if a specific player is "off", you could try a CLI command
something along the lines of:
Code:
--------------------
scclitool.exe %player_mac% power ? | find "power 1" & if errorlevel 1 time /t
--------------------
..replacing "%player_mac% with the mac address of the player you're
interested in. Replace the "power 0" with "power 1" to test if a player
is "on" rather than "off".
--
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/mailman/listinfo/plugins