diff --git a/sonyapilib/device.py b/sonyapilib/device.py index 952c3bb..767f722 100644 --- a/sonyapilib/device.py +++ b/sonyapilib/device.py @@ -374,7 +374,8 @@ def _parse_dmr(self, data): transport_location = service.find( f"{URN_UPNP_DEVICE}controlURL").text - self.rendering_control_url = f"{lirc_url.scheme}://{lirc_url.netloc.split(':')[0]}" \ + self.rendering_control_url = \ + f"{lirc_url.scheme}://{lirc_url.netloc.split(':')[0]}" \ f":{self.dmr_port}{transport_location}" # print(self.rendering_control_url) @@ -764,7 +765,7 @@ def get_playing_status(self): def get_volume(self): """Get device volume.""" - data = f""" + data = """ 0 Master """