Skip to content

Commit

Permalink
Merge pull request #394 from jjlawren/androidtv_workaround
Browse files Browse the repository at this point in the history
Workaround for Android TV client commands.
  • Loading branch information
Hellowlol authored Oct 29, 2019
2 parents 1709868 + 6d4ae35 commit 209f9bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plexapi/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ def sendCommand(self, command, proxy=None, **params):
except ElementTree.ParseError:
# Workaround for players which don't return valid XML on successful commands
# - Plexamp: `b'OK'`
if self.product in ('Plexamp',):
if self.product in (
'Plexamp',
'Plex for Android (TV)',
):
return
raise

Expand Down

0 comments on commit 209f9bd

Please sign in to comment.