1 /* Vomp local config file
3 Using a local config.json file is optional.
4 This file shows all config options and their defaults,
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.
11 Command line options override config.json.
29 // "server" has no defaults
30 // Normally vompclient will use IPv4 UDP broadcasts and IPv6 multicast to find servers
31 // Entering an address and optionally a port will disable discovery
33 "address": "vdrserver.example.com",
39 // If exactly two servers are found by auto server location and they have the same
40 // name and port but different IP versions, prefer which?
46 "mod_cec_enabled": true,
47 "mod_udp_enabled": true,
48 "mod_lirc_enabled": true
58 // input_lirc has no defaults
60 // Use these two options:
62 "lirc_ip": "192.0.2.0", /* Numeric IPv4 or IPv6 */
63 "lirc_port": 8765, /* except this, this has a default */
67 "lirc_socket": "/run/lirc/lircd",
71 // List all the Lirc remote names to listen to here:
73 "remotes": [ "lirc-remote-name-1", "lirc-remote-name-2" ],
75 // Now create a section here for each Lirc remote. Map each Lirc button to vomp keys.
79 /* List all keys to be used by Vomp
80 On the left - the Lirc key name. On the right - the Vomp key name. See input.h (for now) */