RE: XMMS Hanging with mod_mp3 in Linux

"Disnard, Jon" <[email protected]> Fri, 16 Aug 2002 10:01:38 -0400
Newsgroups gmane.comp.apache.mod-mp3
Message-ID <[email protected]>
I know that mpg123, xmms, and amp parse argv for the string "^http://",
and change their behaviors accordingly. Since shout streaming, and
mod_mp3 are based on http, it would behoove anybody using these mp3
decoders to prefix the "http://" string to the arguments passed to them
when using mod_mp3. =)

In regards to xmms issues mentioned previously, I use php to create m3u
playlist that are delivered to xmms via Netscape or mozilla, and it
works great! I would recommend that people avoid using php to open a
mod_mp3 streama, and pass it through to the browser. The previous
mention of this was a bit ambiguous on this, and I'm not sure if this is
what was happening or not? I any case, php is best suited to NOT be the
stream-caster itself, and to simply let mod_mp3 handle that stuff. 

If you want to look at some good examples, take peek at Ampache's
playlist.php, or my playlist.php in the Mummi project.

-Jon



-----Original Message-----
From: Kyle Davenport [mailto:[email protected]] 
Sent: Thursday, August 15, 2002 07:57
To: [email protected]
Subject: Re: [Mod_mp3] XMMS Hanging with mod_mp3 in Linux


xmms has also hung for me, not 100% sure why, but usually when I was
using an url without "http://" prefixing it.  When it does this I have
to kill all the xmms processes.  (There's 4 xmms processes in standby
and more for every xmms plugin you enable).  In these circumstances, I
notice mod_mp3 is just fine and plays thru plugger as expected (In
/etc/pluggerrc I have:

...(several mimetypes)...
audio/x-mpeg: mpa,abs,mpega: MPEG audio
        stream, preload: esddsp mpg123 -q -b 128 -
        many: esddsp mpg123 -q -b 128 $file

[esddsp if you use esound - newer versions of mpg123 probably don't
require this]

If you don't use plugger, you can edit ~/.mime.types and add to
~/.mailcap
this:

audio/mpeg;mpg123 -q -; stream-buffer-size=8000

and the browser will prompt you to download all or stream into buffer to
play immediately.


_______________________________________________
Mod_mp3 mailing list
[email protected]
http://lists.tangent.org/mailman/listinfo/mod_mp3