DLNA renderer options

Is anyone aware of any DLNA renderer for DietPi?

I just came here to request the addition of gmediarender to DP.

It’s already in the repos so should be simple to add, although I was going to complicate the request a bit as I’m having trouble getting it running as a service and also it needs an option (probably in dietpi-justboom) for the user to change the name of the server (the -f switch when loading it from a prompt).

EDIT: Further research suggests I’m not the only one having issues with running it as a service: https://bugs.launchpad.net/ubuntu/+source/gmrender-resurrect/+bug/1547763

Ok, I’m having a bit more luck with this in /etc/init.d


# Provides: gmediarender
# Required-Start: $remote\_fs $syslog
# Required-Stop: $remote\_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start GMediaRender at boot time
# Description: Start GMediaRender at boot time.

export USER HOME
case "$1" in
echo "Starting GMediaRender"
start-stop-daemon -x /usr/bin/gmediarender -c root:audio -S -- -f dietpi-dlna-render -d
echo "Stopping GMediaRender"
start-stop-daemon -x /usr/bin/gmediarender -K
echo "Usage: /etc/init.d/gmediarender {start\|stop}"
exit 1
exit 0

And then doing

update-rc.d gmediarender defaults

Still doesn’t seem to start on boot but: :~#service gmediarender restart seems to get it going ok

Probably halting as syslog isnt installed by default, you’ll need Full Logging Mode for that, or:

apt-get install rsyslog -y

And $remote_fs should be


Thanks Fourdee,

To keep things ‘dieted’ can I do without the syslog? i.e. can I just remove reference to it from this boot script? I have no real need for any logs

I’ve made a change of tack, upmpdcli seems to play nicely with mopidy/mpd.

It’s not natively in the repos but is easy to add using the developers rasbian jessie repo: https://www.lesbonscomptes.com/upmpdcli/downloads.html

As explained in the mopidy docs it works out of the box: https://docs.mopidy.com/en/latest/clients/upnp/

What’s nice about this one is I’m streaming from bubble upnp on my phone and the mopidy interface (spotmop in this instance) is correctly reporting the ‘currently playing’ track (which didn’t happen with gmediarender)