PDA

View Full Version : controlling squeezebox/slimserver from my own app



Evan Schumacher
2004-08-11, 20:41
Hello,
I have just received my Squeezebox and I am very pleased with its ease of
setup. It was working in minutes. I am developing a software program
specifically for searching and playing well organized classical music
libraries. One of the reasons that I purchased the SB was because I knew
that I could control the slimserver software from my application using
http, which means that I don't need to have a PC with a large external HD
hooked up to my home theater. I have only had a few minutes to play with
this functionality, but I was able to connect to slimserver and get basic
information about the player easily (this makes me happy). I am wondering
if other people have worked on similar projects and if they have any
advice. I want the user to interact solely with my program and have the
slimserver and squeezebox be invisible to the user (ie, they have no idea
that slimserver is running, or what it is, and don't use the web interface
at all). If someone has done something like this, or if you have any good
ideas, please let me know. One of the things I was wondering is how best
to show the current status of the player in my application. It seems to me
the most obvious way to do this is to poll the slimserver for it's status
every second and update my application interface with the results. Is this
stupid, or too much of a bandwidth hog? Is there a way for slimserver to
tell my app when it's status has changed (i.e. end of song).
I'd appreciate any advice. I think SB is a great product.
Thanks,
Evan

marcoc1712
2010-11-30, 18:51
Hi, seems to me we are working on very similar projects...

I've builded up a PERL/JAVA application to grab info and tags from music files, musicbrainz and other services on the web, store it on a DB , then organize and browse the entire collection and feed SBS (I'm using WAV and CUE files, but is the same for other file format).

As you Know, this could be a very time consuming job with classical music, and the applications I've tried did not help much (and a lot of them don't support wave and cue properly), so I've builded mine that is focused on this matter, provviding some 'smart' functionality.

I don't want to build a new server nor a player, but I would like to add just some 'basic' functionality like 'play', but I've no idea in how to do it.

If You want we could share what we did and 'merge' the projects.

Let me know your mind, please.

Marco.

erland
2010-12-01, 01:03
Hi, seems to me we are working on very similar projects...

I've builded up a PERL/JAVA application to grab info and tags from music files, musicbrainz and other services on the web, store it on a DB , then organize and browse the entire collection and feed SBS (I'm using WAV and CUE files, but is the same for other file format).

Ok, this caught my interest, you've got a PM in your forum account inbox

Muele
2010-12-01, 01:17
You do realize OP is 6+ years old?