Jump to content

Setup a DLNA renderer on the server


Recommended Posts

I've successfully configured a DLNA renderer on the server, so it appears in the devices list and I can play contents on it, thus gaining another zone in this setup.
Still there are some flaws, I supposed caused by the implementation of this renderer, but still I'll post the instructions there for the setup on ubuntu.

First, we'll install the required gstreamer libraries, in it's latest version:

sudo apt-get install libupnp-dev libgstreamer1.0-dev gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
gstreamer1.0-libav gstreamer1.0-alsa alsa-utils

Then we'll have to get the gmrender-resurrect renderer by Henner Zeller

sudo apt-get install autoconf automake libtool git 
git clone https://github.com/hzeller/gmrender-resurrect.git 
cd gmrender-resurrect 
sudo make install

Then we'll make sure all the required volume controls are up and unmuted

sudo alsamixer
sudo alsactrl store

Then we setup the init script. We'll need to change the default user in the script and the name for the device, if we want so.

sudo cp scripts/init.d/gmediarenderer /etc/init.d/
sudo nano /etc/init.d/gmediarenderer

The changes:


Then we can end by putting the service online (in ubuntu 15.04 vivid):

sudo systemctl enable gmediarenderer
sudo shutdown -r now
ps aux | grep gmedia   #for testing it's running after the reboot.

Nothing more with it. Just make sure your sound device it's recognized by the system and the volume it's up.


Notes: I found that I can't change tracks using the previous/next buttons in the web interface. The interface displays the change but the renderer still plays the previous track. Then when the played track finishes, it stops playing and interface stays idle. Perhaps it's a problem with gmediarenderer. dunno.

Edited by Sergio
  • Like 1
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...