Apache::MP3 4.00 review

Download
by rbytes.net on

Apache::MP3 is a Perl module that can generate streamable directories of MP3 and Ogg Vorbis files. SYNOPSIS # httpd.conf or sr

License: Perl Artistic License
File size: 320K
Developer: Lincoln Stein
0 stars award from rbytes.net

Apache::MP3 is a Perl module that can generate streamable directories of MP3 and Ogg Vorbis files.

SYNOPSIS

# httpd.conf or srm.conf
AddType audio/mpeg mp3 MP3
AddType audio/playlist m3u M3U
AddType audio/x-scpls pls PLS
AddType application/x-ogg ogg OGG

# httpd.conf or access.conf
< Location /songs >
SetHandler perl-script
PerlHandler Apache::MP3
< /Location >

# Or use the Apache::MP3::Sorted subclass to get sortable directory listings
< Location /songs >
SetHandler perl-script
PerlHandler Apache::MP3::Sorted
< /Location >

# Or use the Apache::MP3::Playlist subclass to get persistent playlists
< Location /songs >
SetHandler perl-script
PerlHandler Apache::MP3::Playlist
< /Location >
A demo version can be browsed at http://www.modperl.com/Songs/.

This module makes it possible to browse a directory hierarchy containing MP3, Ogg Vorbis, or Wav files, sort them on various fields, download them, stream them to an MP3 decoder like WinAmp, and construct playlists. The display is configurable and subclassable.

NOTE: This version of Apache::MP3 is substantially different from the pre-2.0 version described in The Perl Journal. Specifically, the format to use for HREF links has changed. See Linking for details.

Requirements:
Perl

Apache::MP3 4.00 search tags