Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jjohn (22)

jjohn
  (email not shown publicly)
http://taskboy.com/
AOL IM: taskboy3000 (Add Buddy, Send Message)

Perl hack/Linux buff/OSS junkie.

Journal of jjohn (22)

Monday February 11, 2002
09:36 AM

Songs of Experience: Apache::MP3

[ #2773 ]

Lincoln Stein's Apache::MP3 has been fun to play with. It's nice to have tunes in the bedroom as well as the living room. The machine that hosts the streaming mp3 server was somewhat underpowered when I started, both because it had merely 64M of RAM and only 300M of free hard drive space (of course, that was awesome in 1998). Although I was able to smoothly able to put in 256M of RAM, the BIOS didn't like the new 40G Western Digital hard drive. Instead, I found an old 4G hard drive that I pressed into service. I formated the drive with the reiser journaling filesystem to see how that works. I should crash the machine to test it, but I'm too chicken. Never mind: my neighborhood's power will fail soon enough.

I'll be subclassing Apache::MP3 so that it should the remain free space on the drive hosting the mpegs. It may not be portable, but I don't care. :-p.

The only really problem I've noticed with the streaming is that the last second of every track is clipped. I'm not sure what's up with that. Is there somekind of pause I can put in so that just because the client player sees the end of the stream, it won't fetch the next track until it finishes playing the current one? This already sounds like a client-side problem, but I'm experiencing it with both Windows Real Player and Linux XMMS. If you have a solution for this problem, please drop me a note.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.