Skip to content

Commit 209f9bd

Browse files
authored
Merge pull request #394 from jjlawren/androidtv_workaround
Workaround for Android TV client commands.
2 parents 1709868 + 6d4ae35 commit 209f9bd

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)