Re: MP3 "server"
check out obs.freeamp.org elrod Allegar Robert wrote: > I've actually put a lot of thought into this problem. I have 400+ CDs, and > am tired of using them. I want to encode my entire collection to MP3s. I > figure I will need about 50 gigs or so, which I'm not too concerned with. > > The problem I've been having is actually writing the front end. The back end > is simple enough -- you just create a directory structure with several > top-level mounting points, and come up with a scheme that you stick to. For > example, top-level -: Band Name -: Album name -: Disc name -: > songNumber_SongTitle.mp3. This works fine for most bands. Some, like > Orbital, have multiple albums with the same name, but the exceptions are > few. > > The real heart of the matter is pure bandwidth. I've actually tried setting > up a solution that involved a web download -- which, not suprisingly, was > already mentioned -- but it still takes on the order of 5-20 seconds to > "download" the song from the file server to the local server. This is > unacceptable to me. > > I want an interface that allows me to send an "open file" request to the OS > and lets the OS handle all the file processing. Why re-invent a pretty good > process? In order for this to happen, however, you need to write code that's > native to the machine you're programming on, and you get no value over say a > MusicMach Jukebox. > > Either the bandwidth needs to be increased, or you need to write a > stand-alone app that can leverage the underlying OS code to handle > processing. > > I'm not sure how www.myplay.com does it. Even on a redundant T3, a 5 MB file > is still slow to download, taking at least 5-10 seconds. > > Rob > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Min Pae > Sent: Tuesday, February 22, 2000 2:59 PM > To: [EMAIL PROTECTED] > Subject: MP3 "server" > > 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 > > ___ > [EMAIL PROTECTED] > http://www.freeamp.org/mailman/listinfo/freeamp-dev ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
RE: MP3 "server"
On 22 Feb, Allegar Robert wrote: > I've actually put a lot of thought into this problem. I have 400+ CDs, and > am tired of using them. I want to encode my entire collection to MP3s. I > figure I will need about 50 gigs or so, which I'm not too concerned with. > > The problem I've been having is actually writing the front end. The back end > is simple enough -- you just create a directory structure with several > top-level mounting points, and come up with a scheme that you stick to. For > example, top-level -: Band Name -: Album name -: Disc name -: > songNumber_SongTitle.mp3. This works fine for most bands. Some, like > Orbital, have multiple albums with the same name, but the exceptions are > few. I've got a project called Obsequieum that is a networked streaming jukebox. All the files reside on the server and there is a web interface for choosing what files will get streamed next. The system has complete scripts for ripping a CD into the system automatically with virtually no human intervention. If you're interested in checking it out in detail and seeing a demo user interface check out: http://obs.freeamp.org > The real heart of the matter is pure bandwidth. I've actually tried setting > up a solution that involved a web download -- which, not suprisingly, was > already mentioned -- but it still takes on the order of 5-20 seconds to > "download" the song from the file server to the local server. This is > unacceptable to me. Obsequieum uses a play queue to decide what to play next, and a number (user configurable) of tracks are 'locked' so the system has a chance to cache them locally before streaming them out. It would be easy to write a new device handler that downloads files from whereever you'd like it to. Shouldn't be much work. --ruaok Freezerburn! All else is only icing. -- Soul Coughing Robert Kaye -- [EMAIL PROTECTED] http://moon.eorbit.net/~robert ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
RE: MP3 "server"
I've actually put a lot of thought into this problem. I have 400+ CDs, and am tired of using them. I want to encode my entire collection to MP3s. I figure I will need about 50 gigs or so, which I'm not too concerned with. The problem I've been having is actually writing the front end. The back end is simple enough -- you just create a directory structure with several top-level mounting points, and come up with a scheme that you stick to. For example, top-level -: Band Name -: Album name -: Disc name -: songNumber_SongTitle.mp3. This works fine for most bands. Some, like Orbital, have multiple albums with the same name, but the exceptions are few. The real heart of the matter is pure bandwidth. I've actually tried setting up a solution that involved a web download -- which, not suprisingly, was already mentioned -- but it still takes on the order of 5-20 seconds to "download" the song from the file server to the local server. This is unacceptable to me. I want an interface that allows me to send an "open file" request to the OS and lets the OS handle all the file processing. Why re-invent a pretty good process? In order for this to happen, however, you need to write code that's native to the machine you're programming on, and you get no value over say a MusicMach Jukebox. Either the bandwidth needs to be increased, or you need to write a stand-alone app that can leverage the underlying OS code to handle processing. I'm not sure how www.myplay.com does it. Even on a redundant T3, a 5 MB file is still slow to download, taking at least 5-10 seconds. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Min Pae Sent: Tuesday, February 22, 2000 2:59 PM To: [EMAIL PROTECTED] Subject: MP3 "server" 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 ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: MP3 "server"
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 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