@ KDEV 2007 Some Rights Reserved
mod_mp3 (by Brian Aker)

Turn foXServe in a MP3 streaming server!

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.

This feature was included from release 1.3.5.

Using this module you can stream MP3 files from every media connected to your foXServe, as usb pen, usb mp3 players hard disks and others!
Enable mod_mp3 on foXServe

Connect to your foXServe shell and type  config

Select (q) Install mod_mp3 - Streaming MP3 file from apache to retrieve the module from the repository

Now you need to edit /etc/httpd.conf to load the new module:

STEP 1: Add the red line to the section

#KDEV load apache module comment to disable
LoadModule php5_module /usr/local/apache/libexec/libphp5.so
LoadModule mp3_module /mnt/flash/libmod_mp3.so
LoadModule dav_module /usr/local/apache/libexec/libdav.so

STEP 2: Add a virtual host at the end of file

Listen 8000
<VirtualHost *:8000>
ServerName mp3.kdev.it
MP3Engine On
P3CastName "Kanta's Tunes"
MP3Genre "Kanta's disco"
MP3 /mnt/flash/root/test
SetEnvIfNoCase User-Agent mozilla is_a_browser
MP3DefaultOperation select
Timeout 120000
ErrorLog /var/music_error_log

LISTEN <port> = represent the port the server listen to for give you the list of MP3 files
MP3Engine <status on|off> = status of mp3 engine
MP3 <path> this is the path to the folder/media that contains your mp3 files

 refer to this README

STEP 3: Load MP3 files on USB pen and mount it on the folder specified by MP3 directive (assumes test)

Copy some MP3 files on the root of a USB pen and attach the pen to a USB port on your fox.
Type from a terminal:
mount -t vfat /dev/sda1 /mnt/flash/root/test/

after that type:
killall httpd
apachectl start
Apache should restart and the module will attempt to create the streming list of songs loading titles from ID3 tag of files.

This function is provided by: http://tangent.org/index.pl?node=libID3

Now you can point you browser to http://<foxserveip>:8000 showing you this output:

Enjoy with your newly MP3 streming server!


mod_mp3 and all related software (libid3) copyright 1994-2006, TangentOrg.

foXServe update

SMS MMS FoxBox the appliance based on foxserve for messaging management

foXServe is Developed by KDEV a Davide Cantaluppi company and running on ACME SYSTEMS srl Hardware.

foXServe update

@ KDEV 2007 Some Rights Reserved
foXServe firmware is free
foXServe firmware
Download it now!


Apache/1.3.37 Server

Copyright 2007 Kdev of Davide Cantaluppi Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

PHP 5.0.5
"This product includes PHP software, freely available from <http://www.php.net/software/>"

This product includes software developed by Greg Stein <gstein@lyra.org> for use in the mod_dav module for Apache (http://www.webdav.org/mod_dav/).