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