mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Make display message time a setting
To review later, as maybe a server setting should be implemented instead.
This commit is contained in:
parent
6c44df1ce4
commit
0ed6c8e2b0
3 changed files with 3 additions and 1 deletions
|
@ -233,6 +233,7 @@
|
|||
<string id="30544">Enable database locked fix (will slow syncing process)</string>
|
||||
<string id="30545">Enable server offline message</string>
|
||||
<string id="30546">Enable analytic metric logging</string>
|
||||
<string id="30547">Display message (in seconds)</string>
|
||||
|
||||
<!-- dialogs -->
|
||||
<string id="30600">Sign in with Emby Connect</string>
|
||||
|
|
|
@ -234,7 +234,7 @@ class WebSocketClient(threading.Thread):
|
|||
heading=header,
|
||||
message=text,
|
||||
icon="{emby}",
|
||||
time=7000)
|
||||
time=int(settings('displayMessage'))*1000)
|
||||
|
||||
elif command == 'SendString':
|
||||
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
<setting id="connectMsg" type="bool" label="30249" default="true" />
|
||||
<setting id="offlinetMsg" type="bool" label="30545" default="true" />
|
||||
<setting id="restartMsg" type="bool" label="30530" default="false" />
|
||||
<setting id="displayMessage" type="slider" label="30547" default="4" range="4,1,20" option="int" />
|
||||
<setting id="newContent" type="bool" label="30531" default="false" />
|
||||
<setting id="newvideotime" type="number" label="30532" visible="eq(-1,true)" default="5" option="int" subsetting="true" />
|
||||
<setting id="newmusictime" type="number" label="30533" visible="eq(-2,true)" default="2" option="int" subsetting="true" />
|
||||
|
|
Loading…
Reference in a new issue