home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.6k stars 30.76k forks source link

DLNA device unavailable after upgrade #57240

Closed tomasz8w closed 3 years ago

tomasz8w commented 3 years ago

The problem

After upgrade to newest release, dlna_dmr integration no longer works properly. It behaves properly when nothing is being played. When something is playing, media player entity is switching between playing and unavailable state (but it is mostly unavailable).

Receiver: yamaha yas-209

What is version of Home Assistant Core has the issue?

2021.10.0

What was the last working version of Home Assistant Core?

2021.9.7

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

DLNA Digital Media Renderer

Link to integration documentation on our website

https://www.home-assistant.io/integrations/dlna_dmr/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-10-07 10:26:03 DEBUG (MainThread) [async_upnp_client.aiohttp] Received request: <BaseRequest NOTIFY /notify >
2021-10-07 10:26:03 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Incoming request:
NOTIFY
Host: 192.168.8.142:45043
Content-Type: text/xml; charset="utf-8"
Content-Length: 647
NT: upnp:event
NTS: upnp:propchange
SID: uuid:35939364-2748-11ec-9ffb-9d039c4a94ed
SEQ: 0

<?xml version='1.0' encoding='UTF-8' ?>
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0">
  <e:property>
    <LastChange>&lt;Event xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/RCS/&quot;&gt;
  &lt;InstanceID val=&quot;0&quot;&gt;
  &lt;Mute channel=&quot;Master&quot; val=&quot;0&quot;/&gt;
  &lt;Channel channel=&quot;Master&quot; val=&quot;0&quot;/&gt;
  &lt;Equaluzer channel=&quot;Master&quot; val=&quot;0&quot;/&gt;
  &lt;Volume channel=&quot;Master&quot; val=&quot;14&quot;/&gt;
  &lt;PresetNameList val=&quot;FactoryDefaults&quot;/&gt;
  &lt;/InstanceID&gt;
&lt;/Event&gt;</LastChange>
</e:property>
</e:propertyset>

2021-10-07 10:26:03 DEBUG (MainThread) [async_upnp_client.event_handler] Storing NOTIFY in backlog for SID: uuid:35939364-2748-11ec-9ffb-9d039c4a94ed
2021-10-07 10:26:03 DEBUG (MainThread) [async_upnp_client.aiohttp] NOTIFY response status: HTTPStatus.OK
2021-10-07 10:26:03 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending response: HTTPStatus.OK
2021-10-07 10:26:03 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Server: Linux/4.4.22
Connection: close
Content-Length: 41
Content-Type: text/html

b'<html><body><h1>200 OK</h1></body></html>'
2021-10-07 10:26:03 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Server: Linux/4.4.22
Connection: close
Content-Length: 41
Content-Type: text/html

b'<html><body><h1>200 OK</h1></body></html>'
2021-10-07 10:26:09 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('192.168.8.142', 51335): b'M-SEARCH * HTTP/1.1\r\nMX: 1\r\nST: upnp:rootdevice\r\nMAN: "ssdp:discover"\r\nUser-Agent: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.5.13\r\nHost: 239.255.255.250:1900\r\nConnection: close\r\n\r\n'
2021-10-07 10:26:09 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('192.168.8.142', 51335): b'M-SEARCH * HTTP/1.1\r\nMX: 1\r\nST: upnp:rootdevice\r\nMAN: "ssdp:discover"\r\nUser-Agent: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.5.13\r\nHost: 239.255.255.250:1900\r\nConnection: close\r\n\r\n'
2021-10-07 10:26:09 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('192.168.8.142', 49988): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:09 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.20.0.1', 38736): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:09 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.18.0.1', 51727): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:09 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.22.0.1', 44866): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:09 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.21.0.1', 53680): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:09 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.30.32.1', 38010): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:09 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.19.0.1', 54522): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:13 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Connecting to device at http://192.168.8.95:49152/description.xml
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.client_factory] Creating device, description_url: http://192.168.8.95:49152/description.xml
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/description.xml

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 3114
Content-Type: text/xml; charset="utf-8"
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:13 GMT
Last-Modified: Sat, 17 Jul 2021 07:20:43 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<device>\r\n<dlna:X_DLNADOC>DMR-1.50</dlna:X_DLNADOC>\r\n<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\r\n<friendlyName>YAS_209</friendlyName>\r\n<manufacturer>Yamaha Corporation</manufacturer>\r\n<manufacturerURL>https://www.yamaha.com</manufacturerURL>\r\n<modelDescription>Yamaha soundbar</modelDescription>\r\n<modelName>Yamaha soundbar</modelName>\r\n<modelURL>https://www.yamaha.com</modelURL>\r\n<UDN>uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002</UDN>\r\n<modelNumber>V01-Jul 17 2021\r\n</modelNumber>\r\n<serialNumber>00001</serialNumber>\r\n<ssidName>SoundBarSetup_F1C5</ssidName>\r\n<uuid>FFB8F0029BCCCB6A95A24F26</uuid>\r\n<qq:X_QPlay_SoftwareCapability xmlns:qq="http://www.tencent.com">QPlay:2</qq:X_QPlay_SoftwareCapability>\r\n<iconList>\r\n<icon>\r\n<mimetype>image/png</mimetype>\r\n<width>48</width>\r\n<height>48</height>\r\n<depth>24</depth>\r\n<url>/upnp/grender-48x48.png</url>\r\n</icon>\r\n<icon>\r\n<mimetype>image/png</mimetype>\r\n<width>120</width>\r\n<height>120</height>\r\n<depth>24</depth>\r\n<url>/upnp/grender-120x120.png</url>\r\n</icon>\r\n<icon>\r\n<mimetype>image/jpeg</mimetype>\r\n<width>48</width>\r\n<height>48</height>\r\n<depth>24</depth>\r\n<url>/upnp/grender-48x48.jpg</url>\r\n</icon>\r\n<icon>\r\n<mimetype>image/jpeg</mimetype>\r\n<width>120</width>\r\n<height>120</height>\r\n<depth>24</depth>\r\n<url>/upnp/grender-120x120.jpg</url>\r\n</icon>\r\n</iconList>\r\n<serviceList>\r\n<service>\r\n<serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\r\n<serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\r\n<SCPDURL>/upnp/rendertransportSCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/rendertransport1</controlURL>\r\n<eventSubURL>/upnp/event/rendertransport1</eventSubURL>\r\n</service>\r\n<service>\r\n<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\r\n<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\r\n<SCPDURL>/upnp/renderconnmgrSCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/renderconnmgr1</controlURL>\r\n<eventSubURL>/upnp/event/renderconnmgr1</eventSubURL>\r\n</service>\r\n<service>\r\n<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\r\n<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\r\n<SCPDURL>/upnp/rendercontrolSCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/rendercontrol1</controlURL>\r\n<eventSubURL>/upnp/event/rendercontrol1</eventSubURL>\r\n</service>\r\n<service>\r\n<serviceType>urn:schemas-wiimu-com:service:PlayQueue:1</serviceType>\r\n<serviceId>urn:wiimu-com:serviceId:PlayQueue</serviceId>\r\n<SCPDURL>/upnp/PlayQueueSCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/PlayQueue1</controlURL>\r\n<eventSubURL>/upnp/event/PlayQueue1</eventSubURL>\r\n</service>\r\n<service>\r\n<serviceType>urn:schemas-tencent-com:service:QPlay:1</serviceType>\r\n<serviceId>urn:tencent-com:serviceId:QPlay</serviceId>\r\n<SCPDURL>/upnp/QPlaySCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/QPlay1</controlURL>\r\n<eventSubURL>/upnp/event/QPlay1</eventSubURL>\r\n</service>\r\n</serviceList>\r\n</device>\r\n</root>\r\n'
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/rendertransportSCPD.xml

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 19762
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:13 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>GetCurrentTransportActions</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Actions</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTransportActions</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetDeviceCapabilities</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayMedia</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PossiblePlaybackStorageMedia</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RecMedia</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PossibleRecordStorageMedia</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RecQualityModes</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PossibleRecordQualityModes</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetMediaInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NrTracks</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaDuration</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentMediaDuration</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentURI</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AVTransportURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentURIMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NextURI</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>NextAVTransportURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NextURIMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>NextAVTransportURIMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackSource</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TrackSource</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayMedium</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PlaybackStorageMedium</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RecordMedium</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RecordStorageMedium</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>WriteStatus</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RecordMediumWriteStatus</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetPositionInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Track</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrack</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackDuration</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackDuration</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackURI</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RelTime</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RelativeTimePosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AbsTime</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AbsoluteTimePosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RelCount</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RelativeCounterPosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AbsCount</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AbsoluteCounterPosition</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTransportInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentTransportState</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportState</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentTransportStatus</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportStatus</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentSpeed</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportPlaySpeed</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTransportSettings</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayMode</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentPlayMode</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RecQualityMode</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentRecordQualityMode</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Next</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Pause</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Play</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Speed</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>TransportPlaySpeed</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Previous</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Seek</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Unit</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_SeekMode</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Target</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_SeekTarget</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetAVTransportURI</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentURI</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AVTransportURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentURIMetaData</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Stop</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetPlayType</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayType</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PlayType</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetInfoEx</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentTransportState</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportState</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentTransportStatus</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportStatus</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentSpeed</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportPlaySpeed</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Track</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrack</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackDuration</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackDuration</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackURI</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RelTime</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RelativeTimePosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AbsTime</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AbsoluteTimePosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RelCount</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RelativeCounterPosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AbsCount</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AbsoluteCounterPosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>LoopMode</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>LoopMode</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentVolume</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentVolume</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentChannel</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentVolume</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveList</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveList</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayMedium</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PlaybackStorageMedium</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackSource</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TrackSource</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>InternetAccess</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>InternetAccess</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>VerUpdateFlag</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>VerUpdateFlag</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>VerUpdateStatus</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>VerUpdateStatus</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>BatteryFlag</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>BatteryFlag</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>BatteryPercent</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>BatteryPercent</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AlarmFlag</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AlarmFlag</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TimeStamp</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TimeStamp</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SubNum</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SubNum</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SpotifyActive</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SpotifyActive</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetPlayMode</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NewPlayMode</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentPlayMode</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SeekForward</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SeekBackward</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="no">\r\n<name>TransportStatus</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>OK</allowedValue>\r\n<allowedValue>ERROR_OCCURRED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTrackMetaData</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>RelativeCounterPosition</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_InstanceID</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_SeekTarget</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PlaybackStorageMedium</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>UNKNOWN</allowedValue>\r\n<allowedValue>CD-DA</allowedValue>\r\n<allowedValue>DVD-VIDEO</allowedValue>\r\n<allowedValue>HDD</allowedValue>\r\n<allowedValue>NETWORK</allowedValue>\r\n<allowedValue>NONE</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>RelativeTimePosition</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PossibleRecordStorageMedia</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentPlayMode</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NORMAL</allowedValue>\r\n<allowedValue>REPEAT_TRACK</allowedValue>\r\n<allowedValue>REPEAT_ALL</allowedValue>\r\n</allowedValueList>\r\n<defaultValue>NORMAL</defaultValue>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TransportPlaySpeed</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>1</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PossiblePlaybackStorageMedia</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>UNKNOWN</allowedValue>\r\n<allowedValue>CD-DA</allowedValue>\r\n<allowedValue>DVD-VIDEO</allowedValue>\r\n<allowedValue>HDD</allowedValue>\r\n<allowedValue>NETWORK</allowedValue>\r\n<allowedValue>NONE</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AbsoluteTimePosition</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTrack</name>\r\n<dataType>ui4</dataType>\r\n<allowedValueRange>\r\n<minimum>0</minimum>\r\n<maximum>65535</maximum>\r\n<step>1</step>\r\n</allowedValueRange>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTrackURI</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTransportActions</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>NumberOfTracks</name>\r\n<dataType>ui4</dataType>\r\n<allowedValueRange>\r\n<minimum>0</minimum>\r\n<maximum>65535</maximum>\r\n</allowedValueRange>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AVTransportURI</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AbsoluteCounterPosition</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentRecordQualityMode</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentMediaDuration</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_SeekMode</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>REL_TIME</allowedValue>\r\n<allowedValue>TRACK_NR</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AVTransportURIMetaData</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>RecordStorageMedium</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>RecordMediumWriteStatus</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>LastChange</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTrackDuration</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TransportState</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>STOPPED</allowedValue>\r\n<allowedValue>PAUSED_PLAYBACK</allowedValue>\r\n<allowedValue>PLAYING</allowedValue>\r\n<allowedValue>TRANSITIONING</allowedValue>\r\n<allowedValue>NO_MEDIA_PRESENT</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PossibleRecordQualityModes</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TransportRemote</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PlayType</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>NextAVTransportURI</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>NextAVTransportURIMetaData</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TrackSource</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SlaveList</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentVolume</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>LoopMode</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>InternetAccess</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>VerUpdateFlag</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>VerUpdateStatus</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>BatteryFlag</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>BatteryPercent</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AlarmFlag</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TimeStamp</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SubNum</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SpotifyActive</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/renderconnmgrSCPD.xml

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 3642
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:13 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>GetCurrentConnectionIDs</name>\r\n<argumentList>\r\n<argument>\r\n<name>ConnectionIDs</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentConnectionIDs</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetCurrentConnectionInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>ConnectionID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RcsID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_RcsID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AVTransportID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_AVTransportID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>ProtocolInfo</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ProtocolInfo</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PeerConnectionManager</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ConnectionManager</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PeerConnectionID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Direction</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Direction</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Status</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ConnectionStatus</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetProtocolInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>Source</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SourceProtocolInfo</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Sink</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SinkProtocolInfo</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_ConnectionManager</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>SinkProtocolInfo</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_ConnectionStatus</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>OK</allowedValue>\r\n<allowedValue>ContentFormatMismatch</allowedValue>\r\n<allowedValue>InsufficientBandwidth</allowedValue>\r\n<allowedValue>UnreliableChannel</allowedValue>\r\n<allowedValue>Unknown</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_AVTransportID</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Direction</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>Input</allowedValue>\r\n<allowedValue>Output</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_RcsID</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_ProtocolInfo</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_ConnectionID</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>SourceProtocolInfo</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>CurrentConnectionIDs</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/rendercontrolSCPD.xml

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 11724
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:13 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>GetMute</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentMute</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Mute</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetVolume</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentVolume</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Volume</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>StreamServicesCapability</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AppVersion</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AppVersion</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StreamCapability</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>StreamCapability</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetChannel</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentChannel</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Channel</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetEqualizer</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentEqualizer</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Equalizer</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>ListPresets</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentPresetNameList</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PresetNameList</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SelectPreset</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PresetName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_PresetName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetMute</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DesiredMute</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Mute</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetVolume</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DesiredVolume</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Volume</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetChannel</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DesiredChannel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Channel</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetEqualizer</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DesiredEqualizer</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Equalizer</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetSimpleDeviceInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MultiType</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>MultiRoomType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveMask</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveMask</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Name</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AlarmName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentVolume</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Volume</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentChannel</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveList</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveList</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetControlDeviceInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MultiType</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>MultiRoomType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Router</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Router</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Ssid</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Ssid</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveMask</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveMask</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentVolume</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Volume</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentMute</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Mute</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentChannel</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveList</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveList</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Status</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Status</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>MultiPlaySlaveMask</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveMask</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>SlaveMask</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetAlarmQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>AlarmContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AlarmContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetAlarmQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>AlarmName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AlarmName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AlarmContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AlarmContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>DeleteAlarmQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>AlarmName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AlarmName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetDeviceName</name>\r\n<argumentList>\r\n<argument>\r\n<name>Name</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AlarmName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="no">\r\n<name>Volume</name>\r\n<dataType>ui2</dataType>\r\n<allowedValueRange>\r\n<minimum>0</minimum>\r\n<maximum>100</maximum>\r\n<step>1</step>\r\n</allowedValueRange>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>StreamCapability</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AppVersion</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_InstanceID</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_PresetName</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>FactoryDefaults</allowedValue>\r\n<allowedValue>InstallationDefaults</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Mute</name>\r\n<dataType>boolean</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>LastChange</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Channel</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>Master</allowedValue>\r\n<allowedValue>Single</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PresetNameList</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Channel</name>\r\n<dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Equalizer</name>\r\n<dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SlaveList</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Status</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Router</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SlaveMask</name>\r\n<dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>MultiRoomType</name>\r\n<dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Ssid</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AlarmName</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AlarmContext</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TimeStamp</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/PlayQueueSCPD.xml

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 13406
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:13 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>CreateQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>ReplaceQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>DeleteQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>BackUpQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>AppendQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>BrowseQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetQueueLoopMode</name>\r\n<argumentList>\r\n<argument>\r\n<name>LoopMode</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>LoopMode</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetQueueLoopMode</name>\r\n<argumentList>\r\n<argument>\r\n<name>LoopMode</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>LoopMode</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetQueuePolicy</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>PlayQueueWithIndex</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Index</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>AppendTracksInQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>RemoveTracksInQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RangStart</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RangEnd</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>AppendTracksInQueueEx</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Direction</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StartIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetKeyMapping</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetKeyMapping</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetQueueOnline</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueType</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Queuelimit</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueAutoInsert</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueAutoInsert</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SearchQueueOnline</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SearchKey</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Queuelimit</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetQueueRecord</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Action</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetSongsRecord</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SongID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Action</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>UserRegister</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>UserName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PassWord</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>UserLogin</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>UserName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PassWord</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SavePass</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueuePolicy</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Code</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Proxy</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Proxy</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>UserLogout</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetUserInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetUserAccountHistory</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Number</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetUserFavorites</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Action</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Code</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaType</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetUserFavorites</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaType</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Filter</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetQueueIndex</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentIndex</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentPage</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentPage</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetSpotifyPreset</name>\r\n<argumentList>\r\n<argument>\r\n<name>KeyIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>DeleteActionQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>PressType</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="yes">\r\n<name>LastChange</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueName</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueContext</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentIndex</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentPage</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueuePolicy</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>LoopMode</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueType</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueAutoInsert</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Result</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Code</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Proxy</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/QPlaySCPD.xml

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 6927
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:13 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>InsertTracks</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StartingIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_StartingIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TracksMetaData</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_TracksMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfSuccess</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>RemoveTracks</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StartingIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_StartingIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfTracks</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfSuccess</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>RemoveAllTracks</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfSuccess</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTracksInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>StartingIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_StartingIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfTracks</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TracksMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetTracksInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StartingIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_StartingIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NextIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NextIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TracksMetaData</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfTracks</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTracksCount</name>\r\n<argumentList>\r\n<argument>\r\n<name>NrTracks</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetMaxTracks</name>\r\n<argumentList>\r\n<argument>\r\n<name>MaxTracks</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>QPlayAuth</name>\r\n<argumentList>\r\n<argument>\r\n<name>Seed</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Seed</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Code</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Code</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_MID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_DID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetNetwork</name>\r\n<argumentList>\r\n<argument>\r\n<name>SSID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_SSID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Key</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Key</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AuthAlgo</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_AuthAlgo</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CipherAlgo</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_CipherAlgo</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_SSID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Key</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_AuthAlgo</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>open</allowedValue>\r\n<allowedValue>shared</allowedValue>\r\n<allowedValue>WPA</allowedValue>\r\n<allowedValue>WPAPSK</allowedValue>\r\n<allowedValue>WPA2</allowedValue>\r\n<allowedValue>WPA2PSK</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_CipherAlgo</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>none</allowedValue>\r\n<allowedValue>WEP</allowedValue>\r\n<allowedValue>TKIP</allowedValue>\r\n<allowedValue>AES</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Seed</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Code</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_MID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_DID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_QueueID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_StartingIndex</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_NextIndex</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_NumberOfTracks</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_TracksMetaData</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:13 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Getting event handler for EventListenAddr(host='192.168.8.142', port=0, callback_url=None)
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.aiohttp] event_handler listening on {<AddressFamily.AF_INET: 2>: 35613}
2021-10-07 10:26:13 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Started event handler at http://192.168.8.142:35613/notify
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.profile] Subscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.event_handler] Determine callback URL for: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.event_handler] Subscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>, callback URL: http://192.168.8.142:35613/notify
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
SUBSCRIBE http://192.168.8.95:49152/upnp/event/rendertransport1
NT: upnp:event
TIMEOUT: Second-540
HOST: 192.168.8.95:49152
CALLBACK: <http://192.168.8.142:35613/notify>

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Date: Thu, 07 Oct 2021 08:26:13 GMT
Server: Linux/4.4.22
Content-Length: 0
SID: uuid:3b880e62-2748-11ec-9ffb-9d039c4a94ed
TIMEOUT: Second-540

b''
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.event_handler] Got SID: uuid:3b880e62-2748-11ec-9ffb-9d039c4a94ed, timeout: 0:09:00
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.profile] Subscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.event_handler] Determine callback URL for: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.event_handler] Subscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>, callback URL: http://192.168.8.142:35613/notify
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
SUBSCRIBE http://192.168.8.95:49152/upnp/event/rendercontrol1
NT: upnp:event
TIMEOUT: Second-540
HOST: 192.168.8.95:49152
CALLBACK: <http://192.168.8.142:35613/notify>

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
SUBSCRIBE http://192.168.8.95:49152/upnp/event/rendercontrol1
NT: upnp:event
TIMEOUT: Second-540
HOST: 192.168.8.95:49152
CALLBACK: <http://192.168.8.142:35613/notify>

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.aiohttp] Received request: <BaseRequest NOTIFY /notify >
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Incoming request:
NOTIFY
Host: 192.168.8.142:35613
Content-Type: text/xml; charset="utf-8"
Content-Length: 2501
NT: upnp:event
NTS: upnp:propchange
SID: uuid:3b880e62-2748-11ec-9ffb-9d039c4a94ed
SEQ: 0

<?xml version='1.0' encoding='UTF-8' ?>
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0">
  <e:property>
    <LastChange>&lt;Event xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/AVT/&quot;&gt;
&lt;InstanceID val=&quot;0&quot;&gt;
&lt;TransportState val=&quot;PLAYING&quot;/&gt;
&lt;TransportStatus val=&quot;OK&quot;/&gt;
&lt;NumberOfTracks val=&quot;1&quot;/&gt;
&lt;CurrentTrack val=&quot;0&quot;/&gt;
&lt;CurrentTrackDuration val=&quot;00:00:00&quot;/&gt;
&lt;CurrentMediaDuration val=&quot;00:00:00&quot;/&gt;
&lt;CurrentTrackURI val=&quot;https://stream.rcs.revma.com/4md4m0a0fs8uv&quot;/&gt;
&lt;AVTransportURI val=&quot;https://stream.rcs.revma.com/4md4m0a0fs8uv&quot;/&gt;
&lt;CurrentTrackMetaData val=&quot;&amp;lt;DIDL-Lite xmlns=&amp;quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&amp;quot; xmlns:dc=&amp;quot;http://purl.org/dc/elements/1.1/&amp;quot; xmlns:upnp=&amp;quot;urn:schemas-upnp-org:metadata-1-0/upnp/&amp;quot; xmlns:sec=&amp;quot;http://www.sec.co.kr/&amp;quot;&amp;gt;&amp;lt;item id=&amp;quot;0&amp;quot; parentID=&amp;quot;-1&amp;quot; restricted=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;dc:title&amp;gt;Home Assistant&amp;lt;/dc:title&amp;gt;&amp;lt;upnp:class&amp;gt;object.item&amp;lt;/upnp:class&amp;gt;&amp;lt;res protocolInfo=&amp;quot;http-get:*:application/octet-stream:*&amp;quot;&amp;gt;https://stream.rcs.revma.com/4md4m0a0fs8uv&amp;lt;/res&amp;gt;&amp;lt;/item&amp;gt;&amp;lt;/DIDL-Lite&amp;gt;&quot;/&gt;
&lt;PlaybackStorageMedium val=&quot;THIRD-DLNA&quot;/&gt;
&lt;PossiblePlaybackStorageMedia val=&quot;NONE,STATION-NETWORK,SONGLIST-NETWORK,SONGLIST-LOCAL,SONGLIST-LOCAL_TF,THIRD-DLNA,AIRPLAY,UNKNOWN&quot;/&gt;
&lt;PossibleRecordStorageMedia val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;RecordStorageMedium val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;CurrentPlayMode val=&quot;NORMAL&quot;/&gt;
&lt;TransportPlaySpeed val=&quot;1&quot;/&gt;
&lt;RecordMediumWriteStatus val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;CurrentRecordQualityMode val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;PossibleRecordQualityModes val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;RelativeTimePosition val=&quot;00:00:00&quot;/&gt;
&lt;AbsoluteTimePosition val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;RelativeCounterPosition val=&quot;-1&quot;/&gt;
&lt;AbsoluteCounterPosition val=&quot;-1&quot;/&gt;
&lt;CurrentTransportActions val=&quot;Stop,Seek,X_DLNA_SeekTime,Pause&quot;/&gt;
&lt;/InstanceID&gt;
&lt;/Event&gt;</LastChange>
</e:property>
</e:propertyset>

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.aiohttp] NOTIFY response status: HTTPStatus.OK
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending response: HTTPStatus.OK
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume_mute
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume_mute
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Date: Thu, 07 Oct 2021 08:26:13 GMT
Server: Linux/4.4.22
Content-Length: 0
SID: uuid:3b8adf70-2748-11ec-9ffb-9d039c4a94ed
TIMEOUT: Second-540

b''
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.event_handler] Got SID: uuid:3b8adf70-2748-11ec-9ffb-9d039c4a94ed, timeout: 0:09:00
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.profile] Creating resubscribe_task
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
POST http://192.168.8.95:49152/upnp/control/rendertransport1
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#GetTransportInfo"
Host: 192.168.8.95:49152
Content-Type: text/xml; charset="utf-8"
Content-Length: 295
<?xml version="1.0"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:GetTransportInfo></s:Body></s:Envelope>

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.profile] _resubscribe_loop started
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.profile] Resubscribing in 479.971641 seconds
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
POST http://192.168.8.95:49152/upnp/control/rendertransport1
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#GetTransportInfo"
Host: 192.168.8.95:49152
Content-Type: text/xml; charset="utf-8"
Content-Length: 295
<?xml version="1.0"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:GetTransportInfo></s:Body></s:Envelope>

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.aiohttp] Received request: <BaseRequest NOTIFY /notify >
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Incoming request:
NOTIFY
Host: 192.168.8.142:35613
Content-Type: text/xml; charset="utf-8"
Content-Length: 647
NT: upnp:event
NTS: upnp:propchange
SID: uuid:3b8adf70-2748-11ec-9ffb-9d039c4a94ed
SEQ: 0

<?xml version='1.0' encoding='UTF-8' ?>
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0">
  <e:property>
    <LastChange>&lt;Event xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/RCS/&quot;&gt;
  &lt;InstanceID val=&quot;0&quot;&gt;
  &lt;Mute channel=&quot;Master&quot; val=&quot;0&quot;/&gt;
  &lt;Channel channel=&quot;Master&quot; val=&quot;0&quot;/&gt;
  &lt;Equaluzer channel=&quot;Master&quot; val=&quot;0&quot;/&gt;
  &lt;Volume channel=&quot;Master&quot; val=&quot;14&quot;/&gt;
  &lt;PresetNameList val=&quot;FactoryDefaults&quot;/&gt;
  &lt;/InstanceID&gt;
&lt;/Event&gt;</LastChange>
</e:property>
</e:propertyset>

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.client] State variable Equaluzer does not exist, ignoring
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.aiohttp] NOTIFY response status: HTTPStatus.OK
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending response: HTTPStatus.OK
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 411
Content-Type: text/xml; charset="utf-8"
Server: Linux/4.4.22

b'<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>\n<u:GetTransportInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">\r\n<CurrentTransportState>PLAYING</CurrentTransportState>\r\n<CurrentTransportStatus>OK</CurrentTransportStatus>\r\n<CurrentSpeed>1</CurrentSpeed>\r\n</u:GetTransportInfoResponse>\r\n</s:Body> </s:Envelope>'
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
POST http://192.168.8.95:49152/upnp/control/rendertransport1
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#GetPositionInfo"
Host: 192.168.8.95:49152
Content-Type: text/xml; charset="utf-8"
Content-Length: 293
<?xml version="1.0"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:GetPositionInfo></s:Body></s:Envelope>

2021-10-07 10:26:13 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Device unavailable
2021-10-07 10:26:13 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Disconnecting from YAS_209
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.profiles.profile] Cancelling resubscribe_task
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.event_handler] Unsubscribing from SID: uuid:3b880e62-2748-11ec-9ffb-9d039c4a94ed, service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)> device: <UpnpDevice(uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
UNSUBSCRIBE http://192.168.8.95:49152/upnp/event/rendertransport1
HOST: 192.168.8.95:49152
SID: uuid:3b880e62-2748-11ec-9ffb-9d039c4a94ed

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.event_handler] Unsubscribing from SID: uuid:3b8adf70-2748-11ec-9ffb-9d039c4a94ed, service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)> device: <UpnpDevice(uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
UNSUBSCRIBE http://192.168.8.95:49152/upnp/event/rendercontrol1
HOST: 192.168.8.95:49152
SID: uuid:3b8adf70-2748-11ec-9ffb-9d039c4a94ed

2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Server: Linux/4.4.22
Connection: close
Content-Length: 41
Content-Type: text/html

b'<html><body><h1>200 OK</h1></body></html>'
2021-10-07 10:26:13 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Server: Linux/4.4.22
Connection: close
Content-Length: 41
Content-Type: text/html

b'<html><body><h1>200 OK</h1></body></html>'
2021-10-07 10:26:14 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.19.0.1', 9961): b'M-SEARCH * HTTP/1.1\r\nMX: 5\r\nST: upnp:rootdevice\r\nMAN: "ssdp:discover"\r\nUser-Agent: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.5.13\r\nConnection: close\r\nHost: 239.255.255.250:1900\r\n\r\n'
2021-10-07 10:26:14 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.19.0.1', 9961): b'M-SEARCH * HTTP/1.1\r\nMX: 5\r\nST: upnp:rootdevice\r\nMAN: "ssdp:discover"\r\nUser-Agent: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.5.13\r\nConnection: close\r\nHost: 239.255.255.250:1900\r\n\r\n'
2021-10-07 10:26:17 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.22.0.3', 33362): b'NOTIFY * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nCACHE-CONTROL: max-age=60\r\nLOCATION: http://172.22.0.3:8080/sabnzbd/description.xml\r\nSERVER: SABnzbd\r\nNT: upnp:rootdevice\r\nUSN: uuid:2870efd1-2a70-3724-b3c9-70c18bb9a0a8::upnp:rootdevice\r\nNTS: ssdp:alive\r\nOPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01\r\n\r\n'
2021-10-07 10:26:17 DEBUG (MainThread) [async_upnp_client.advertisement] Received advertisement, USN: uuid:2870efd1-2a70-3724-b3c9-70c18bb9a0a8::upnp:rootdevice
2021-10-07 10:26:17 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.17.0.1', 10498): b'M-SEARCH * HTTP/1.1\r\nMX: 5\r\nST: upnp:rootdevice\r\nMAN: "ssdp:discover"\r\nUser-Agent: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.5.13\r\nConnection: close\r\nHost: 239.255.255.250:1900\r\n\r\n'
2021-10-07 10:26:17 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.17.0.1', 10498): b'M-SEARCH * HTTP/1.1\r\nMX: 5\r\nST: upnp:rootdevice\r\nMAN: "ssdp:discover"\r\nUser-Agent: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.5.13\r\nConnection: close\r\nHost: 239.255.255.250:1900\r\n\r\n'
2021-10-07 10:26:19 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('192.168.8.142', 49988): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:19 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.20.0.1', 38736): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:19 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.18.0.1', 51727): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:19 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.22.0.1', 44866): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:19 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.21.0.1', 53680): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:19 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.30.32.1', 38010): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:19 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Received packet from ('172.19.0.1', 54522): b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: upnp:rootdevice\r\nMX: 5\r\n\r\n'
2021-10-07 10:26:23 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Connecting to device at http://192.168.8.95:49152/description.xml
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.client_factory] Creating device, description_url: http://192.168.8.95:49152/description.xml
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/description.xml

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 3114
Content-Type: text/xml; charset="utf-8"
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:23 GMT
Last-Modified: Sat, 17 Jul 2021 07:20:43 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<device>\r\n<dlna:X_DLNADOC>DMR-1.50</dlna:X_DLNADOC>\r\n<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\r\n<friendlyName>YAS_209</friendlyName>\r\n<manufacturer>Yamaha Corporation</manufacturer>\r\n<manufacturerURL>https://www.yamaha.com</manufacturerURL>\r\n<modelDescription>Yamaha soundbar</modelDescription>\r\n<modelName>Yamaha soundbar</modelName>\r\n<modelURL>https://www.yamaha.com</modelURL>\r\n<UDN>uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002</UDN>\r\n<modelNumber>V01-Jul 17 2021\r\n</modelNumber>\r\n<serialNumber>00001</serialNumber>\r\n<ssidName>SoundBarSetup_F1C5</ssidName>\r\n<uuid>FFB8F0029BCCCB6A95A24F26</uuid>\r\n<qq:X_QPlay_SoftwareCapability xmlns:qq="http://www.tencent.com">QPlay:2</qq:X_QPlay_SoftwareCapability>\r\n<iconList>\r\n<icon>\r\n<mimetype>image/png</mimetype>\r\n<width>48</width>\r\n<height>48</height>\r\n<depth>24</depth>\r\n<url>/upnp/grender-48x48.png</url>\r\n</icon>\r\n<icon>\r\n<mimetype>image/png</mimetype>\r\n<width>120</width>\r\n<height>120</height>\r\n<depth>24</depth>\r\n<url>/upnp/grender-120x120.png</url>\r\n</icon>\r\n<icon>\r\n<mimetype>image/jpeg</mimetype>\r\n<width>48</width>\r\n<height>48</height>\r\n<depth>24</depth>\r\n<url>/upnp/grender-48x48.jpg</url>\r\n</icon>\r\n<icon>\r\n<mimetype>image/jpeg</mimetype>\r\n<width>120</width>\r\n<height>120</height>\r\n<depth>24</depth>\r\n<url>/upnp/grender-120x120.jpg</url>\r\n</icon>\r\n</iconList>\r\n<serviceList>\r\n<service>\r\n<serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\r\n<serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\r\n<SCPDURL>/upnp/rendertransportSCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/rendertransport1</controlURL>\r\n<eventSubURL>/upnp/event/rendertransport1</eventSubURL>\r\n</service>\r\n<service>\r\n<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\r\n<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\r\n<SCPDURL>/upnp/renderconnmgrSCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/renderconnmgr1</controlURL>\r\n<eventSubURL>/upnp/event/renderconnmgr1</eventSubURL>\r\n</service>\r\n<service>\r\n<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\r\n<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\r\n<SCPDURL>/upnp/rendercontrolSCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/rendercontrol1</controlURL>\r\n<eventSubURL>/upnp/event/rendercontrol1</eventSubURL>\r\n</service>\r\n<service>\r\n<serviceType>urn:schemas-wiimu-com:service:PlayQueue:1</serviceType>\r\n<serviceId>urn:wiimu-com:serviceId:PlayQueue</serviceId>\r\n<SCPDURL>/upnp/PlayQueueSCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/PlayQueue1</controlURL>\r\n<eventSubURL>/upnp/event/PlayQueue1</eventSubURL>\r\n</service>\r\n<service>\r\n<serviceType>urn:schemas-tencent-com:service:QPlay:1</serviceType>\r\n<serviceId>urn:tencent-com:serviceId:QPlay</serviceId>\r\n<SCPDURL>/upnp/QPlaySCPD.xml</SCPDURL>\r\n<controlURL>/upnp/control/QPlay1</controlURL>\r\n<eventSubURL>/upnp/event/QPlay1</eventSubURL>\r\n</service>\r\n</serviceList>\r\n</device>\r\n</root>\r\n'
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/rendertransportSCPD.xml

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 19762
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:23 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>GetCurrentTransportActions</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Actions</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTransportActions</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetDeviceCapabilities</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayMedia</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PossiblePlaybackStorageMedia</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RecMedia</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PossibleRecordStorageMedia</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RecQualityModes</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PossibleRecordQualityModes</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetMediaInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NrTracks</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaDuration</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentMediaDuration</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentURI</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AVTransportURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentURIMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NextURI</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>NextAVTransportURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NextURIMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>NextAVTransportURIMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackSource</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TrackSource</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayMedium</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PlaybackStorageMedium</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RecordMedium</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RecordStorageMedium</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>WriteStatus</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RecordMediumWriteStatus</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetPositionInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Track</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrack</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackDuration</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackDuration</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackURI</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RelTime</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RelativeTimePosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AbsTime</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AbsoluteTimePosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RelCount</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RelativeCounterPosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AbsCount</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AbsoluteCounterPosition</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTransportInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentTransportState</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportState</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentTransportStatus</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportStatus</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentSpeed</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportPlaySpeed</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTransportSettings</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayMode</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentPlayMode</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RecQualityMode</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentRecordQualityMode</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Next</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Pause</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Play</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Speed</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>TransportPlaySpeed</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Previous</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Seek</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Unit</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_SeekMode</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Target</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_SeekTarget</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetAVTransportURI</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentURI</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AVTransportURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentURIMetaData</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>Stop</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetPlayType</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayType</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PlayType</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetInfoEx</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentTransportState</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportState</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentTransportStatus</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportStatus</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentSpeed</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TransportPlaySpeed</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Track</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrack</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackDuration</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackDuration</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackURI</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentTrackURI</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RelTime</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RelativeTimePosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AbsTime</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AbsoluteTimePosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RelCount</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>RelativeCounterPosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AbsCount</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AbsoluteCounterPosition</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>LoopMode</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>LoopMode</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentVolume</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentVolume</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentChannel</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentVolume</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveList</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveList</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PlayMedium</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PlaybackStorageMedium</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TrackSource</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TrackSource</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>InternetAccess</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>InternetAccess</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>VerUpdateFlag</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>VerUpdateFlag</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>VerUpdateStatus</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>VerUpdateStatus</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>BatteryFlag</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>BatteryFlag</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>BatteryPercent</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>BatteryPercent</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AlarmFlag</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AlarmFlag</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TimeStamp</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>TimeStamp</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SubNum</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SubNum</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SpotifyActive</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SpotifyActive</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetPlayMode</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NewPlayMode</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentPlayMode</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SeekForward</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SeekBackward</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="no">\r\n<name>TransportStatus</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>OK</allowedValue>\r\n<allowedValue>ERROR_OCCURRED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTrackMetaData</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>RelativeCounterPosition</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_InstanceID</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_SeekTarget</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PlaybackStorageMedium</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>UNKNOWN</allowedValue>\r\n<allowedValue>CD-DA</allowedValue>\r\n<allowedValue>DVD-VIDEO</allowedValue>\r\n<allowedValue>HDD</allowedValue>\r\n<allowedValue>NETWORK</allowedValue>\r\n<allowedValue>NONE</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>RelativeTimePosition</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PossibleRecordStorageMedia</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentPlayMode</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NORMAL</allowedValue>\r\n<allowedValue>REPEAT_TRACK</allowedValue>\r\n<allowedValue>REPEAT_ALL</allowedValue>\r\n</allowedValueList>\r\n<defaultValue>NORMAL</defaultValue>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TransportPlaySpeed</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>1</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PossiblePlaybackStorageMedia</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>UNKNOWN</allowedValue>\r\n<allowedValue>CD-DA</allowedValue>\r\n<allowedValue>DVD-VIDEO</allowedValue>\r\n<allowedValue>HDD</allowedValue>\r\n<allowedValue>NETWORK</allowedValue>\r\n<allowedValue>NONE</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AbsoluteTimePosition</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTrack</name>\r\n<dataType>ui4</dataType>\r\n<allowedValueRange>\r\n<minimum>0</minimum>\r\n<maximum>65535</maximum>\r\n<step>1</step>\r\n</allowedValueRange>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTrackURI</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTransportActions</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>NumberOfTracks</name>\r\n<dataType>ui4</dataType>\r\n<allowedValueRange>\r\n<minimum>0</minimum>\r\n<maximum>65535</maximum>\r\n</allowedValueRange>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AVTransportURI</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AbsoluteCounterPosition</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentRecordQualityMode</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentMediaDuration</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_SeekMode</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>REL_TIME</allowedValue>\r\n<allowedValue>TRACK_NR</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AVTransportURIMetaData</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>RecordStorageMedium</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>RecordMediumWriteStatus</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>LastChange</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentTrackDuration</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TransportState</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>STOPPED</allowedValue>\r\n<allowedValue>PAUSED_PLAYBACK</allowedValue>\r\n<allowedValue>PLAYING</allowedValue>\r\n<allowedValue>TRANSITIONING</allowedValue>\r\n<allowedValue>NO_MEDIA_PRESENT</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PossibleRecordQualityModes</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>NOT_IMPLEMENTED</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TransportRemote</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PlayType</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>NextAVTransportURI</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>NextAVTransportURIMetaData</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TrackSource</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SlaveList</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentVolume</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>LoopMode</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>InternetAccess</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>VerUpdateFlag</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>VerUpdateStatus</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>BatteryFlag</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>BatteryPercent</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AlarmFlag</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TimeStamp</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SubNum</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SpotifyActive</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/renderconnmgrSCPD.xml

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 3642
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:23 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>GetCurrentConnectionIDs</name>\r\n<argumentList>\r\n<argument>\r\n<name>ConnectionIDs</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentConnectionIDs</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetCurrentConnectionInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>ConnectionID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RcsID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_RcsID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AVTransportID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_AVTransportID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>ProtocolInfo</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ProtocolInfo</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PeerConnectionManager</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ConnectionManager</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PeerConnectionID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Direction</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Direction</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Status</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_ConnectionStatus</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetProtocolInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>Source</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SourceProtocolInfo</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Sink</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SinkProtocolInfo</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_ConnectionManager</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>SinkProtocolInfo</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_ConnectionStatus</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>OK</allowedValue>\r\n<allowedValue>ContentFormatMismatch</allowedValue>\r\n<allowedValue>InsufficientBandwidth</allowedValue>\r\n<allowedValue>UnreliableChannel</allowedValue>\r\n<allowedValue>Unknown</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_AVTransportID</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Direction</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>Input</allowedValue>\r\n<allowedValue>Output</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_RcsID</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_ProtocolInfo</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_ConnectionID</name>\r\n<dataType>i4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>SourceProtocolInfo</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>CurrentConnectionIDs</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/rendercontrolSCPD.xml

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 11724
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:23 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>GetMute</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentMute</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Mute</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetVolume</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentVolume</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Volume</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>StreamServicesCapability</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AppVersion</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AppVersion</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StreamCapability</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>StreamCapability</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetChannel</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentChannel</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Channel</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetEqualizer</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentEqualizer</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Equalizer</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>ListPresets</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentPresetNameList</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>PresetNameList</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SelectPreset</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PresetName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_PresetName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetMute</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DesiredMute</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Mute</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetVolume</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DesiredVolume</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Volume</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetChannel</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DesiredChannel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Channel</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetEqualizer</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Channel</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DesiredEqualizer</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Equalizer</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetSimpleDeviceInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MultiType</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>MultiRoomType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveMask</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveMask</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Name</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AlarmName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentVolume</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Volume</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentChannel</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveList</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveList</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetControlDeviceInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MultiType</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>MultiRoomType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Router</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Router</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Ssid</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Ssid</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveMask</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveMask</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentVolume</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Volume</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentMute</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Mute</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentChannel</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Channel</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveList</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>SlaveList</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Status</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Status</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>MultiPlaySlaveMask</name>\r\n<argumentList>\r\n<argument>\r\n<name>InstanceID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SlaveMask</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>SlaveMask</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetAlarmQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>AlarmContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AlarmContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetAlarmQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>AlarmName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AlarmName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AlarmContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>AlarmContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>DeleteAlarmQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>AlarmName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AlarmName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetDeviceName</name>\r\n<argumentList>\r\n<argument>\r\n<name>Name</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>AlarmName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="no">\r\n<name>Volume</name>\r\n<dataType>ui2</dataType>\r\n<allowedValueRange>\r\n<minimum>0</minimum>\r\n<maximum>100</maximum>\r\n<step>1</step>\r\n</allowedValueRange>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>StreamCapability</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AppVersion</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_InstanceID</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_PresetName</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>FactoryDefaults</allowedValue>\r\n<allowedValue>InstallationDefaults</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Mute</name>\r\n<dataType>boolean</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="yes">\r\n<name>LastChange</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Channel</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>Master</allowedValue>\r\n<allowedValue>Single</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>PresetNameList</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Channel</name>\r\n<dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Equalizer</name>\r\n<dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SlaveList</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Status</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Router</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>SlaveMask</name>\r\n<dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>MultiRoomType</name>\r\n<dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Ssid</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AlarmName</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>AlarmContext</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>TimeStamp</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/PlayQueueSCPD.xml

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 13406
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:23 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>CreateQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>ReplaceQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>DeleteQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>BackUpQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>AppendQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>BrowseQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetQueueLoopMode</name>\r\n<argumentList>\r\n<argument>\r\n<name>LoopMode</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>LoopMode</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetQueueLoopMode</name>\r\n<argumentList>\r\n<argument>\r\n<name>LoopMode</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>LoopMode</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetQueuePolicy</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>PlayQueueWithIndex</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Index</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>AppendTracksInQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>RemoveTracksInQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RangStart</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>RangEnd</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>AppendTracksInQueueEx</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Direction</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StartIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetKeyMapping</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetKeyMapping</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetQueueOnline</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueType</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Queuelimit</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueAutoInsert</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueAutoInsert</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SearchQueueOnline</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SearchKey</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Queuelimit</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueContext</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetQueueRecord</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Action</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetSongsRecord</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SongID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Action</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>UserRegister</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>UserName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PassWord</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>UserLogin</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>UserName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>PassWord</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>SavePass</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueuePolicy</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Code</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Proxy</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Proxy</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>UserLogout</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetUserInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetUserAccountHistory</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Number</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetUserFavorites</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Action</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>Code</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaType</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaContext</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueContext</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetUserFavorites</name>\r\n<argumentList>\r\n<argument>\r\n<name>AccountSource</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MediaType</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Filter</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueType</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetQueueIndex</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueName</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>QueueName</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentIndex</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CurrentPage</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>CurrentPage</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetSpotifyPreset</name>\r\n<argumentList>\r\n<argument>\r\n<name>KeyIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Result</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>Result</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>DeleteActionQueue</name>\r\n<argumentList>\r\n<argument>\r\n<name>PressType</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>CurrentIndex</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="yes">\r\n<name>LastChange</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueName</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueContext</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentIndex</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>CurrentPage</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueuePolicy</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>LoopMode</name>\r\n<dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueType</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>QueueAutoInsert</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Result</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Code</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>Proxy</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
GET http://192.168.8.95:49152/upnp/QPlaySCPD.xml

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Content-Length: 6927
Content-Type: text/xml
Content-Language: en
Date: Thu, 07 Oct 2021 08:26:23 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Server: Linux/4.4.22
Connection: close

b'<?xml version="1.0"?>\r\n<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r\n<specVersion>\r\n<major>1</major>\r\n<minor>0</minor>\r\n</specVersion>\r\n<actionList>\r\n<action>\r\n<name>InsertTracks</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StartingIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_StartingIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TracksMetaData</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_TracksMetaData</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfSuccess</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>RemoveTracks</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StartingIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_StartingIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfTracks</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfSuccess</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>RemoveAllTracks</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfSuccess</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTracksInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>StartingIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_StartingIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfTracks</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TracksMetaData</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetTracksInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>QueueID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_QueueID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>StartingIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_StartingIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NextIndex</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NextIndex</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>TracksMetaData</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>NumberOfTracks</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTracksCount</name>\r\n<argumentList>\r\n<argument>\r\n<name>NrTracks</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetMaxTracks</name>\r\n<argumentList>\r\n<argument>\r\n<name>MaxTracks</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_NumberOfTracks</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>QPlayAuth</name>\r\n<argumentList>\r\n<argument>\r\n<name>Seed</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Seed</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Code</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Code</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>MID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_MID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>DID</name>\r\n<direction>out</direction>\r\n<relatedStateVariable>A_ARG_TYPE_DID</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetNetwork</name>\r\n<argumentList>\r\n<argument>\r\n<name>SSID</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_SSID</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>Key</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_Key</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>AuthAlgo</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_AuthAlgo</relatedStateVariable>\r\n</argument>\r\n<argument>\r\n<name>CipherAlgo</name>\r\n<direction>in</direction>\r\n<relatedStateVariable>A_ARG_TYPE_CipherAlgo</relatedStateVariable>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_SSID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Key</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_AuthAlgo</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>open</allowedValue>\r\n<allowedValue>shared</allowedValue>\r\n<allowedValue>WPA</allowedValue>\r\n<allowedValue>WPAPSK</allowedValue>\r\n<allowedValue>WPA2</allowedValue>\r\n<allowedValue>WPA2PSK</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_CipherAlgo</name>\r\n<dataType>string</dataType>\r\n<allowedValueList>\r\n<allowedValue>none</allowedValue>\r\n<allowedValue>WEP</allowedValue>\r\n<allowedValue>TKIP</allowedValue>\r\n<allowedValue>AES</allowedValue>\r\n</allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Seed</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_Code</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_MID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_DID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_QueueID</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_StartingIndex</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_NextIndex</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_NumberOfTracks</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents="no">\r\n<name>A_ARG_TYPE_TracksMetaData</name>\r\n<dataType>string</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n'
2021-10-07 10:26:23 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Getting event handler for EventListenAddr(host='192.168.8.142', port=0, callback_url=None)
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.aiohttp] event_handler listening on {<AddressFamily.AF_INET: 2>: 42443}
2021-10-07 10:26:23 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Started event handler at http://192.168.8.142:42443/notify
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.profile] Subscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.event_handler] Determine callback URL for: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.event_handler] Subscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>, callback URL: http://192.168.8.142:42443/notify
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
SUBSCRIBE http://192.168.8.95:49152/upnp/event/rendertransport1
NT: upnp:event
TIMEOUT: Second-540
HOST: 192.168.8.95:49152
CALLBACK: <http://192.168.8.142:42443/notify>

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Date: Thu, 07 Oct 2021 08:26:23 GMT
Server: Linux/4.4.22
Content-Length: 0
SID: uuid:417efe84-2748-11ec-9ffb-9d039c4a94ed
TIMEOUT: Second-540

b''
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.event_handler] Got SID: uuid:417efe84-2748-11ec-9ffb-9d039c4a94ed, timeout: 0:09:00
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.profile] Subscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.event_handler] Determine callback URL for: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.event_handler] Subscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>, callback URL: http://192.168.8.142:42443/notify
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
SUBSCRIBE http://192.168.8.95:49152/upnp/event/rendercontrol1
NT: upnp:event
TIMEOUT: Second-540
HOST: 192.168.8.95:49152
CALLBACK: <http://192.168.8.142:42443/notify>

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
SUBSCRIBE http://192.168.8.95:49152/upnp/event/rendercontrol1
NT: upnp:event
TIMEOUT: Second-540
HOST: 192.168.8.95:49152
CALLBACK: <http://192.168.8.142:42443/notify>

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.aiohttp] Received request: <BaseRequest NOTIFY /notify >
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Incoming request:
NOTIFY
Host: 192.168.8.142:42443
Content-Type: text/xml; charset="utf-8"
Content-Length: 2501
NT: upnp:event
NTS: upnp:propchange
SID: uuid:417efe84-2748-11ec-9ffb-9d039c4a94ed
SEQ: 0

<?xml version='1.0' encoding='UTF-8' ?>
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0">
  <e:property>
    <LastChange>&lt;Event xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/AVT/&quot;&gt;
&lt;InstanceID val=&quot;0&quot;&gt;
&lt;TransportState val=&quot;PLAYING&quot;/&gt;
&lt;TransportStatus val=&quot;OK&quot;/&gt;
&lt;NumberOfTracks val=&quot;1&quot;/&gt;
&lt;CurrentTrack val=&quot;0&quot;/&gt;
&lt;CurrentTrackDuration val=&quot;00:00:00&quot;/&gt;
&lt;CurrentMediaDuration val=&quot;00:00:00&quot;/&gt;
&lt;CurrentTrackURI val=&quot;https://stream.rcs.revma.com/4md4m0a0fs8uv&quot;/&gt;
&lt;AVTransportURI val=&quot;https://stream.rcs.revma.com/4md4m0a0fs8uv&quot;/&gt;
&lt;CurrentTrackMetaData val=&quot;&amp;lt;DIDL-Lite xmlns=&amp;quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&amp;quot; xmlns:dc=&amp;quot;http://purl.org/dc/elements/1.1/&amp;quot; xmlns:upnp=&amp;quot;urn:schemas-upnp-org:metadata-1-0/upnp/&amp;quot; xmlns:sec=&amp;quot;http://www.sec.co.kr/&amp;quot;&amp;gt;&amp;lt;item id=&amp;quot;0&amp;quot; parentID=&amp;quot;-1&amp;quot; restricted=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;dc:title&amp;gt;Home Assistant&amp;lt;/dc:title&amp;gt;&amp;lt;upnp:class&amp;gt;object.item&amp;lt;/upnp:class&amp;gt;&amp;lt;res protocolInfo=&amp;quot;http-get:*:application/octet-stream:*&amp;quot;&amp;gt;https://stream.rcs.revma.com/4md4m0a0fs8uv&amp;lt;/res&amp;gt;&amp;lt;/item&amp;gt;&amp;lt;/DIDL-Lite&amp;gt;&quot;/&gt;
&lt;PlaybackStorageMedium val=&quot;THIRD-DLNA&quot;/&gt;
&lt;PossiblePlaybackStorageMedia val=&quot;NONE,STATION-NETWORK,SONGLIST-NETWORK,SONGLIST-LOCAL,SONGLIST-LOCAL_TF,THIRD-DLNA,AIRPLAY,UNKNOWN&quot;/&gt;
&lt;PossibleRecordStorageMedia val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;RecordStorageMedium val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;CurrentPlayMode val=&quot;NORMAL&quot;/&gt;
&lt;TransportPlaySpeed val=&quot;1&quot;/&gt;
&lt;RecordMediumWriteStatus val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;CurrentRecordQualityMode val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;PossibleRecordQualityModes val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;RelativeTimePosition val=&quot;00:00:00&quot;/&gt;
&lt;AbsoluteTimePosition val=&quot;NOT_IMPLEMENTED&quot;/&gt;
&lt;RelativeCounterPosition val=&quot;-1&quot;/&gt;
&lt;AbsoluteCounterPosition val=&quot;-1&quot;/&gt;
&lt;CurrentTransportActions val=&quot;Stop,Seek,X_DLNA_SeekTime,Pause&quot;/&gt;
&lt;/InstanceID&gt;
&lt;/Event&gt;</LastChange>
</e:property>
</e:propertyset>

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.aiohttp] NOTIFY response status: HTTPStatus.OK
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending response: HTTPStatus.OK
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume_mute
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume_mute
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response:
200
Date: Thu, 07 Oct 2021 08:26:23 GMT
Server: Linux/4.4.22
Content-Length: 0
SID: uuid:418102b0-2748-11ec-9ffb-9d039c4a94ed
TIMEOUT: Second-540

b''
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.event_handler] Got SID: uuid:418102b0-2748-11ec-9ffb-9d039c4a94ed, timeout: 0:09:00
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.profile] Creating resubscribe_task
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
POST http://192.168.8.95:49152/upnp/control/rendertransport1
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#GetTransportInfo"
Host: 192.168.8.95:49152
Content-Type: text/xml; charset="utf-8"
Content-Length: 295
<?xml version="1.0"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:GetTransportInfo></s:Body></s:Envelope>

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.profile] _resubscribe_loop started
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.profile] Resubscribing in 479.976385 seconds
2021-10-07 10:26:23 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Device unavailable
2021-10-07 10:26:23 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Disconnecting from YAS_209
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.profiles.profile] Cancelling resubscribe_task
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.event_handler] Unsubscribing from SID: uuid:417efe84-2748-11ec-9ffb-9d039c4a94ed, service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)> device: <UpnpDevice(uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
UNSUBSCRIBE http://192.168.8.95:49152/upnp/event/rendertransport1
HOST: 192.168.8.95:49152
SID: uuid:417efe84-2748-11ec-9ffb-9d039c4a94ed

2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.event_handler] Unsubscribing from SID: uuid:418102b0-2748-11ec-9ffb-9d039c4a94ed, service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)> device: <UpnpDevice(uuid:FFB8F002-9BCC-CB6A-95A2-4F26FFB8F002)>
2021-10-07 10:26:23 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
UNSUBSCRIBE http://192.168.8.95:49152/upnp/event/rendercontrol1
HOST: 192.168.8.95:49152
SID: uuid:418102b0-2748-11ec-9ffb-9d039c4a94ed

Additional information

No response

probot-home-assistant[bot] commented 3 years ago

dlna_dmr documentation dlna_dmr source (message by IssueLinks)

probot-home-assistant[bot] commented 3 years ago

Hey there @stevenlooman, @chishm, mind taking a look at this issue as it has been labeled with an integration (dlna_dmr) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

chishm commented 3 years ago

Thank you for the bug report and the detailed log, @tomasz8w. I'm still working through it to figure out what is wrong, but I do have some information to share. It looks like some requests are made twice with the second request succeeding, followed by one more separate request, just before the disconnect occurs.

It also looks like the poll availability option is turned on for the device. Could you please try turning that off (in the integration page, the options for that particular device) and see if that helps? It may only have the effect that the device goes unavailable then doesn't become available again, but even that information is good to know.

tomasz8w commented 3 years ago

It looks that turning off poll availability fixes this switching behavior. Thanks! Let me know if there is something else I can do in this matter.

tomasz8w commented 3 years ago

I noticed that unavailable states no longer occurs but when trying to play a stream, sometimes I get following error: Error during call async_media_play: UpnpConnectionError('[Errno None] Can not write request body for http://192.168.8.95:49152/upnp/control/rendertransport1') I'm on core-2021.10.2 version now

chishm commented 3 years ago

That looks like the device is closing connections while UPnP (HTTP) requests are being made. Are you also seeing any messages from async_upnp_client that end with during request; retrying?

tomasz8w commented 3 years ago

I can see this kind of messages but they are not time related to my problem. But they occurs quite often, about 50 per day. Nothing suspicious in log apart from that, just play request followed by error:

2021-10-15 14:55:44 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Sending request:
POST http://192.168.8.95:49152/upnp/control/rendertransport1
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Host: 192.168.8.95:49152
Content-Type: text/xml; charset="utf-8"
Content-Length: 288
<?xml version="1.0"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID>
<Speed>1</Speed></u:Play></s:Body></s:Envelope>

2021-10-15 14:55:44 ERROR (MainThread) [homeassistant.components.dlna_dmr] Error during call async_media_play: UpnpConnectionError('[Errno None] Can not write request body for http://192.168.8.95:49152/upnp/control/rendertransport1')
chishm commented 3 years ago

Hi @tomasz8w, this should be fixed now in the dev branch, and should make it into the 2021.10.7 release. If you have the same problems after that, please open an issue linked to this one.