services.tuliprox.mappingSettings
Templates configuration
Refer to the Tuliprox documentation for available attributes
- Type
YAML 1.1 value- Example
{ mappings = { mapping = [ { id = "iptv-org"; mapper = [ { filter = "!bbc!"; script = '' @Group = "BBC" ''; } { filter = "!documentary!"; script = '' @Group = "Documentary" ''; } { filter = "!entertainment!"; script = '' @Group = "Entertainment" ''; } { filter = "!pluto_tv!"; script = '' @Group = "Pluto TV" ''; } { filter = "!business!"; script = '' @Group = "News" ''; } { filter = "Input ~ \"iptv-org\""; script = '' @Caption = concat(@Caption, " (iptv-org)") ''; } ]; match_as_ascii = true; } ]; templates = [ { name = "bbc"; value = "Title ~ \"^BBC\""; } { name = "documentary"; value = "(Group ~ \"(Documentary|Outdoor)\")"; } { name = "entertainment"; value = "Group ~ \"Entertainment\""; } { name = "pluto_tv"; value = "(Caption ~ \"Pluto TV\") AND NOT(Caption ~ \"Sports\")"; } { name = "business"; value = "Group ~ \"Business\""; } ]; }; }- Declared
- <nixpkgs/nixos/modules/services/web-apps/tuliprox.nix>