Skip to content

Commit 6d4ae35

Browse files
committed
Workaround for Android TV client commands
1 parent 1709868 commit 6d4ae35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plexapi/client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ def sendCommand(self, command, proxy=None, **params):
205205
except ElementTree.ParseError:
206206
# Workaround for players which don't return valid XML on successful commands
207207
# - Plexamp: `b'OK'`
208-
if self.product in ('Plexamp',):
208+
if self.product in (
209+
'Plexamp',
210+
'Plex for Android (TV)',
211+
):
209212
return
210213
raise
211214

0 commit comments

Comments
 (0)