On this page

Share Your Music Collection With gnump3d

So, you have a large collection of mp3 or ogg files and you want to share it with your buddy in your working place? Or perhaps you want to share it with your neighbour? Whoever you want to share your collection with is not the matter that we want to discuss here. If you are a Windows user you might often share your files, perhaps including your music files via SMB protocol, just as simple as right click, properties, sharing, checking several boxes and it’s ready to be shared. It might be different if you are UNIX or perhaps simply Linux guys, you might share your collection via NFS. You might think that it will be great running an FTP or HTTP server to share it, but remember that the users still have to download it to their own computers before they can listen. So, here’s gnump3d to help you share your collection.
Gnump3d is a streaming server. Although the name is using mp3, it can serve ogg, too, so don’t worry that you have convert all your mp3s to oggs because gnump3d can serve it, too.

Downsampling

This service will mostly run on a LAN, but what if you want to serve internet users, or just simply want to make the bandwidth usage more efficient. What you need is downsampling, and it happens on the fly.

To enable downsampling you need to uncomment this line:

# downsample_enabled = 1

If it is commented another setting related to downsampling will be ignored by gnump3d.

Gnump3d uses suffix to control downsampling, so you need a different downsampling program for mp3 and ogg. The default pattern for downsample is:

Protecting Your Collection

You might want to protect your collection against unauthorized users. You can do this by using the allowed_clients and denied_clients settings or by protecting it with password. When using the allowed_clients setting you just need to supply the IP address or network address with its subnet. The same applies to the denied_clients setting.

If you want to use passwords, you need to uncomment the line (still in /etc/gnump3d/gnump3d.conf)
# enable_password_protection = 0
and change it to
enable_password_protection = 1.
After that make a file in your collection's root (mine is /home/mp3) named .password (be careful, don't forget to include the dots so that the file will be hidden).
The file contains a username-password pair like this:

username:password
username1:password1

For example:

sumodirjo:secretpassword

Don’t forget that the .password file must be readable by the user who runs gnump3d. That’s all for this time, have a nice time sharing and streaming your collection.

Suggested articles

4 Comment(s)

Comments

So, you have a large collection of mp3 or ogg files and you want to share it with your buddy in your working place? Or perhaps you want to share it with your neighbour? Whoever you want to share your collection with is not the matter that we want to discuss here. If you are a Windows user you might often share your files, perhaps including your music files via SMB protocol, just as simple as right click, properties, sharing, checking several boxes and it’s ready to be shared. It might be different if you are UNIX or perhaps simply Linux guys, you might share your collection via NFS. You might think that it will be great running an FTP or HTTP server to share it, but remember that the users still have to download it to their own computers before they can listen. So, here’s gnump3d to help you share your collection. Gnump3d is a streaming server. Although the name is using mp3, it can serve ogg, too, so don’t worry that you have convert all your mp3s to oggs because gnump3d can serve it, too. ___________________ Submited by :

FYI, if you already have a Apache web server running (or if you plan to have one), you can use musicindex to stream your music. The advantage is that you can additionnaly benefit from any other feature of Apache (authentication, encrypted over ssl, etc). It is quite simple to setup. Details here: Stream your music with musicindex