]> git.vomp.tv Git - vompclient.git/blob - config.json.sample
Makefile fixes
[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   "server":
27   {
28     // "server" has no defaults
29     // Normally vompclient will use IPv4 UDP broadcasts and IPv6 multicast to find servers
30     // Entering an address and optionally a port will disable discovery
31
32     "address": "vdrserver.example.com",
33     "port": 3024
34   }
35
36   "input":
37   {
38     "mod_cec_enabled": true,
39     "mod_udp_enabled": true,
40     "mod_lirc_enabled": true
41   },
42
43   "input_lirc":
44   {
45     // input_lirc has no defaults
46
47     "lirc_ip": "192.0.2.0",
48     "lirc_port": 8765,
49
50     "remotes": [ "lirc-remote-name-1", "lirc-remote-name-2" ],
51
52     "lirc-remote-name-1":
53     {
54       "KEY_POWER": "POWER",
55       "KEY_MUTE": "MUTE"
56       /* etc. List all keys to be used by Vomp
57       On the left - the Lirc key name. On the right - the Vomp key name. See input.h (for now)  */
58     },
59
60     "lirc-remote-name-2":
61     {
62     }
63   }
64 }