Fix ValueError for plex.tv URLs
This commit is contained in:
parent
3bc05c7fa0
commit
3fdee81833
1 changed files with 1 additions and 1 deletions
|
@ -667,7 +667,7 @@ class PlexAPI():
|
|||
url = '%s://%s:%s' % (protocol, address, port)
|
||||
else:
|
||||
url = data['uri']
|
||||
protocol, address, port = url.split(':')
|
||||
protocol, address, port = url.split(':', 2)
|
||||
address = address.replace('/', '')
|
||||
|
||||
xml = self.doUtils('%s/identity' % url,
|
||||
|
|
Loading…
Reference in a new issue