Why not do something like this?

1) Set up your Linux box and run the Apache webserver on it.

2) Set up either a drive share (NFS) or an FTP server on the Windows NT
   box so that the Linux box can somehow get files from the NT box.

3) Write a simple CGI script (using Perl perhaps) that takes a filename
   parameter (like http://my.linux.box/playmp3.pl?file=Foo%2fbar%2fbaz.mp3

   The script, which is running under the Apache web server on your
   Linux box, would copy (or FTP download) the MP3 from the NT box
   and then start playing it (or add it to a playlist).

4) Set up a web page with a <FORM ACTION="playmp3.pl"> on it that asks
   you to type in the filename (relative to the NT shared directory).
   Let the browser be your front end for you.

That's the simple (3 hours) solution. If your objective is to have a
fun, non-trivial programming assignment, then this of course will not
work for you.

        c

On Tue, 22 Feb 2000, Min Pae wrote:

> I'm tinkering with the idea of having an old i486 SX/33 (which I'll probably
> upgrade to Pentium 83 with an OverDrive processor) with linux be an MP3
> "server", with a front end implemented under Win32.  Basically the "server"
> will play the MP3s through its own sound system, while grabbing files from a
> file server, or perhaps having the "client" send the file(s) to the server
> and have the server cache those files on its local hard drive.  This is
> quite an ambitious project for me, since I've done no programming in the
> past other than for my classes (I'm a college sophomore majoring in CS).
> The reason I'm writing to this list is because I thought I could perhaps get
> some direction from more experienced developers.  If anyone can help me get
> started, it'd be greatly appreciated.
> 
> First thing I need is a short blurb on what the most basic/important parts
> of the source code(s).  In other words, what are the most basic components
> that I need in order to get a freeamp derivative to play an mp3 in a linux
> command line, and what parts of the source(s) should be modified to allow it
> to function under a command line interface.  Especially, which parts of the
> code is for loading the file referenced, and which are for the decoding, and
> which are for outputting, etc.
> 
> Second step will probably be for me to learn network programming via good
> 'ol tcp/ip.  Does anyone know of a good reference for network programming
> beginners?  Preferably one that covers both Linux/Unix and Win32.
> 
> Third step will be to make the interface, and I'm thinking that I might want
> to use freeamp, I'm guessing that it uses plug-ins to decode like winamp
> does.  I'm not a user of freeamp just yet, so I don't know for sure.  But
> assuming it does, some help in the way of an outline on how plug-ins exactly
> work would be very helpful.
> 
> Thank you all for your time, and thank you in advance to anyone who helps
> out.
> 
> Min Pae
> "Life is pain, highness.
>  Anyone who says differently is selling something" - Wesley, Princess Bride.
> 
> _______________________________________________
> [EMAIL PROTECTED]
> http://www.freeamp.org/mailman/listinfo/freeamp-dev
> 

----------------------------------------------------
| Chad Loder - Somerville, MA, USA                 |
| EMail:     [EMAIL PROTECTED]                        |
| Home Page: http://www.ccs.neu.edu/home/cloder    |
----------------------------------------------------



_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev

Reply via email to