-
Notifications
You must be signed in to change notification settings - Fork 6
/
UIConfig.json
155 lines (155 loc) · 4.16 KB
/
UIConfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"page": {
"label": "TRANSLATE.KODI.KODICONF"
},
"sections": [
{
"id": "section_bootconf",
"element": "section",
"label": "TRANSLATE.KODI.KODITITLE",
"icon": "fa-cogs",
"onSave": {"type":"controller", "endpoint":"miscellanea/kodi", "method":"updateBootConfig"},
"saveButton": {
"label": "TRANSLATE.KODI.SAVE",
"data": [
"gpu_mem_1024",
"gpu_mem_512",
"gpu_mem_256",
"hdmihotplug"
]
},
"content": [
{
"id": "gpu_mem_1024",
"type":"text",
"element": "input",
"label": "TRANSLATE.KODI.GPUMEM1024",
"doc": "TRANSLATE.KODI.D_GPUMEM1024",
"value": "256"
},
{
"id": "gpu_mem_512",
"type":"text",
"element": "input",
"label": "TRANSLATE.KODI.GPUMEM512",
"doc": "TRANSLATE.KODI.D-GPUMEM512",
"value": "144"
},
{
"id": "gpu_mem_256",
"type":"text",
"element": "input",
"label": "TRANSLATE.KODI.GPUMEM256",
"doc": "TRANSLATE.KODI.D_GPUMEM256",
"value": "112"
},
{
"id":"hdmihotplug",
"element": "switch",
"label": "TRANSLATE.KODI.HDMIHOTPLUG",
"doc": "TRANSLATE.KODI.D_HDMIHOTPLUG",
"value": true
}
]
},
{
"id": "section_dacconf",
"element": "section",
"label": "TRANSLATE.KODI.KODISOUNDTITLE",
"icon": "fa-volume-up",
"onSave": {"type":"controller", "endpoint":"miscellanea/kodi", "method":"updateSoundConfig"},
"saveButton": {
"label": "TRANSLATE.KODI.SAVE",
"data": [
"usedac",
"audiodelay"
]
},
"content": [
{
"id":"usedac",
"element": "switch",
"label": "TRANSLATE.KODI.USEDAC",
"doc": "TRANSLATE.KODI.D_USEDAC",
"description": "TRANSLATE.KODI.DD_USEDAC",
"value": false
},
{
"id":"audiodelay",
"type":"text",
"element": "input",
"label": "TRANSLATE.KODI.AUDIODELAY",
"description": "e.g. Kali = 0.700000",
"doc": "TRANSLATE.KODI.D_AUDIODELAY",
"value": "0.000000"
}
]
},
{
"id": "section_optimiseconf",
"element": "section",
"label": "TRANSLATE.KODI.KODI_SETTINGS",
"icon": "fa-wrench",
"onSave": {"type":"controller", "endpoint":"miscellanea/kodi", "method":"optimiseKodi"},
"saveButton": {
"label": "TRANSLATE.KODI.SAVE",
"data": [
"kodi_gui_sounds",
"kodi_audio_keepalive",
"kodi_enable_webserver",
"kodi_webserver_port",
"kodi_webserver_username",
"kodi_webserver_password"
]
},
"content": [
{
"id":"kodi_gui_sounds",
"element": "switch",
"label": "TRANSLATE.KODI.KODI_GUI_SOUNDS",
"doc": "TRANSLATE.KODI.D_KODI_GUI_SOUNDS",
"value": false
},
{
"id":"kodi_audio_keepalive",
"element": "switch",
"label": "TRANSLATE.KODI.KODI_AUDIO_KEEPALIVE",
"doc": "TRANSLATE.KODI.D_KODI_AUDIO_KEEPALIVE",
"value": false
},
{
"id":"kodi_enable_webserver",
"element": "switch",
"doc": "Whether or not to keep the audio device alive",
"label": "TRANSLATE.KODI.KODI_ENABLE_WEBSERVER",
"doc": "TRANSLATE.KODI.D_KODI_ENABLE_WEBSERVER",
"value": true
},
{
"id":"kodi_webserver_port",
"type":"text",
"element": "input",
"label": "TRANSLATE.KODI.KODI_WEBSERVER_PORT",
"doc": "TRANSLATE.KODI.D_KODI_WEBSERVER_PORT",
"value": "8080"
},
{
"id":"kodi_webserver_username",
"type":"text",
"element": "input",
"label": "TRANSLATE.KODI.KODI_WEBSERVER_USERNAME",
"doc": "TRANSLATE.KODI.D_KODI_WEBSERVER_USERNAME",
"value": "kodi"
},
{
"id":"kodi_webserver_password",
"type":"password",
"element": "input",
"label": "TRANSLATE.KODI.KODI_WEBSERVER_PASSWORD",
"doc": "TRANSLATE.KODI.D_KODI_WEBSERVER_PASSWORD",
"value": ""
}
]
}
]
}