]> git.vomp.tv Git - vompclient.git/blob - config.json.sample
Start work on local JSON config system. Start using it with Input classes
[vompclient.git] / config.json.sample
1 /* Vomp local config file
2    To use, rename to config.json and place in the current working directory for vompclient
3    This file is optional. All fields are optional
4    Anything in here overrides program defaults
5    Example data is shown below
6 */
7
8 {
9   "main":
10   {
11     "debug": false,
12     "daemonize": true
13   },
14
15   "log":
16   {
17     "enabled": true,
18     "filename": "stdout",
19     "level": "debug"
20   },
21
22   "input":
23   {
24     "mod_cec_enabled": true,
25     "mod_udp_enabled": true,
26     "mod_lirc_enabled": true
27   },
28
29   "input_lirc":
30   {
31     "lirc_ip": "192.0.2.0",
32     "lirc_port": 8765,
33
34     "remotes": [ "lirc-remote-name-1", "lirc-remote-name-2" ],
35
36     "lirc-remote-name-1":
37     {
38       "KEY_POWER": "POWER",
39       "KEY_MUTE": "MUTE"
40       /* etc. List all keys to be used by Vomp
41       On the left - the Lirc key name. On the right - the Vomp keyname. See input.h (for now)  */
42     },
43
44     "lirc-remote-name-2":
45     {
46     }
47   }
48 }