Fix Plex client controls when connected via plex.tv resource (#37572)
parent
b9f97e64f8
commit
ba356c41e0
|
@ -318,6 +318,8 @@ class PlexServer:
|
|||
_LOGGER.debug("plex.tv resource connection successful: %s", client)
|
||||
except NotFound:
|
||||
_LOGGER.error("plex.tv resource connection failed: %s", resource.name)
|
||||
else:
|
||||
client.proxyThroughServer(value=False, server=self._plex_server)
|
||||
|
||||
self._plextv_device_cache[client_id] = client
|
||||
return client
|
||||
|
|
|
@ -229,6 +229,10 @@ class MockPlexClient:
|
|||
"""Mock the version attribute."""
|
||||
return "1.0"
|
||||
|
||||
def proxyThroughServer(self, value=True, server=None):
|
||||
"""Mock the proxyThroughServer method."""
|
||||
pass
|
||||
|
||||
def playMedia(self, item):
|
||||
"""Mock the playMedia method."""
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue