[Solved]Two gmediarender conflict

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
harryputter
Posts: 5
Joined: Sat Jun 16, 2018 12:08 am

[Solved]Two gmediarender conflict

Post by harryputter »

I have two RPI 3B using DietPi as OS and installed roon bridge and gmrender. I changed the host name and DLNA name (through changing -f name inside gmrendr.service). But there seem to be some conflict between two DLNA renderer.
While using roon there was no problem. But, when I use DLNA, the names of two DLNA client never show up simutaneously. They show up one by one, and when I play music in one machine the music starts in the other machine sometimes.
I want to know if there is any solution. thanks.
Last edited by harryputter on Sat Jun 23, 2018 6:41 am, edited 1 time in total.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Two gmediarender conflict

Post by Fourdee »

Hi,

Thanks for the report.

Confirmed issue, we'll resolve for v6.10.

Basically we need to change the GMrender advertised UUID per system.

In the service /etc/systemd/system/gmrender.service, add the entry -u system1

Code: Select all

gmediarender -u system1 -f DietPi-device1 --gstout-audiodevice=sysdefault --gstout-initial-volume-db=-1 --logfile=/var/log/gmrender.log

Code: Select all

systemctl daemon-reload
dietpi-services restart
Do the same on the other system, changing -u system1 to -u system2

You should now see both devices in any DLNA client.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
harryputter
Posts: 5
Joined: Sat Jun 16, 2018 12:08 am

Re: Two gmediarender conflict

Post by harryputter »

Thanks. It works well!
Post Reply