devialet 1.5.8__tar.gz → 1.5.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {devialet-1.5.8 → devialet-1.5.9}/PKG-INFO +1 -1
- {devialet-1.5.8 → devialet-1.5.9}/devialet/devialet_api.py +5 -2
- {devialet-1.5.8 → devialet-1.5.9}/devialet.egg-info/PKG-INFO +1 -1
- {devialet-1.5.8 → devialet-1.5.9}/setup.py +1 -1
- {devialet-1.5.8 → devialet-1.5.9}/LICENSE +0 -0
- {devialet-1.5.8 → devialet-1.5.9}/README.md +0 -0
- {devialet-1.5.8 → devialet-1.5.9}/devialet/__init__.py +0 -0
- {devialet-1.5.8 → devialet-1.5.9}/devialet/const.py +0 -0
- {devialet-1.5.8 → devialet-1.5.9}/devialet.egg-info/SOURCES.txt +0 -0
- {devialet-1.5.8 → devialet-1.5.9}/devialet.egg-info/dependency_links.txt +0 -0
- {devialet-1.5.8 → devialet-1.5.9}/devialet.egg-info/requires.txt +0 -0
- {devialet-1.5.8 → devialet-1.5.9}/devialet.egg-info/top_level.txt +0 -0
- {devialet-1.5.8 → devialet-1.5.9}/setup.cfg +0 -0
|
@@ -592,7 +592,10 @@ class DevialetApi:
|
|
|
592
592
|
return False
|
|
593
593
|
|
|
594
594
|
LOGGER.debug("Action result: %s", str(result))
|
|
595
|
-
|
|
595
|
+
if await self.async_upnp_play():
|
|
596
|
+
return True
|
|
597
|
+
# The UPnP renderer can report PLAYING while paused and then refuses Play (error 701)
|
|
598
|
+
return await self._async_post_request(UrlSuffix.PLAY)
|
|
596
599
|
|
|
597
600
|
LOGGER.error("Error playing %s: the device could not open %s", media_title, media_id)
|
|
598
601
|
return False
|
|
@@ -609,7 +612,7 @@ class DevialetApi:
|
|
|
609
612
|
try:
|
|
610
613
|
await play.async_call(InstanceID=0, Speed="1")
|
|
611
614
|
except UpnpActionResponseError as a:
|
|
612
|
-
LOGGER.
|
|
615
|
+
LOGGER.debug("Error sending UPnP play: %s %s", a.error_code, a.error_desc)
|
|
613
616
|
return False
|
|
614
617
|
except UpnpXmlParseError as x:
|
|
615
618
|
LOGGER.error("Error sending UPnP play: %s", x.text)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|