Apesbrain wrote: > I did find the CLI "power" command but it doesn't seem able to address a > group of players. There is an LMS pref regarding power state synching in a group (Prefs>Player_name>Synchronize>"Synchronize power") If set to yes, then powering on/off one player will power on/off all players in the sync group.
I never use power sync, I use the powersave plugin instead --and ServerPowerControl can work too. I just tested though -LMS 7.9, recent enough-, and power off in a sync group doesn't seem to work well with players that use IR Blaster (the "slave" SB3 did power off, but the amp did not.) Personally I would loop among the players list and power off each one separately, and keep power states sync off in LMS prefs. Won't be any slower, and would probably be more robust. Don't forget to make your script resistant to zombie players. If you use more than 1 LMS server, or mySB.com, players that have moved to another server tend to linger in the list of attached players for a few seconds/minutes. Sending a command to a zombie player will throw an error. 4 SB 3 iPeng (iPhone + iPad) Squeezebox Server 7.9 (linux) with plugins: CD Player, WaveInput by bpa IRBlaster by Gwendesign (Felix) Server Power Control by Gordon Harris Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger PowerSave by Jason Holtzapple Song Info, Song Lyrics by Erland Isaksson WeatherTime by Martin Rehfeld ShairTunes2 by disaster123 Local Player, BBC iPlayer by Triode Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins. ------------------------------------------------------------------------ epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=104543
_______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
