]> git.vomp.tv Git - vompclient.git/blob - config.json.sample
Fix argv/config daemonize and logging options
[vompclient.git] / config.json.sample
1 /* Vomp local config file
2
3    Using a local config.json file is optional.
4    This file shows all config options and their defaults,
5    where applicable.
6
7    To use a local config, create config.json and copy in just the
8    settings you want to change. Place the file in the current working
9    directory for vompclient.
10
11 */
12
13 {
14   "main":
15   {
16     "daemonize": true
17   },
18
19   "log":
20   {
21     "enabled": false,
22     "filename": "stdout",
23     "level": "debug"
24   },
25
26   "input":
27   {
28     "mod_cec_enabled": true,
29     "mod_udp_enabled": true,
30     "mod_lirc_enabled": true
31   },
32
33   "input_lirc":
34   {
35     // This is an example input_lirc section
36
37     "lirc_ip": "192.0.2.0",
38     "lirc_port": 8765,
39
40     "remotes": [ "lirc-remote-name-1", "lirc-remote-name-2" ],
41
42     "lirc-remote-name-1":
43     {
44       "KEY_POWER": "POWER",
45       "KEY_MUTE": "MUTE"
46       /* etc. List all keys to be used by Vomp
47       On the left - the Lirc key name. On the right - the Vomp key name. See input.h (for now)  */
48     },
49
50     "lirc-remote-name-2":
51     {
52     }
53   }
54 }