mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Squeezebox name fix #4019
This commit is contained in:
parent
2d47b187c5
commit
e7ffec87ac
@ -111,9 +111,11 @@ class LogitechMediaServer(object):
|
|||||||
|
|
||||||
def query(self, *parameters):
|
def query(self, *parameters):
|
||||||
"""Send request and await response from server."""
|
"""Send request and await response from server."""
|
||||||
response = urllib.parse.unquote(self.get(' '.join(parameters)))
|
response = self.get(' '.join(parameters))
|
||||||
|
response = response.split(' ')[-1].strip()
|
||||||
|
response = urllib.parse.unquote(response)
|
||||||
|
|
||||||
return response.split(' ')[-1].strip()
|
return response
|
||||||
|
|
||||||
def get_player_status(self, player):
|
def get_player_status(self, player):
|
||||||
"""Get the status of a player."""
|
"""Get the status of a player."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user