GnuMP3d is a streaming music server. It streams MP3 and Ogg files into a network. It is possible to play those streams with mediaplayers like VLC, WinAMP, XMMS, and many more. Additionally, use it as a database with a search function for the music files.
GnuMP3d searches for music in the directory /var/mp3 on the IPFire, so files must be stored there. You also may create a symlink in /var/mp3 to the music directory with:
ln -s /source /destination
If you copy/link new files/folders into the music directory, just do a
on the console to update the index. The new files can then be found via the search function.
Gnump3d has its own webinterface which can be accessed via
Heres a small guide to access the gnump3d from outside (internet); with a password protection by the mod_proxy module of the Apache.
htpasswd -c /etc/gnump3d/gnump3d.user user1
create the first user (replace user1 with you desired user name). The password dialog will follow.
htpasswd /etc/gnump3d/gnump3d.user user2
(without the -c you can create more users, if needed)
use_client_host = 0 # is rather far down in that config and is out-commentated! host_rewrite = externalurl:8889 # replace external URL by your dyndns name or IP
Restart Apache with
Restart Gnump3d with
and test it.
This nice function was enabled by Arne F.!! Thanks again here.
In order to disply the album cover on the webpage the following changes have to be done
directory_format = <tr><td width="10%"> </td><td><a href="$LINK">$DIR_NAME</a>$NEW</td><td>$SONG_COUNT</td><td>$DIR_COUNT</td><td>[$RECURSE]</td></tr></a>
directory_format = <tr><td><a href="$LINK"><img src="$LINKfolder.jpg" width="100" height="100" border ="0" alt="image not found"></a></td><td><a href="$LINK">$DIR_NAME</a>$NEW</td><td>$SONG_COUNT</td><td>$DIR_COUNT</td><td>[$RECURSE]</td></tr></a>
Note the PRECONDITION is that the album covers have the name "folder.jpg".
The result looks like this