mod_mp3 turns the Apache Web server into an MP3 or Ogg streaming server. It can play from a list of files, either in order or randomly. It can also be used to cache MP3s into memory and have the server operate entirely from memory. It has an XML-RPC interface for you to write interfaces around and supports retrieving information via XML/RSS.
| Licenses | BSD Original |
|---|
Recent releases


Changes: This release adds support for dispatchers to save content as well as meta data. MySQL dispatch has been updated to store content, and to use 4.1's binary protocol. Support for RSS2 and podcast style elements in RSS2 feeds has been added. A Debian issue with the installer has been fixed.


Changes: This release added Apache 2 support and a new ID3 parser that is smaller, faster, and uses less memory.


Changes: Better build support for MySQL, numerous patches for Postgres, and a fix for leaked sockets.


Changes: This version removes the possibility for coring while pattern searching with the internal dispatch. There are a few fixes for RANDOM calls in MySQL dispatch, and the search has been improved through out most of the code (all of them now support standard regular expressions).


Changes: Additional patches for Postgres support have been added. Additional support has been added for directory servers (including links to a mod_mp3 aware directory service).
- All comments
Recent commentsRe: compiling with Apachetoolbox?
> Has anyone had any luck compiling
> mod_mp3 with
> apachetoolbox? For me toolbox runs fine
> but when I
> start the make for apache:
>
> modules.o(.data+0x8): undefined
> reference to
> `mp3_module'
> modules.o(.data+0x1c): undefined
> reference to
> `mp3_module'
> collect2: ld returned 1 exit status
> make[2]: *** [target_static] Error 1
> make[2]: Leaving directory
> `/usr/src/Apachetoolbox-1.5.49/apache_1.3.22/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory
> `/usr/src/Apachetoolbox-1.5.49/apache_1.3.22'
> make: *** [build] Error 2
>
> Any suggestions?
>
What you should do is active DSO mechanism, at the install menu of Apachetoolbox and desactive mp3_module. You install Apachetoolbox without mp3_module... and then after make;make install in the apache_1.3.x directory. Go in src/mod_mp3-03x and type ./configure; make ; make install
It should work now...
Re: Standard Aker-fare: Nearly descriptive
>
> % How exactly are the MD5 sums for the
> % song names are built ? When doing an
> % "echo "Some_Song.mp3|md5sum", I get a
> % different md5sum than mod_mp3 reports
>
> MD5 is generated from the complete
> path, not just the file name. So it
> should generate from something like:
>
> /data/music/Some_song.mp3 instead of
> just Some_song.mp3
If you're doing this in a shell script you need to use echo -n to avoid the newline being included in the md5sum. Had me confused for a while that one.
compiling with Apachetoolbox?
Has anyone had any luck compiling mod_mp3 with
apachetoolbox? For me toolbox runs fine but when I
start the make for apache:
modules.o(.data+0x8): undefined reference to
`mp3_module'
modules.o(.data+0x1c): undefined reference to
`mp3_module'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory
`/usr/src/Apachetoolbox-1.5.49/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory
`/usr/src/Apachetoolbox-1.5.49/apache_1.3.22'
make: *** [build] Error 2
Any suggestions?
Re: Standard Aker-fare: Nearly descriptive
> How exactly are the MD5 sums for the
> song names are built ? When doing an
> "echo "Some_Song.mp3|md5sum", I get a
> different md5sum than mod_mp3 reports
MD5 is generated from the complete path, not just the file name. So it should generate from something like:
/data/music/Some_song.mp3 instead of just Some_song.mp3
Also, for the song to be streamed it must reside in the directory specified by:
MP3 "/data/music"
in your httpd.conf.
Hope this helps,
Scott :-)
Re: Standard Aker-fare: Nearly descriptive
I made nearly the opposite experience. Did not even read the manual, used Apache's DSO mechanism (after fixing paths for apxs and apachectl in the Makefile). Simply "make"d and "make install"ed. Installation was for me a piece of cake.
And it works like a charm.
The only thing I miss is the ChangeLog on the web site.
Anyway, Brian, excellent work , thanx very much!
How exactly are the MD5 sums for the song names are built ? When doing an "echo "Some_Song.mp3|md5sum", I get a different md5sum than mod_mp3 reports ...
(I was working on a sort of interface)
Thanks for your cool mod!
Marv