MyNixOS website logo
option

services.tuliprox.sourceSettings

Source definitions

Refer to the Tuliprox documentation for available attributes.

Declarations
Type
YAML 1.1 value
Example
{
  sources = [
    {
      inputs = [
        {
          name = "iptv-org";
          type = "m3u";
          url = "https://iptv-org.github.io/iptv/countries/uk.m3u";
        }
      ];
      targets = [
        {
          filter = "!final_channel_lineup!";
          mapping = [
            "iptv-org"
          ];
          name = "iptv-org";
          options = {
            ignore_logo = false;
            share_live_streams = true;
          };
          output = [
            {
              type = "xtream";
            }
            {
              filename = "iptv.m3u";
              type = "m3u";
            }
            {
              device = "hdhr1";
              type = "hdhomerun";
              username = "local";
            }
          ];
        }
      ];
    }
  ];
  templates = [
    {
      name = "not_red_button";
      value = "NOT (Title ~ \"(?i).*red button.*\")";
    }
    {
      name = "not_low_resolution";
      value = "NOT (Title ~ \"(?i).*(360p|240p).*\")";
    }
    {
      name = "all_channels";
      value = "Title ~ \".*\"";
    }
    {
      name = "final_channel_lineup";
      value = "!all_channels! AND !not_red_button! AND !not_low_resolution!";
    }
  ];
}