parent
7e58fae9a2
commit
46b5cc2209
4 changed files with 11 additions and 7 deletions
|
@ -19,6 +19,8 @@
|
|||
|
||||
<string id="30022">Advanced</string>
|
||||
<string id="30024">Username</string><!-- Verified -->
|
||||
|
||||
<string id="30025">Display message if PMS goes offline</string>
|
||||
|
||||
<string id="30030">Port Number</string><!-- Verified -->
|
||||
<string id="30031">I own this Plex Media Server</string>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
<string id="30022">Erweitert</string>
|
||||
<string id="30024">Benutzername:</string>
|
||||
<string id="30025">Passwort:</string>
|
||||
<string id="30025">Nachricht anzeigen falls PMS offline</string>
|
||||
<string id="30026">Benutze 'SIMPLEJSON' anstelle von 'JSON'</string>
|
||||
|
||||
<string id="30030">Portnummer:</string>
|
||||
|
|
|
@ -243,12 +243,13 @@ class InitialSetup():
|
|||
'machineIdentifier of %s and name %s is '
|
||||
'offline' % (self.serverid, name))
|
||||
# "PMS xyz offline"
|
||||
self.dialog.notification(addonName,
|
||||
'%s %s'
|
||||
% (name, lang(39213)),
|
||||
xbmcgui.NOTIFICATION_ERROR,
|
||||
7000,
|
||||
False)
|
||||
if settings('show_pms_offline') == 'true':
|
||||
self.dialog.notification(addonName,
|
||||
'%s %s'
|
||||
% (name, lang(39213)),
|
||||
xbmcgui.NOTIFICATION_ERROR,
|
||||
7000,
|
||||
False)
|
||||
return
|
||||
chk = self._checkServerCon(server)
|
||||
if chk == 504 and httpsUpdated is False:
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<setting id="https" label="30243" type="bool" default="false" />
|
||||
<setting id="sslverify" subsetting="true" label="30500" type="bool" default="false" visible="eq(-1,true)" />
|
||||
<setting id="sslcert" subsetting="true" label="30501" type="file" default="None" visible="eq(-2,true)" />
|
||||
<setting id="show_pms_offline" label="30025" type="bool" default="true" /><!-- Display message if PMS goes offline -->
|
||||
|
||||
<setting type="sep" text=""/>
|
||||
|
||||
|
|
Loading…
Reference in a new issue