mugent
2007-03-28, 03:42
Hi,
I am looking at writing a Mac OS X app that can control my SqueezeBox, at the moment I have written a little test app that can turn it on and off, change volume etc...
It currently works by effectively pretending to be a web browser and sending HTTP URL requests to the web server, this works fine for simple things, but I'm not sure how to get, for example, a list of tracks without parsing the HTML returned.
My question is, is this the best way to achieve my goal, or should I be using the UDP based protocol?
Note: This isn't a Softsqueeze style app, i.e. it does not play music, it's just a replacement for the existing web site method of controlling the SqueezeBox.
Thanks a lot
Moray
I am looking at writing a Mac OS X app that can control my SqueezeBox, at the moment I have written a little test app that can turn it on and off, change volume etc...
It currently works by effectively pretending to be a web browser and sending HTTP URL requests to the web server, this works fine for simple things, but I'm not sure how to get, for example, a list of tracks without parsing the HTML returned.
My question is, is this the best way to achieve my goal, or should I be using the UDP based protocol?
Note: This isn't a Softsqueeze style app, i.e. it does not play music, it's just a replacement for the existing web site method of controlling the SqueezeBox.
Thanks a lot
Moray