art.m Wrote: > > Any suggestions where to start? > You can use what Andy suggested to me a while back:
andyg Wrote: > > On Dec 31, 2007, at 2:32 AM, pichonCalavera wrote: > > > > > I tested it, and it\'s working ok, I could turn off a Squeezebox > player > > from the Squeezenetwork CLI. Thanks! > > > > But I guess since it\'s not very used, it will not be entirely > > supported, and what I\'m trying to do is just some small thing. > > > > Is there a way to turn off a Squeezebox player connected to > > Squeezenetwork using a Web URL?, like for example I know you can use > > http://www.squeezenetwork.com/player...nect?player=id to > > disconnect > > the player, but is there a similar way to turn it off? > > > > I\'m just trying to learn how all this (Squeezecenter, SN, etc.) > works, > > so the best way is to start with something small, and all I want to > do > > is to always display something in my Squeezebox, because I shut down > > > my > > Server every night, and the idea is to automatically connect to > > Squeezenetwork, and then turn the player off once the player is > > connected to Squeezenetwork when the PC is shutting down, so that my > > Squeezebox shows the clock (not exactly the most important thing > ever > > :P ) > > Sure, you can do this instead: > > http://www.squeezenetwork.com/netcontrol/netcontrolxml? > player=<id>&p0=power&p1=0 > > Change p1 to 1 to turn it back on. You can execute most any CLI > command using this method, although you cannot receive the CLI > response. > > Access just /netcontrol/netcontrolxml to get a list of all your > players and their IDs. > -- pichonCalavera *rip* (eac) > *convert* (flac) > *tag* (musicbrainz) > *normalize* (replaygain/foobar2000) > *albumart* (winamp) > *transport* (winscp) > *store* (debian) >*rescan* (slimserver) > *play* (squeezebox) > *hear* (sennheiser) > *scrooble* (last.fm) > *enjoy* (me :) ------------------------------------------------------------------------ pichonCalavera's Profile: http://forums.slimdevices.com/member.php?userid=13068 View this thread: http://forums.slimdevices.com/showthread.php?t=43482 _______________________________________________ squeezenetwork mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/squeezenetwork
