Skip to content

Commit c3dc913

Browse files
authored
Fix openpht bug.
1 parent 6da1a03 commit c3dc913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def playMedia(self, media, offset=0, **params):
446446
raise Unsupported('A server must be specified before using this command.')
447447
server_url = media._server._baseurl.split(':')
448448

449-
if not self.product != 'OpenPHT':
449+
if self.product != 'OpenPHT':
450450
try:
451451
self.sendCommand('timeline/subscribe', port=server_url[1].strip('/'), protocol='http')
452452
except: # noqa: E722

0 commit comments

Comments
 (0)