PA-DLNA shuts off connection to DLNA Renderer upon start playing music (vlc)
Bug report.
I have pipewire and all requirements started. pa-dlna is installed, starts, and finds my rendering device. As soon as I start playback, pa-dlna/the renderer cut connection.
Your environment.
- Pulseaudio version: -
- Pipewire version: 1.2.5
- pa-dlna version: 0.11
- DLNA device name: Moode UPNP - 58120
- Selected encoder: (not sure, log included)
- Network type (wired, wifi): Wired
Steps to reproduce.
Start pa-dlna, start vlc, select song, select output to pa-dlna, play
Relevant logs or configuration.
$ pa-dlna -l debug
init INFO pa-dlna version v0.11
init INFO Python version 3.12.6 (main, Sep 7 2024, 14:20:15) [GCC 14.2.0]
init INFO Options {'ip_addresses': [], 'nics': [], 'msearch_interval': 60, 'msearch_port': 0, 'ttl': b'\x02', 'port': 8080, 'dump_default': False, 'dump_internal': False, 'loglevel': 'debug', 'logfile': None, 'nolog_upnp': False, 'log_aio': False, 'test_devices': []}
init INFO Start pa-dlna
init DEBUG Disabling XON/XOFF flow control on output
upnp INFO Start UPnP discovery on new IPs {'192.168.1.3'}
network DEBUG SSDP notify: 192.168.1.3 member of multicast group 239.255.255.250
libpuls DEBUG LibPulse connection: PA_CONTEXT_CONNECTING
libpuls DEBUG pa_context_connect return code: 0
libpuls DEBUG LibPulse connection: PA_CONTEXT_AUTHORIZING
libpuls DEBUG LibPulse connection: PA_CONTEXT_SETTING_NAME
libpuls INFO LibPulse connection: ('PA_CONTEXT_READY', 'PA_OK')
libpuls INFO Server: PulseAudio (on PipeWire 1.2.5)
libpuls DEBUG libpulse library/server versions: 35/35
libpuls DEBUG PulseAudio (on PipeWire 1.2.5) connected to /run/user/1000/pulse/native
network DEBUG Sent 3 M-SEARCH datagrams to ('239.255.255.250', 1900) from 192.168.1.3
upnp INFO New UPnP services: WFAWLANConfig1
upnp INFO New WFADevice root device at 192.168.1.1 with UDN:
uuid:14a9c23d-df1d-615d-7717-85dcbd3525db
upnp DEBUG UPnPRootDevice uuid:14a9c...525db has been created with max-age=1801
pa-dlna INFO Got 'alive' notification for UPnPRootDevice uuid:14a9c...525db
pa-dlna INFO Ignore 'Wi-Fi Protected Setup Router': no MediaRenderer
upnp WARNING Disable the UPnPRootDevice uuid:14a9c...525db UPnP device permanently
upnp INFO New UPnP services: L3Forwarding1
upnp INFO New WANDevice embedded device
upnp INFO New UPnP services: WANCommonIFC1
upnp INFO New WANConnectionDevice embedded device
upnp INFO New UPnP services: WANIPConn1
upnp INFO New InternetGatewayDevice root device at 192.168.1.1 with UDN:
uuid:3ddcd1d3-2380-45f5-b069-c87f54dd2728
upnp DEBUG UPnPRootDevice uuid:3ddcd...d2728 has been created with max-age=1800
pa-dlna INFO Got 'alive' notification for UPnPRootDevice uuid:3ddcd...d2728
pa-dlna INFO Ignore 'ASUS Wireless Router': no MediaRenderer
upnp WARNING Disable the UPnPRootDevice uuid:3ddcd...d2728 UPnP device permanently
upnp INFO New UPnP services: AVTransport, RenderingControl, ConnectionManager
upnp INFO New MediaRenderer root device at 192.168.1.4 with UDN:
uuid:5e211097-4658-5161-a661-b827ebe58120
upnp DEBUG UPnPRootDevice uuid:5e211...58120 has been created with max-age=90
pa-dlna INFO Got 'alive' notification for UPnPRootDevice uuid:5e211...58120
upnp INFO New UPnP services: ContentDirectory, ConnectionManager, X_MS_MediaReceiverRegistrar
upnp INFO New MediaServer root device at 192.168.1.9 with UDN:
uuid:4d696e69-444c-164e-9d41-001e0630ce05
upnp DEBUG UPnPRootDevice uuid:4d696...0ce05 has been created with max-age=1800
pulse INFO Load null-sink module UpMPD-uuid:5e211097-4658-5161-a661-b827ebe58120
description='Moode UPNP - 58120'
http INFO http_server-192.168.1.3 serve HTTP requests on ('192.168.1.3', 8080)
pa-dlna INFO Got 'alive' notification for UPnPRootDevice uuid:4d696...0ce05
pa-dlna INFO Ignore 'Windows Media Connect compatible (MiniDLNA)': no MediaRenderer
upnp WARNING Disable the UPnPRootDevice uuid:4d696...0ce05 UPnP device permanently
encoder DEBUG UpMPD-58120 renderer mime types:
['audio/L16', 'application/flac', 'application/x-flac', 'application/ogg', 'application/vnd.apple.mpegurl', 'application/x-mpegurl', 'audio/flac', 'audio/x-flac', 'audio/aac', 'audio/x-aiff', 'audio/aif', 'audio/aiff', 'audio/dff', 'audio/x-dff', 'audio/dsd', 'audio/x-dsd', 'audio/dsf', 'audio/x-dsf', 'audio/m4a', 'audio/x-m4a', 'audio/matroska', 'audio/x-matroska', 'audio/mp1', 'audio/mp3', 'audio/mp4', 'audio/mpeg', 'audio/x-mpeg', 'audio/ogg', 'audio/vorbis', 'audio/x-ape', 'audio/ape', 'audio/x-monkeys-audio', 'audio/wav', 'audio/x-wav', 'audio/wave', 'audio/x-ms-wma', 'audio/x-ogg', 'audio/x-scpls', 'audio/x-vorbis+ogg', 'audio/x-vorbis', 'audio/x-wavpack', 'video/mp4']
pa-dlna INFO New UpMPD-58120 renderer with Mp3Encoder handling 'audio/mp3'
URL: http://192.168.1.3:8080/audio-content/uuid:5e211097-4658-5161-a661-b827ebe58120
upnp DEBUG Got notify advertisement from 192.168.1.4
upnp DEBUG Refresh with max-age=90 for UPnPRootDevice uuid:5e211...58120
pa-dlna DEBUG 'change' pulse event [UpMPD-58120 sink-input index 1986]
pa-dlna DEBUG 'change' pulse event [UpMPD-58120 sink-input index 1986]
pa-dlna DEBUG 'SetAVTransportURI' UPnP action [UpMPD-58120 device prev state: STOPPED]
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">
<item id="0" parentID="0" restricted="0">
<dc:title>VLC media player (LibVLC 3.0.21)</dc:title>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<dc:publisher>VLC media player (LibVLC 3.0.21)</dc:publisher>
<upnp:artist></upnp:artist>
<res protocolInfo="http-get:*:audio/mp3:*">
http://192.168.1.3:8080/audio-content/uuid:5e211097-4658-5161-a661-b827ebe58120</res>
</item></DIDL-Lite>
pa-dlna INFO MetaData(publisher='VLC media player (Li...itle='VLC media player (LibVLC 3.0.21)')
URL: http://192.168.1.3:8080/audio-content/uuid:5e211097-4658-5161-a661-b827ebe58120
upnp WARNING soap_action('SetAVTransportURI', 'AVTransport') = SoapFault(errorCode='501', errorDescription='Action Failed')
pa-dlna ERROR UPnPSoapFaultError(SoapFault(errorCode='501', errorDescription='Action Failed'))
pa-dlna INFO Close UpMPD-58120 renderer
upnp INFO Close UPnPRootDevice uuid:5e211...58120
upnp DEBUG UPnPRootDevice uuid:5e211...58120 has been deleted
pulse INFO Unload null-sink module UpMPD-uuid:5e211097-4658-5161-a661-b827ebe58120
pa-dlna INFO Got 'byebye' notification for UPnPRootDevice uuid:5e211...58120
upnp INFO New UPnP services: AVTransport, RenderingControl, ConnectionManager
upnp INFO New MediaRenderer root device at 192.168.1.4 with UDN:
uuid:5e211097-4658-5161-a661-b827ebe58120
upnp DEBUG UPnPRootDevice uuid:5e211...58120 has been created with max-age=90
pa-dlna INFO Got 'alive' notification for UPnPRootDevice uuid:5e211...58120
pulse INFO Load null-sink module UpMPD-uuid:5e211097-4658-5161-a661-b827ebe58120
description='Moode UPNP - 58120'
encoder DEBUG UpMPD-58120 renderer mime types:
['audio/L16', 'application/flac', 'application/x-flac', 'application/ogg', 'application/vnd.apple.mpegurl', 'application/x-mpegurl', 'audio/flac', 'audio/x-flac', 'audio/aac', 'audio/x-aiff', 'audio/aif', 'audio/aiff', 'audio/dff', 'audio/x-dff', 'audio/dsd', 'audio/x-dsd', 'audio/dsf', 'audio/x-dsf', 'audio/m4a', 'audio/x-m4a', 'audio/matroska', 'audio/x-matroska', 'audio/mp1', 'audio/mp3', 'audio/mp4', 'audio/mpeg', 'audio/x-mpeg', 'audio/ogg', 'audio/vorbis', 'audio/x-ape', 'audio/ape', 'audio/x-monkeys-audio', 'audio/wav', 'audio/x-wav', 'audio/wave', 'audio/x-ms-wma', 'audio/x-ogg', 'audio/x-scpls', 'audio/x-vorbis+ogg', 'audio/x-vorbis', 'audio/x-wavpack', 'video/mp4']
pa-dlna INFO New UpMPD-58120 renderer with Mp3Encoder handling 'audio/mp3'
URL: http://192.168.1.3:8080/audio-content/uuid:5e211097-4658-5161-a661-b827ebe58120
pa-dlna DEBUG 'change' pulse event [UpMPD-58120 sink-input index 1986]
pa-dlna DEBUG 'change' pulse event [UpMPD-58120 sink-input index 1986]
pa-dlna DEBUG 'SetAVTransportURI' UPnP action [UpMPD-58120 device prev state: STOPPED]
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">
<item id="0" parentID="0" restricted="0">
<dc:title>VLC media player (LibVLC 3.0.21)</dc:title>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<dc:publisher>VLC media player (LibVLC 3.0.21)</dc:publisher>
<upnp:artist></upnp:artist>
<res protocolInfo="http-get:*:audio/mp3:*">
http://192.168.1.3:8080/audio-content/uuid:5e211097-4658-5161-a661-b827ebe58120</res>
</item></DIDL-Lite>
pa-dlna INFO MetaData(publisher='VLC media player (Li...itle='VLC media player (LibVLC 3.0.21)')
URL: http://192.168.1.3:8080/audio-content/uuid:5e211097-4658-5161-a661-b827ebe58120
upnp WARNING soap_action('SetAVTransportURI', 'AVTransport') = SoapFault(errorCode='501', errorDescription='Action Failed')
pa-dlna ERROR UPnPSoapFaultError(SoapFault(errorCode='501', errorDescription='Action Failed'))
pa-dlna INFO Close UpMPD-58120 renderer
upnp INFO Close UPnPRootDevice uuid:5e211...58120
upnp DEBUG UPnPRootDevice uuid:5e211...58120 has been deleted
pulse INFO Unload null-sink module UpMPD-uuid:5e211097-4658-5161-a661-b827ebe58120
pa-dlna INFO Got 'byebye' notification for UPnPRootDevice uuid:5e211...58120
upnp INFO New UPnP services: AVTransport, RenderingControl, ConnectionManager
upnp INFO New MediaRenderer root device at 192.168.1.4 with UDN:
uuid:5e211097-4658-5161-a661-b827ebe58120
upnp DEBUG UPnPRootDevice uuid:5e211...58120 has been created with max-age=90
pa-dlna INFO Got 'alive' notification for UPnPRootDevice uuid:5e211...58120
pulse INFO Load null-sink module UpMPD-uuid:5e211097-4658-5161-a661-b827ebe58120
description='Moode UPNP - 58120'
Edited by HJ Heins