Here is the slightly updated of my snstatus.pl script, that now works with mySB.com No changes really, beyond replacing www.squeezenetwork.com with www.mysqueezebox.com.
The Boom "Nawlins" goes to mySB, plays radio, gets turned off then disconnected from mySB. Code: -------------------- otto:/usr/local/bin# ./mysbstatus_json.pl [./mysbstatus_json.pl] Starting. Status updates every 25 secs at most. Press Ctrl-c to break. Opening session with www.mysqueezebox.com Login success. Got cookie [Set-Cookie3: sdi_squeezenetwork_session=304971%3AzUmVXKStabyXyyJ1Lv2mH4BLAiU; path="/"; domain=www.mysqueezebox.com; path_spec; expires="2010-10-11 14:37:17Z"; version=0] [1255271837] Player [Georgetown] current status: not on mySB [1255271837] Player [Yalta] current status: not on mySB [1255271837] Player [Antibes] current status: not on mySB [1255271837] Player [Nawlins] current status: not on mySB [1255271837] Sleeping 25 more seconds ... [1255271862] Sleeping 25 more seconds [1255271898] Player [Georgetown] current status: not on mySB [1255271898] Player [Yalta] current status: not on mySB [1255271898] Player [Antibes] current status: not on mySB [1255271898] Player [Nawlins] current status: on mySB, power on Mode stop 2 Alarms [58...@0,6: loop://www.mysqueezebox.c | 33...@1,2,3,4,5: http://kexp-mp3-2.cac.was] [1255271898] Sleeping 14 more seconds [1255271922] Player [Georgetown] current status: not on mySB [1255271922] Player [Yalta] current status: not on mySB [1255271922] Player [Antibes] current status: not on mySB [1255271922] Player [Nawlins] current status: on mySB, power on Mode play, Title [Segalanya Di Sini Menggamit Memori] by [Klasik Nasional FM 98.3] from [mms://a935.l2475250934.c24752.g.lm.akamaistream.net/D/935/24752/v0001/reflector:50934](Volume: 12) 2 Alarms [58...@0,6: loop://www.mysqueezebox.c | 33...@1,2,3,4,5: http://kexp-mp3-2.cac.was] [1255271922] Sleeping 15 more seconds ... [1255271947] Sleeping 15 more seconds [1255271973] Player [Georgetown] current status: not on mySB [1255271973] Player [Yalta] current status: not on mySB [1255271973] Player [Antibes] current status: not on mySB [1255271973] Player [Nawlins] current status: on mySB, power off Mode stop 2 Alarms [58...@0,6: loop://www.mysqueezebox.c | 33...@1,2,3,4,5: http://kexp-mp3-2.cac.was] [1255271973] Sleeping 14 more seconds [1255271987] Player [Georgetown] current status: not on mySB [1255271987] Player [Yalta] current status: not on mySB [1255271987] Player [Antibes] current status: not on mySB [1255271987] Player [Nawlins] current status: not on mySB [1255271987] Sleeping 25 more seconds ^C Exiting after 7 runs. -------------------- +-------------------------------------------------------------------+ |Filename: mysbstatus_json.pl.gz | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=8392| +-------------------------------------------------------------------+ -- epoch1970 ------------------------------------------------------------------------ epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins