This process is *not* intended for “newbies”, or those with very little knowledge of Linux / compiling software!
That being said, let's get on with the directions, shall we?
In order to serve your MP3's over your network (or to the world, should you so be inclined to), you'll obviously need an MP3 server. I use edna for this purpose. It's small, and incredibly easy to setup and configure.
Now, in order to use edna, which is nothing more than a Python. script, you'll need to do the following things.
[Linux] /pathto/cgipython /pathto/edna.py
Or, if they're all in the same directory, it's:
[Linux]./cgipython edna.py
If you've got everything setup correcty, you'll see a simple message saying:
[Linux] cgipython edna.py edna: serving on port xxxx...
If you see this, Great! Simply kill the server with CTRL-C and go on to the next, and last part. If you didn't see this, go back *carefully* through this list and see what you've missed.
Whew!.. Are you still with me? Good. To be able to launch the interpreter automatically at boot time, you can create a simple shell script like the following:
#!/bin/sh
#
# start the edna server.
cd /pathto/cgipython
cgipython /pathto/edna.py
#-------------------------------------------------------------
$DONE
Just name it something like “rc_edna”, chmod +x the script, and stick it in your /mnt/router/rc directory. (where all of your startup scripts hang-out)
I'm by no means an expert with Freesco, or Linux, (my shell scripting is horrid…at best) but, this is exactly how I've done it. The only thing that's I've noticed is that streaming via Samba (from a windows box) will occasionally cause the buffer to run out, and thus the server hiccups/dies. I've solved this partially by simply increasing the buffer in Winamp to something like 5,000. I'm always open to new suggestions, or tips that would make this setup even better.
Oh my…
People actually found my (small) attempt useful / interesting.
As I saw in one of the responses below, someone's already quoted my old post. However, I still have the package for freesco hosted on slack.net for those interested- The web page is quite sparse, just the necessary items / links: http://www.slack.net/~hermit/edna - MP3 Streaming server for Freesco Or, it (might?) be installable directly from your Freesco box with the following command:
installpkg http://www.slack.net/~hermit/edna/edna
or from the 3rd Party Package page
However, I've yet to be able to do this on *my* server as I've already got so many things / packages installed on it
(the package is 781k in size, but almost 3 megs when installed)
I always run out of space on /RAM0.
So, if nothing else, download the script, and TGZ, and copy / move them to /mnt/router/www
Then, issue the following command:
installpkg 127.0.0.1 edna
Just for the sake of convenience, I'll zip 'em all up and put it up there as well.
http://www.slack.net/~hermit/edna/edna.zip or from the 3rd Party Package page
FWIW : I posted a message about a week or so after I made that (long-winded) post asking if there was a way to install a package to /RAM1 or /RAM2. I suppose I'll just have to wait for Freesco 3.0, eh?
Speaking of which, I really outta re-develop this package for 3.0 as well. I'm sure there'll be more questions / requests for it.
What's in this zip ?
edna.tgz
The actual package of edna for Freesco. Contains the CGIPYTHON single-binary interpreter, the edna python script and
it's configuration files.
edna.sh
The installer script used by the 'installpkg' command.
rc_edna
An alternative (and much better than mine) startup script a friend \wrote after perusing the package.
Another MP3 server with FREESCO howto article (unfinished) can be found here.