Revert "Fix ValueError if plex.tv returns Plex Cloud URIs"
This reverts commit a7702573ad
.
This commit is contained in:
parent
fe3293e986
commit
f00b5fe59d
1 changed files with 1 additions and 6 deletions
|
@ -413,12 +413,7 @@ def _poke_pms(pms, queue):
|
|||
data['address'],
|
||||
data['port'])
|
||||
pms['connections'].insert(1, conn)
|
||||
try:
|
||||
protocol, address, port = url.split(':', 2)
|
||||
except ValueError:
|
||||
# e.g. .ork.plex.services uri, thanks Plex
|
||||
protocol, address = url.split(':', 1)
|
||||
port = data['port']
|
||||
protocol, address, port = url.split(':', 2)
|
||||
address = address.replace('/', '')
|
||||
xml = DU().downloadUrl('%s/identity' % url,
|
||||
authenticate=False,
|
||||
|
|
Loading…
Reference in a new issue