parent
7e58fae9a2
commit
46b5cc2209
4 changed files with 11 additions and 7 deletions
|
@ -20,6 +20,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>
|
||||||
<string id="30036">Number of recent Movies to show:</string>
|
<string id="30036">Number of recent Movies to show:</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,6 +243,7 @@ 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"
|
||||||
|
if settings('show_pms_offline') == 'true':
|
||||||
self.dialog.notification(addonName,
|
self.dialog.notification(addonName,
|
||||||
'%s %s'
|
'%s %s'
|
||||||
% (name, lang(39213)),
|
% (name, lang(39213)),
|
||||||
|
|
|
@ -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