Show info pop-up "Searching for PMS" until PKC displays the results
This commit is contained in:
parent
b3402fc3d5
commit
65fe1ed399
1 changed files with 3 additions and 1 deletions
|
@ -314,7 +314,7 @@ class InitialSetup(object):
|
||||||
heading='{plex}',
|
heading='{plex}',
|
||||||
message=utils.lang(30001),
|
message=utils.lang(30001),
|
||||||
icon='{plex}',
|
icon='{plex}',
|
||||||
time=5000)
|
time=60000)
|
||||||
while True:
|
while True:
|
||||||
if https_updated is False:
|
if https_updated is False:
|
||||||
serverlist = PF.discover_pms(self.plex_token)
|
serverlist = PF.discover_pms(self.plex_token)
|
||||||
|
@ -343,6 +343,8 @@ class InitialSetup(object):
|
||||||
dialoglist.append('%s (%s)'
|
dialoglist.append('%s (%s)'
|
||||||
% (server['name'], msg))
|
% (server['name'], msg))
|
||||||
# Let user pick server from a list
|
# Let user pick server from a list
|
||||||
|
# Close the PKC info "Searching for PMS"
|
||||||
|
executebuiltin("Dialog.Close(all, true)")
|
||||||
resp = utils.dialog('select', utils.lang(39012), dialoglist)
|
resp = utils.dialog('select', utils.lang(39012), dialoglist)
|
||||||
if resp == -1:
|
if resp == -1:
|
||||||
# User cancelled
|
# User cancelled
|
||||||
|
|
Loading…
Reference in a new issue