/* Vomp local config file Using a local config.json file is optional. This file shows all config options and their defaults, where applicable. To use a local config, create config.json and copy in just the settings you want to change. Place the file in the current working directory for vompclient. Command line options override config.json. */ { "main": { "daemonize": true }, "log": { "enabled": false, "filename": "stdout", "level": "debug" }, "server": { // "server" has no defaults // Normally vompclient will use IPv4 UDP broadcasts and IPv6 multicast to find servers // Entering an address and optionally a port will disable discovery "address": "vdrserver.example.com", "port": 3024 }, "server-discovery": { // If exactly two servers are found by auto server location and they have the same // name and port but different IP versions, prefer which? "prefer-ipv": 6 }, "input": { "mod_cec_enabled": true, "mod_udp_enabled": true, "mod_lirc_enabled": true }, "input_udp": { "port": 2000 } "input_lirc": { // input_lirc has no defaults // Use these two options: "lirc_ip": "192.0.2.0", /* Numeric IPv4 or IPv6 */ "lirc_port": 8765, /* except this, this has a default */ // Or this one: "lirc_socket": "/run/lirc/lircd", // // List all the Lirc remote names to listen to here: "remotes": [ "lirc-remote-name-1", "lirc-remote-name-2" ], // Now create a section here for each Lirc remote. Map each Lirc button to vomp keys. "lirc-remote-name-1": { /* List all keys to be used by Vomp On the left - the Lirc key name. On the right - the Vomp key name. See input.h (for now) */ "KEY_POWER": "POWER", "KEY_MUTE": "MUTE" // etc. }, "lirc-remote-name-2": { } } }