NOTE: The actual streaming portion of the script is currently not working - ironic, I know. I don't have a ton of experience in streaming, but for anyone at all out there who wants to help out, the code is in the repository and a simple post anywhere will get my attention!
The aim of this little script is to provide an interface like the one found on iPod touches and iPhones, but for music that is to be streamed. I utilized the excellent iUi, which without this script could never be.
The script is in the form of a Rails application, simply because Rails is a capable framework with a built in server, and I love ruby! In the future, any C/Cocoa developers are welcome to join the party and throw it into a real, native application that can run on the host machine.
To install, get the script from SVN. Create a(n empty) database and then open up config/database.yml and fill out the development part. Then open lib/tasks/fill.rake and change the directory variable if that's not where you keep your music. id3lib-ruby is REQUIRED for the parsing of ID3 tags - it couldn't be simpler to install, just use sudo gem install id3lib-ruby and presto, you're good to go. (I'm sure if this turns into a real app we can make an agreement with Robin Stocker, creator of id3lib-ruby, to bundle it.) Open up Terminal (or the command line...) and rake build:music. A list of all your music will be displayed as each song is read and put into the database.
Start up the terminal and navigate to localhost:3000/, and voila, there it is.
The main purpose of this group is to get word out so that we can find a way to stream the actual file. (The file's location is stored in a column in the database.)
Once again, iUi is the main workhorse behind all this, so go check it out if you're also building a MS application!
These details are provided for information only. No information here is legal advice and should not be used as such.