Hopefully compatibilty with Plex Cloud
This commit is contained in:
parent
f96faaa880
commit
98384fb5e4
1 changed files with 2 additions and 0 deletions
|
@ -672,6 +672,8 @@ class PlexAPI():
|
|||
url = '%s://%s:%s' % (protocol, address, port)
|
||||
else:
|
||||
url = data['uri']
|
||||
if url.count(':') == 1:
|
||||
url = '%s:%s' % (url, data['port'])
|
||||
protocol, address, port = url.split(':', 2)
|
||||
address = address.replace('/', '')
|
||||
|
||||
|
|
Loading…
Reference in a new issue