hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
832 stars 202 forks source link

Cannot get gmrender to play #179

Closed gearhead closed 4 years ago

gearhead commented 5 years ago

Used this many years ago and am trying it again to see if it may work for us. I am using Arch linux on an RPi. I get it to compile and install the packages. I launch it and try to connect but it never plays. Can You help point me in the direction of a solution. This is from an android phone running bubbleupnp to my rpi2. This is the portion of the log:

INFO  [2019-03-21 07:16:50.935215 | transport] LastChange: <?xml version="1.0"?>
<Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/">
<InstanceID val="0">
<TransportState val="PLAYING"></TransportState>
<CurrentTransportActions val="PAUSE,STOP,SEEK"></CurrentTransportActions>
<CurrentTrackURI val="http://192.168.2.59:57645/ffmpegpcmdecode/stream/a102cef1-5f9f-4238-8380-8ec540ec24ef.wav"></CurrentTrackURI>
<CurrentTrackMetaData val="&lt;DIDL-Lite xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:dlna=&quot;urn:schemas-dlna-org:metadata-1-0/&quot; xmlns:sec=&quot;http://www.sec.co.kr/&quot; xmlns:pv=&quot;http://www.pv.com/pvns/&quot;&gt;&lt;item id=&quot;/external/audio/media/all_tracks/3976&quot; parentID=&quot;/external/audio/media/all_tracks&quot; restricted=&quot;1&quot;&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;dc:title&gt;(It&apos;s A) Big World&lt;/dc:title&gt;&lt;dc:creator&gt;Joe Jackson&lt;/dc:creator&gt;&lt;upnp:artist&gt;Joe Jackson&lt;/upnp:artist&gt;&lt;upnp:albumArtURI&gt;http://192.168.2.59:57645/external/audio/albums/25.jpg&lt;/upnp:albumArtURI&gt;&lt;upnp:album&gt;Big World&lt;/upnp:album&gt;&lt;upnp:originalTrackNumber&gt;3&lt;/upnp:originalTrackNumber&gt;&lt;res protocolInfo=&quot;http-get:*:audio/wav:DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01700000000000000000000000000000&quot; bitsPerSample=&quot;16&quot; bitrate=&quot;176400&quot; sampleFrequency=&quot;44100&quot; nrAudioChannels=&quot;2&quot; size=&quot;4608262&quot; duration=&quot;0:04:43.000&quot;&gt;http://192.168.2.59:57645/ffmpegpcmdecode/stream/a102cef1-5f9f-4238-8380-8ec540ec24ef.wav&lt;/res&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;"></CurrentTrackMetaData>
</InstanceID>
</Event>
ERROR [2019-03-21 07:16:51.179305 | gstreamer] audiosink-actual-sink-openal: Error: The stream is in the wrong format. (Debug: gstaudiobasesink.c(1193): gst_audio_base_sink_preroll (): /GstPlayBin:play/GstPlaySink:playsink/GstBin:abin/GstAutoAudioSink:audiosink/GstOpenALSink:audiosink-actual-sink-openal:
sink not negotiated.)
gearhead commented 5 years ago

Forget about it, It works. I just had not installed all the packages required and configured the output sink. I do have trouble controlling from my phone, but am still playing with it to see what I need to do.