I plan on showing the currently played song on my desktop (preferably using GeekTool). It would be even better if it is possible to switch the radio channel. Any hints on how to start this project (I don't mind programming a bit)? I currently use the default server.
You can open the Squeezebox Server control page in a web browser with the URL:
http://<server_address>:9000/. There you can select a Squeezebox client in the drop-down menue, then control it or watch what is currently played.
Perhaps there is some API for this; anyway I hope this can point you in the right direction. :-)
To give you an idea of where to start...
Much depends on what version you're using. The newer versions are supposedly JSON based.
I use the older version, which includes a telnet interface. If you have the older version, try the following, with your client connected and playing.
telnet YourServerIP 9090 display ?
It'll return a line which will need a bit of parsing, but will contain the title of the currently playing song.
If you don't like working with the command line: use code to pull the following URL:
In either of the above, the data is a "pull". I'm not sure if the server has a "push" available.
The telnet bit, I got from a document that I've had for years. Not sure if it's available online anymore. The URL piece: I looked up on: http://www.fact4ward.com/blog/not-done-yet/squeezebox/
Hope this helps.