ROON + gmrender / mpd - alsa lock?

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
ronnihostrup
Posts: 2
Joined: Wed Nov 03, 2021 1:10 pm

ROON + gmrender / mpd - alsa lock?

Post by ronnihostrup »

Hi!
I am using diet-pi on a RPI3b, with an amplifier board ( Hifi berry AMP2 ).

this is working great with roon bridge - as expected.

is it possible to have gmrender work at the same time as the roon bridge is running?


I use the gmrender - as an upnp renderer - so that i can sent TTS notifications from my Home Assistant installation.

But - as soon as i have sent a notifcation - then roon is not able to use the output anymore?

Do you guys have any suggestions - and is this at all possible?

br Ronni
ronnihostrup
Posts: 2
Joined: Wed Nov 03, 2021 1:10 pm

Re: ROON + gmrender / mpd - alsa lock?

Post by ronnihostrup »

From the logs - when i send a TTS announcement (which is just an mp3 file) it looks like this:

Code: Select all

Nov 03 13:10:08 DietPi gmediarender[2559]: <CurrentTrackMetaData val="&lt;DIDL-Lite xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot; xmlns:dc=&quot;http:                                                        //purl.org/dc/elements/1.1/&quot; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:sec=&quot;http://www.sec.co.kr/&quot;&gt;&lt;item id=&quot;0&quo                                                        t; parentID=&quot;-1&quot; restricted=&quot;false&quot;&gt;&lt;dc:title&gt;Home Assistant&lt;/dc:title&gt;&lt;upnp:class&gt;object.item.audioItem&lt;/upnp:class&gt;&lt                                                        ;res protocolInfo=&quot;http-get:*:audio/mpeg:*&quot;&gt;http://10.0.0.6:8123/api/tts_proxy/e7aedb441b2eb5868d1db884da805fc361c30113_da_-_google_translate.mp3&lt;/res&                                                        gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;"></CurrentTrackMetaData>
Nov 03 13:10:08 DietPi gmediarender[2559]: </InstanceID>
Nov 03 13:10:08 DietPi gmediarender[2559]: </Event>
Nov 03 13:10:09 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:09.359844 | gstreamer] about-to-finish cb: setting uri (null)
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.182118 | transport] RelativeTimePosition: 0:00:01
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873344 | gstreamer] play: End-of-stream
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873436 | transport] AVTransportURI:
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873515 | transport] AVTransportURIMetaData:
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873559 | transport] NumberOfTracks: 0
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873602 | transport] CurrentTrack: 0
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873643 | transport] CurrentTrackURI:
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873691 | transport] CurrentTrackMetaData:
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873736 | transport] TransportState: STOPPED
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873779 | transport] CurrentTransportActions: PLAY
Nov 03 13:10:10 DietPi gmediarender[2559]: INFO  [2021-11-03 13:10:10.873973 | transport] LastChange: <?xml version="1.0"?>
Nov 03 13:10:10 DietPi gmediarender[2559]: <Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/">
Nov 03 13:10:10 DietPi gmediarender[2559]: <InstanceID val="0">
Nov 03 13:10:10 DietPi gmediarender[2559]: <AVTransportURI val=""></AVTransportURI>
Nov 03 13:10:10 DietPi gmediarender[2559]: <AVTransportURIMetaData val=""></AVTransportURIMetaData>
Nov 03 13:10:10 DietPi gmediarender[2559]: <NumberOfTracks val="0"></NumberOfTracks>
Nov 03 13:10:10 DietPi gmediarender[2559]: <CurrentTrack val="0"></CurrentTrack>
Nov 03 13:10:10 DietPi gmediarender[2559]: <CurrentTrackURI val=""></CurrentTrackURI>
Nov 03 13:10:10 DietPi gmediarender[2559]: <CurrentTrackMetaData val=""></CurrentTrackMetaData>
Nov 03 13:10:10 DietPi gmediarender[2559]: <TransportState val="STOPPED"></TransportState>
Nov 03 13:10:10 DietPi gmediarender[2559]: <CurrentTransportActions val="PLAY"></CurrentTransportActions>
Nov 03 13:10:10 DietPi gmediarender[2559]: </InstanceID>
Nov 03 13:10:10 DietPi gmediarender[2559]: </Event>
But then - afterwards - roon is unable to use the same output
Post Reply