So you’ve got a new Blu-Ray player or Smart TV, and it has DLNA. Wouldn’t it be nice if you could listen to all of that music on the USB flash drive or hard drive that is attached to your Volumio system. You can, but it’s going to require a little bit of manual editing.
The reason that it was disabled is that there are performance issues with the Raspberry Pi when streaming from the DLNA server and playing music on the PI at the same time. If you can deal with this, here is how you re-enable it.
First, on the volumio/ web page, click on MENU, and then System, and make sure that DLNA Library Server is ON. Reboot if you just turned it on.
Then point your web browser to volumio:8200/ . You should see that the DLNA server is running, but it isn’t serving up any files. So how do we fix this? This next part has to be done manually.
Start up your SSH program (Putty) on your PC, or hook up a keyboard and monitor to your Pi, and log into Volumio (user: root pw: volumio)
We are now going to edit a file.
nano /etc/minidlna.conf
Remove the leading # from this line
#media_dir=/var/lib/mpd/music
then save it by doing a bO[/b] and exit by doing a bX[/b]
You can restart the DLNA server with the following command
service minidlna restart
or you can reboot.
If you refresh volumio:8200/ , you should notice that the DLNA server can now see the your files. Your DLNA server is ready to go.