Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Help with mod_mp3 streaming server UNIX
I have recently tried setting up a MP3 server using mod_mp3, but so far have had trouble streaming my files.

If anyone who has had experience setting this up could please share there experiences and httpd.conf directives, that would be great.
    •    
  • Currently 4.33 / 5
  You rated: 5 / 5 (3 votes cast)
 
[3,576 views]  

Help with mod_mp3 streaming server | 3 comments | Create New Account
Click here to return to the 'Help with mod_mp3 streaming server' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
this works for me
Authored by: j|m on Sep 19, '01 09:45:21PM

<Location /mp3blaster>
MP3Engine On
MP3CastName "My Cool Music Stream"
MP3Genre "Assorted"
MP3 "/path/to/music/directory"
MP3Random On
</Location>

so then I load "http://localhost/mp3blaster" from iTunes and all is well. very handy to play music across the network to a remote machine hooked up to a BIG stereo.



[ Reply to This | # ]
this works for me
Authored by: MHerberg on Sep 19, '01 11:28:57PM

This still doesn't seem to work for me. Can you post a portion of your HTTPD.CONF or be more specific.

Thanks.



[ Reply to This | # ]
More Specifics
Authored by: MHerberg on Sep 20, '01 07:51:53AM

Here's my httpd.conf and error_log

HTTPD.CONF
--------------------------------------------------

...skip...

LoadModule mp3_module libexec/httpd/mod_mp3.so

...skip...

AddModule mod_mp3.c

...skip...

<IfModule mod_mp3.c>

<Location /mp3>

# Toggle the MP3 module On/Off.
MP3Engine On

# Control the number of connections to mod_mp3.
MP3LimitPlayConnections 2

# Name this radio station.
MP3CastName "Matt's Tunes"

# Give your Station a format type.
MP3Genre "Various"

# Multiple MP3 directives are allowed.
MP3 "/Users/mherberg/Music"

# This can increase the performance on large collections, but not dramatically.
#MP3Playlist /data/playlist.m3u

# Toggle the stream mode On/Off
#MP3Stream On

# Randomize (aka shuffle) the mod_mp3 internal playlist for playback.
MP3Random On

# The Default Operation is referring to the url string passed to mod_mp3.
MP3DefaultOperation select

</Location>

</IfModule>

...skip...

ERROR_LOG
--------------------------------------------------

[Thu Sep 20 07:42:24 2001] [notice] Apache/1.3.20 (Darwin) mod_mp3/0.25 PHP/4.0.
6 configured -- resuming normal operations
[Thu Sep 20 07:42:37 2001] [error] [client xxx.xxx.xxx.xxx] File does not exist:
/Library/WebServer/Documents/mp3

--------------------------------------------------

Thanks in advance for any help.

PS: I x'ed out my IP address



[ Reply to This | # ]