DLNA device permanently disabled after connection error while streaming
- pa-dlna version: 1.1
- DLNA device name: R-N402D
Steps to reproduce.
Turn off the R-N402D renderer while pa-dlna is streaming a track.
The syslog prints:
New 'R-N402D - 9ab0c...8381a' renderer with L16Encoder handling 'audio/L16;channels=2;rate=44100'
R-N402D - 9ab0c...8381a-track-1 HTTP socket is closed: ConnectionResetError('Connection lost')
Exception in task 'R-N402D - 9ab0c...8381a-track-1' - function Track.shutdown():
BrokenPipeError(32, 'Broken pipe')
Run this program at the 'debug' log level to print the exception backtrace
UPnPSoapFaultError(SoapFault(errorCode='501', errorDescription='Action Failed'))
Closing 'R-N402D - 9ab0c...8381a' renderer
When run at debug log level, the logs print that the R-N402D renderer is disabled.