Add notification when searching for PMS
This commit is contained in:
parent
1151076660
commit
b2d37ec9b7
2 changed files with 10 additions and 0 deletions
|
@ -23,6 +23,10 @@ msgctxt "#30000"
|
||||||
msgid "Server Address (IP)"
|
msgid "Server Address (IP)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#30001"
|
||||||
|
msgid "Searching for PMS"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "#30002"
|
msgctxt "#30002"
|
||||||
msgid "Preferred playback method"
|
msgid "Preferred playback method"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -375,6 +375,12 @@ class InitialSetup(object):
|
||||||
Returns server or None if unsuccessful
|
Returns server or None if unsuccessful
|
||||||
"""
|
"""
|
||||||
https_updated = False
|
https_updated = False
|
||||||
|
# Searching for PMS
|
||||||
|
dialog('notification',
|
||||||
|
heading='{plex}',
|
||||||
|
message=lang(30001),
|
||||||
|
icon='{plex}',
|
||||||
|
time=5000)
|
||||||
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)
|
||||||
|
|
Loading…
Reference in a new issue