Fix ValueError for plex.tv URLs

This commit is contained in:
tomkat83 2017-01-12 19:37:31 +01:00
parent 3bc05c7fa0
commit 3fdee81833

View file

@ -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,