XMMS Hanging with mod_mp3 in Linux

Jon Buda <[email protected]> Thu, 15 Aug 2002 11:10:47 EST
Newsgroups gmane.comp.apache.mod-mp3
Organization Kalamazoo College
Message-ID <[email protected]>
hello everyone,

I just ran into a problem while streaming music to my xmms player in
Linux.  I am creating a web based interface for mod_mp3 and I am
listening to the music from the same computer it is streaming from.  The
problem is is that every once in a while, XMMS will lock up and say it
cant get the music that was requested.  The way I am sending the music to 
XMMS is from a PHP script that first retrieves the md5 signature of the
songs I want from the DB, then sets the header 'header(Content-Type:
audio/mpegurl)' then loops through the results of the query and for each
one sends the following: 'echo
"http://serveraddress:8000/?op=play&song=43h5j34h5325j4h45k43\n"'

This works and sends all of the songs to XMMS in the playlist.  However,
sometimes when tying to go to the next song, xmms locks up and just cant
get the song.  I dont know if it is the case with winamp, be cause I am
testing in Linux.  I did notice that when I send the playing and then do
a 'ps aux'  there are lots of processes for xmms that look like
'/usr/local/bin/xmms /tmp/playlist.php'
/tmp/playlist.php contains the links to the songs, but I dont know why so 
many processes are spawned.  Shhould it be doing this?  Has anyone else
run into problems with mod_mp3 not able to get songs sometimes?  I am
using version .35

thanks for any help.
let me know if there is a better way to send the links to XMMS through PHP.

Jon Buda