[
  {
    "metadata": {
      "id": "tamtaro.complete",
      "name": "Tamtaro Complete SEL Setup",
      "description": "Fully configurable all-in-one setup based on Tamtaro's recommended filters, sort orders, and SELs described on the [GitHub](https://git.tamtaro.de). One template for both Debrid/Usenet or P2P users. \n\n * Guides you through API keys, language preferences, optional filters and smart passthroughs during import.\n * Comes with optional add-ons and optional formatter. \n * Dynamic core filtering options: Standard SEL (keeps ~20 results) or Extended SEL (keeps ~40).\n * Comes with auto-synced urls for SELs & [Vidhin's Regexes](https://github.com/Vidhin05/Releases-Regex) so you'll receive latest SEL hotfixes automatically. Set & forget.\n * **ⓘ For catalogs, check out GitHub for AIOMetadata configs.**",
      "source": "external",
      "author": "Tamtaro",
      "version": "2.6.1",
      "category": "AIO",
      "serviceRequired": false,
      "changelogUrl": "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/CHANGELOG.md",
      "inputs": [
        {
          "__if": "services",
          "id": "header.intro",
          "name": "Complete SEL Setup v2.6.1: Debrid/Usenet Mode",
          "description": "An advanced filtering & sorting setup powered by Stream Expression Language (SEL) & [Vidhin's Regex Patterns](https://github.com/Vidhin05/Releases-Regex)",
          "type": "alert",
          "intent": "success"
        },
        {
          "__if": "!services",
          "id": "header.p2p",
          "name": "Complete SEL Setup v2.6.1: P2P Mode",
          "description": "No services selected. In some countries, torrenting is restricted,so a VPN or a debrid service from previous page may be required.",
          "type": "alert",
          "intent": "warning"
        },
        {
          "id": "header.languageSettings",
          "name": "",
          "description": "Language Settings",
          "type": "alert",
          "intent": "info"
        },
        {
          "id": "languages",
          "name": "Preferred Languages",
          "description": "Select your preferred stream languages. 'Original, Dual Audio, Multi, Dubbed, and Unknown' are automatically appended after your selections, and this list appears inside Preferred & Required Languages filters. The included formatter will display only your preferred languages.**Note**: the language shown is only guaranteed to be audio language *if* accurate media info exists for that stream, otherwise it refers to whatever language is labeled in the filename. You can further prioritize (or disable) language preference in 'Language Passthrough Options' and 'Sorting Options'.",
          "type": "multi-select",
          "required": true,
          "default": [
            "English"
          ],
          "options": [
            {
              "value": "Arabic",
              "label": "Arabic"
            },
            {
              "value": "Bengali",
              "label": "Bengali"
            },
            {
              "value": "Bulgarian",
              "label": "Bulgarian"
            },
            {
              "value": "Chinese",
              "label": "Chinese"
            },
            {
              "value": "Croatian",
              "label": "Croatian"
            },
            {
              "value": "Czech",
              "label": "Czech"
            },
            {
              "value": "Danish",
              "label": "Danish"
            },
            {
              "value": "Dutch",
              "label": "Dutch"
            },
            {
              "value": "English",
              "label": "English"
            },
            {
              "value": "Estonian",
              "label": "Estonian"
            },
            {
              "value": "Finnish",
              "label": "Finnish"
            },
            {
              "value": "French",
              "label": "French"
            },
            {
              "value": "German",
              "label": "German"
            },
            {
              "value": "Greek",
              "label": "Greek"
            },
            {
              "value": "Gujarati",
              "label": "Gujarati"
            },
            {
              "value": "Hebrew",
              "label": "Hebrew"
            },
            {
              "value": "Hindi",
              "label": "Hindi"
            },
            {
              "value": "Hungarian",
              "label": "Hungarian"
            },
            {
              "value": "Indonesian",
              "label": "Indonesian"
            },
            {
              "value": "Italian",
              "label": "Italian"
            },
            {
              "value": "Japanese",
              "label": "Japanese"
            },
            {
              "value": "Kannada",
              "label": "Kannada"
            },
            {
              "value": "Korean",
              "label": "Korean"
            },
            {
              "value": "Latino",
              "label": "Latino"
            },
            {
              "value": "Latvian",
              "label": "Latvian"
            },
            {
              "value": "Lithuanian",
              "label": "Lithuanian"
            },
            {
              "value": "Malayalam",
              "label": "Malayalam"
            },
            {
              "value": "Malay",
              "label": "Malay"
            },
            {
              "value": "Marathi",
              "label": "Marathi"
            },
            {
              "value": "Norwegian",
              "label": "Norwegian"
            },
            {
              "value": "Persian",
              "label": "Persian"
            },
            {
              "value": "Polish",
              "label": "Polish"
            },
            {
              "value": "Portuguese",
              "label": "Portuguese"
            },
            {
              "value": "Portuguese (Brazil)",
              "label": "Portuguese (Brazil)"
            },
            {
              "value": "Punjabi",
              "label": "Punjabi"
            },
            {
              "value": "Romanian",
              "label": "Romanian"
            },
            {
              "value": "Russian",
              "label": "Russian"
            },
            {
              "value": "Serbian",
              "label": "Serbian"
            },
            {
              "value": "Slovak",
              "label": "Slovak"
            },
            {
              "value": "Slovenian",
              "label": "Slovenian"
            },
            {
              "value": "Spanish",
              "label": "Spanish"
            },
            {
              "value": "Swedish",
              "label": "Swedish"
            },
            {
              "value": "Tamil",
              "label": "Tamil"
            },
            {
              "value": "Telugu",
              "label": "Telugu"
            },
            {
              "value": "Thai",
              "label": "Thai"
            },
            {
              "value": "Turkish",
              "label": "Turkish"
            },
            {
              "value": "Ukrainian",
              "label": "Ukrainian"
            },
            {
              "value": "Vietnamese",
              "label": "Vietnamese"
            }
          ]
        },
        {
          "id": "subtitles",
          "name": "Preferred Embedded Subtitle",
          "description": "Select your preferred embedded subtitle languages. Subtitle languages will only appear in Formatter if accurate media info is available for that stream (usually from built-in addons, StremThru Torz, Meteor, or Torrentio). You can further prioritize (or disable preference) in 'Language Passthrough Options' and 'Sorting Options'.",
          "type": "multi-select",
          "required": false,
          "default": [
            "English"
          ],
          "options": [
            {
              "value": "Arabic",
              "label": "Arabic"
            },
            {
              "value": "Bengali",
              "label": "Bengali"
            },
            {
              "value": "Bulgarian",
              "label": "Bulgarian"
            },
            {
              "value": "Chinese",
              "label": "Chinese"
            },
            {
              "value": "Croatian",
              "label": "Croatian"
            },
            {
              "value": "Czech",
              "label": "Czech"
            },
            {
              "value": "Danish",
              "label": "Danish"
            },
            {
              "value": "Dutch",
              "label": "Dutch"
            },
            {
              "value": "English",
              "label": "English"
            },
            {
              "value": "Estonian",
              "label": "Estonian"
            },
            {
              "value": "Finnish",
              "label": "Finnish"
            },
            {
              "value": "French",
              "label": "French"
            },
            {
              "value": "German",
              "label": "German"
            },
            {
              "value": "Greek",
              "label": "Greek"
            },
            {
              "value": "Gujarati",
              "label": "Gujarati"
            },
            {
              "value": "Hebrew",
              "label": "Hebrew"
            },
            {
              "value": "Hindi",
              "label": "Hindi"
            },
            {
              "value": "Hungarian",
              "label": "Hungarian"
            },
            {
              "value": "Indonesian",
              "label": "Indonesian"
            },
            {
              "value": "Italian",
              "label": "Italian"
            },
            {
              "value": "Japanese",
              "label": "Japanese"
            },
            {
              "value": "Kannada",
              "label": "Kannada"
            },
            {
              "value": "Korean",
              "label": "Korean"
            },
            {
              "value": "Latino",
              "label": "Latino"
            },
            {
              "value": "Latvian",
              "label": "Latvian"
            },
            {
              "value": "Lithuanian",
              "label": "Lithuanian"
            },
            {
              "value": "Malayalam",
              "label": "Malayalam"
            },
            {
              "value": "Malay",
              "label": "Malay"
            },
            {
              "value": "Marathi",
              "label": "Marathi"
            },
            {
              "value": "Norwegian",
              "label": "Norwegian"
            },
            {
              "value": "Persian",
              "label": "Persian"
            },
            {
              "value": "Polish",
              "label": "Polish"
            },
            {
              "value": "Portuguese",
              "label": "Portuguese"
            },
            {
              "value": "Portuguese (Brazil)",
              "label": "Portuguese (Brazil)"
            },
            {
              "value": "Punjabi",
              "label": "Punjabi"
            },
            {
              "value": "Romanian",
              "label": "Romanian"
            },
            {
              "value": "Russian",
              "label": "Russian"
            },
            {
              "value": "Serbian",
              "label": "Serbian"
            },
            {
              "value": "Slovak",
              "label": "Slovak"
            },
            {
              "value": "Slovenian",
              "label": "Slovenian"
            },
            {
              "value": "Spanish",
              "label": "Spanish"
            },
            {
              "value": "Swedish",
              "label": "Swedish"
            },
            {
              "value": "Tamil",
              "label": "Tamil"
            },
            {
              "value": "Telugu",
              "label": "Telugu"
            },
            {
              "value": "Thai",
              "label": "Thai"
            },
            {
              "value": "Turkish",
              "label": "Turkish"
            },
            {
              "value": "Ukrainian",
              "label": "Ukrainian"
            },
            {
              "value": "Vietnamese",
              "label": "Vietnamese"
            }
          ]
        },
        {
          "id": "LanguagePassthrough",
          "name": "Language Passthrough Options",
          "description": "Bypass select language streams from SEL filters, and optionally pin them to the top. Rest of the results will still follow default SEL setup.",
          "type": "subsection",
          "advanced": true,
          "required": false,
          "subsectionIntent": "block",
          "buttonIntent": "gray-outline",
          "subOptions": [
            {
              "id": "languageNotice",
              "name": "",
              "description": "Language Passthrough Options",
              "type": "alert",
              "intent": "info-basic"
            },
            {
              "id": "language",
              "name": "Language Passthrough",
              "description": "Always show results in this language if available, bypassing some SEL filters. Selected stream is exempt from language filter & added to Preferred (to show up in Formatter). Use this as a guideline for audio language; may not be accurate if the stream's media info hasn't been scraped by Stremthru.",
              "type": "select",
              "default": "none",
              "required": false,
              "options": [
                {
                  "value": "none",
                  "label": "Disabled"
                },
                {
                  "value": "Arabic",
                  "label": "Arabic"
                },
                {
                  "value": "Bengali",
                  "label": "Bengali"
                },
                {
                  "value": "Bulgarian",
                  "label": "Bulgarian"
                },
                {
                  "value": "Chinese",
                  "label": "Chinese"
                },
                {
                  "value": "Croatian",
                  "label": "Croatian"
                },
                {
                  "value": "Czech",
                  "label": "Czech"
                },
                {
                  "value": "Danish",
                  "label": "Danish"
                },
                {
                  "value": "Dubbed",
                  "label": "Dubbed"
                },
                {
                  "value": "Dual Audio",
                  "label": "Dual Audio"
                },
                {
                  "value": "Dutch",
                  "label": "Dutch"
                },
                {
                  "value": "English",
                  "label": "English"
                },
                {
                  "value": "Estonian",
                  "label": "Estonian"
                },
                {
                  "value": "Finnish",
                  "label": "Finnish"
                },
                {
                  "value": "French",
                  "label": "French"
                },
                {
                  "value": "German",
                  "label": "German"
                },
                {
                  "value": "Greek",
                  "label": "Greek"
                },
                {
                  "value": "Gujarati",
                  "label": "Gujarati"
                },
                {
                  "value": "Hebrew",
                  "label": "Hebrew"
                },
                {
                  "value": "Hindi",
                  "label": "Hindi"
                },
                {
                  "value": "Hungarian",
                  "label": "Hungarian"
                },
                {
                  "value": "Indonesian",
                  "label": "Indonesian"
                },
                {
                  "value": "Italian",
                  "label": "Italian"
                },
                {
                  "value": "Japanese",
                  "label": "Japanese"
                },
                {
                  "value": "Kannada",
                  "label": "Kannada"
                },
                {
                  "value": "Korean",
                  "label": "Korean"
                },
                {
                  "value": "Latino",
                  "label": "Latino"
                },
                {
                  "value": "Latvian",
                  "label": "Latvian"
                },
                {
                  "value": "Lithuanian",
                  "label": "Lithuanian"
                },
                {
                  "value": "Malayalam",
                  "label": "Malayalam"
                },
                {
                  "value": "Malay",
                  "label": "Malay"
                },
                {
                  "value": "Marathi",
                  "label": "Marathi"
                },
                {
                  "value": "Multi",
                  "label": "Multi"
                },
                {
                  "value": "Norwegian",
                  "label": "Norwegian"
                },
                {
                  "value": "Original",
                  "label": "Original"
                },
                {
                  "value": "Persian",
                  "label": "Persian"
                },
                {
                  "value": "Polish",
                  "label": "Polish"
                },
                {
                  "value": "Portuguese",
                  "label": "Portuguese"
                },
                {
                  "value": "Portuguese (Brazil)",
                  "label": "Portuguese (Brazil)"
                },
                {
                  "value": "Punjabi",
                  "label": "Punjabi"
                },
                {
                  "value": "Romanian",
                  "label": "Romanian"
                },
                {
                  "value": "Russian",
                  "label": "Russian"
                },
                {
                  "value": "Serbian",
                  "label": "Serbian"
                },
                {
                  "value": "Slovak",
                  "label": "Slovak"
                },
                {
                  "value": "Slovenian",
                  "label": "Slovenian"
                },
                {
                  "value": "Spanish",
                  "label": "Spanish"
                },
                {
                  "value": "Swedish",
                  "label": "Swedish"
                },
                {
                  "value": "Tamil",
                  "label": "Tamil"
                },
                {
                  "value": "Telugu",
                  "label": "Telugu"
                },
                {
                  "value": "Thai",
                  "label": "Thai"
                },
                {
                  "value": "Turkish",
                  "label": "Turkish"
                },
                {
                  "value": "Ukrainian",
                  "label": "Ukrainian"
                },
                {
                  "value": "Unknown",
                  "label": "Unknown"
                },
                {
                  "value": "Vietnamese",
                  "label": "Vietnamese"
                }
              ]
            },
            {
              "id": "languageAmount",
              "name": "Language Passthrough Amount",
              "description": "Choose the amount for the above language streams to bypass SEL filters.",
              "type": "number",
              "required": false,
              "default": 5,
              "constraints": {
                "min": 1,
                "max": 15,
                "forceInUi": true
              }
            },
            {
              "id": "languagePin",
              "name": "Pin Language Passthrough",
              "description": "Pin the above language passthrough streams to the top.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "languageAnimeOnly",
              "name": "Anime only",
              "description": "Apply the above language passthrough settings for anime only. If Language Passthrough is English, Dual Audio & SeaDex results will also be included.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "SubLanguageNotice",
              "name": "",
              "description": "Subtitle Passthrough Options",
              "type": "alert",
              "intent": "info-basic"
            },
            {
              "id": "subLanguage",
              "name": "Embedded Subtitle Passthrough",
              "description": "If accurate subtitles media info is available (usually from built-in, STorz, Meteor, or Torrentio addons), always show results in this language, bypassing some SEL filters. Selected stream is exempt from language filter & added to Preferred (to show up in Formatter).",
              "type": "select",
              "default": "none",
              "required": false,
              "options": [
                {
                  "value": "none",
                  "label": "Disabled"
                },
                {
                  "value": "Arabic",
                  "label": "Arabic"
                },
                {
                  "value": "Bengali",
                  "label": "Bengali"
                },
                {
                  "value": "Bulgarian",
                  "label": "Bulgarian"
                },
                {
                  "value": "Chinese",
                  "label": "Chinese"
                },
                {
                  "value": "Croatian",
                  "label": "Croatian"
                },
                {
                  "value": "Czech",
                  "label": "Czech"
                },
                {
                  "value": "Danish",
                  "label": "Danish"
                },
                {
                  "value": "Dutch",
                  "label": "Dutch"
                },
                {
                  "value": "English",
                  "label": "English"
                },
                {
                  "value": "Estonian",
                  "label": "Estonian"
                },
                {
                  "value": "Finnish",
                  "label": "Finnish"
                },
                {
                  "value": "French",
                  "label": "French"
                },
                {
                  "value": "German",
                  "label": "German"
                },
                {
                  "value": "Greek",
                  "label": "Greek"
                },
                {
                  "value": "Gujarati",
                  "label": "Gujarati"
                },
                {
                  "value": "Hebrew",
                  "label": "Hebrew"
                },
                {
                  "value": "Hindi",
                  "label": "Hindi"
                },
                {
                  "value": "Hungarian",
                  "label": "Hungarian"
                },
                {
                  "value": "Indonesian",
                  "label": "Indonesian"
                },
                {
                  "value": "Italian",
                  "label": "Italian"
                },
                {
                  "value": "Japanese",
                  "label": "Japanese"
                },
                {
                  "value": "Kannada",
                  "label": "Kannada"
                },
                {
                  "value": "Korean",
                  "label": "Korean"
                },
                {
                  "value": "Latino",
                  "label": "Latino"
                },
                {
                  "value": "Latvian",
                  "label": "Latvian"
                },
                {
                  "value": "Lithuanian",
                  "label": "Lithuanian"
                },
                {
                  "value": "Malayalam",
                  "label": "Malayalam"
                },
                {
                  "value": "Malay",
                  "label": "Malay"
                },
                {
                  "value": "Marathi",
                  "label": "Marathi"
                },
                {
                  "value": "Multi",
                  "label": "Multi"
                },
                {
                  "value": "Norwegian",
                  "label": "Norwegian"
                },
                {
                  "value": "Original",
                  "label": "Original"
                },
                {
                  "value": "Persian",
                  "label": "Persian"
                },
                {
                  "value": "Polish",
                  "label": "Polish"
                },
                {
                  "value": "Portuguese",
                  "label": "Portuguese"
                },
                {
                  "value": "Portuguese (Brazil)",
                  "label": "Portuguese (Brazil)"
                },
                {
                  "value": "Punjabi",
                  "label": "Punjabi"
                },
                {
                  "value": "Romanian",
                  "label": "Romanian"
                },
                {
                  "value": "Russian",
                  "label": "Russian"
                },
                {
                  "value": "Serbian",
                  "label": "Serbian"
                },
                {
                  "value": "Slovak",
                  "label": "Slovak"
                },
                {
                  "value": "Slovenian",
                  "label": "Slovenian"
                },
                {
                  "value": "Spanish",
                  "label": "Spanish"
                },
                {
                  "value": "Swedish",
                  "label": "Swedish"
                },
                {
                  "value": "Tamil",
                  "label": "Tamil"
                },
                {
                  "value": "Telugu",
                  "label": "Telugu"
                },
                {
                  "value": "Thai",
                  "label": "Thai"
                },
                {
                  "value": "Turkish",
                  "label": "Turkish"
                },
                {
                  "value": "Ukrainian",
                  "label": "Ukrainian"
                },
                {
                  "value": "Unknown",
                  "label": "Unknown"
                },
                {
                  "value": "Vietnamese",
                  "label": "Vietnamese"
                }
              ]
            },
            {
              "id": "subLanguageAmount",
              "name": "Subtitle Language Passthrough Amount",
              "description": "Choose the amount for the above subtitle language streams to bypass SEL filters.",
              "type": "number",
              "required": false,
              "default": 5,
              "constraints": {
                "min": 1,
                "max": 15,
                "forceInUi": true
              }
            },
            {
              "id": "subLanguagePin",
              "name": "Pin Subtitle Language Passthrough",
              "description": "Pin the above subtitle language passthrough streams to the top.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "subLanguageAnimeOnly",
              "name": "Anime only",
              "description": "Apply the above subtitle language passthrough settings for anime only.",
              "type": "boolean",
              "required": false,
              "default": false
            }
          ]
        },
        {
          "id": "header.addonSettings",
          "name": "",
          "description": "Add-on Settings",
          "type": "alert",
          "intent": "info"
        },
        {
          "id": "addonPreset",
          "name": "Add-on Preset",
          "description": "Choose between recommended preset (default) or retaining your current addons. The recommended preset includes a base set of add-ons that works for most users, while *None (Use Your Current Addons)* allows you to keep your existing add-on list, catalogs, groups, and dynamic fetching strategy. NOTE: First-time users are encouraged to import the default preset, customize the add-on list afterward, and then select 'None' during subsequent template updates or re-imports to avoid losing customizations.",
          "type": "select",
          "required": true,
          "default": "default",
          "options": [
            {
              "value": "default",
              "label": "Tamtaro Recommended (default)"
            },
            {
              "value": "none",
              "label": "None (Use Your Current Addons)"
            }
          ]
        },
        {
          "id": "includeAddon",
          "name": "Add-on Preset Modifications",
          "description": "Customize the default add-ons from this template. This section is ignored if you selected *Add-on Preset: None (Use Your Current Addons)* above.",
          "type": "subsection",
          "required": false,
          "subsectionIntent": "block",
          "buttonIntent": "gray-outline",
          "subOptions": [
            {
              "id": "timeout",
              "name": "Global Timeout",
              "description": "Enter the time in ms you're willing to wait for results before your add-ons timeout. Default: 5000 ms.",
              "type": "number",
              "required": false,
              "advanced": true,
              "default": 5000
            },
            {
              "id": "noAnime",
              "name": "No Anime",
              "description": "If selected, anime add-ons will be removed from the add-on list.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "httpAddons",
              "name": "HTTP Addons",
              "description": "If selected, HTTP streams will included. Good backup options for niche/older titles, especially if you're without usenet. HTTP Addons are auto-included in P2P Setup.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "kdramaAddons",
              "name": "Korean Addons",
              "description": "If selected, yastream will be included. Browsing titles from yastream catalogs will provide direct HTTP streams from kisskh source.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "debridio",
              "name": "Debridio",
              "description": "If selected, [Debridio](https://debridio.com) (Debridio Scraper for Debrid streams) will be added. Debridio Watchtower for HTTP streams will be added if 'HTTP Addons' option above is toggled. **Debridio is a paid subscription**. You will need to enter your Debridio API key.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "subtitleLanguages",
              "name": "Subtitle Add-on Language",
              "description": "Select the languages for the OpenSubtitles V3+ addon. Select Disabled to remove this add-on from your setup.",
              "type": "multi-select",
              "required": false,
              "default": [
                "en"
              ],
              "options": [
                {
                  "label": "Disabled",
                  "value": "disabled"
                },
                {
                  "label": "Abkhazian",
                  "value": "ab"
                },
                {
                  "label": "Afrikaans",
                  "value": "af"
                },
                {
                  "label": "Albanian",
                  "value": "sq"
                },
                {
                  "label": "Aragonese",
                  "value": "an"
                },
                {
                  "label": "Arabic",
                  "value": "ar"
                },
                {
                  "label": "Armenian",
                  "value": "hy"
                },
                {
                  "label": "Assamese",
                  "value": "as"
                },
                {
                  "label": "Asturian",
                  "value": "at"
                },
                {
                  "label": "Azerbaijani",
                  "value": "az"
                },
                {
                  "label": "Basque",
                  "value": "eu"
                },
                {
                  "label": "Belarusian",
                  "value": "be"
                },
                {
                  "label": "Bengali",
                  "value": "bn"
                },
                {
                  "label": "Bosnian",
                  "value": "bs"
                },
                {
                  "label": "Breton",
                  "value": "br"
                },
                {
                  "label": "Bulgarian",
                  "value": "bg"
                },
                {
                  "label": "Burmese",
                  "value": "my"
                },
                {
                  "label": "Catalan",
                  "value": "ca"
                },
                {
                  "label": "Chinese (simplified)",
                  "value": "zh-cn"
                },
                {
                  "label": "Chinese (traditional)",
                  "value": "zh-tw"
                },
                {
                  "label": "Chinese bilingual",
                  "value": "ze"
                },
                {
                  "label": "Croatian",
                  "value": "hr"
                },
                {
                  "label": "Czech",
                  "value": "cs"
                },
                {
                  "label": "Danish",
                  "value": "da"
                },
                {
                  "label": "Dari",
                  "value": "pr"
                },
                {
                  "label": "Dutch",
                  "value": "nl"
                },
                {
                  "label": "English",
                  "value": "en"
                },
                {
                  "label": "Esperanto",
                  "value": "eo"
                },
                {
                  "label": "Estonian",
                  "value": "et"
                },
                {
                  "label": "Extremaduran",
                  "value": "ex"
                },
                {
                  "label": "Finnish",
                  "value": "fi"
                },
                {
                  "label": "French",
                  "value": "fr"
                },
                {
                  "label": "Gaelic",
                  "value": "gd"
                },
                {
                  "label": "Galician",
                  "value": "gl"
                },
                {
                  "label": "Georgian",
                  "value": "ka"
                },
                {
                  "label": "German",
                  "value": "de"
                },
                {
                  "label": "Greek",
                  "value": "el"
                },
                {
                  "label": "Hebrew",
                  "value": "he"
                },
                {
                  "label": "Hindi",
                  "value": "hi"
                },
                {
                  "label": "Hungarian",
                  "value": "hu"
                },
                {
                  "label": "Icelandic",
                  "value": "is"
                },
                {
                  "label": "Igbo",
                  "value": "ig"
                },
                {
                  "label": "Indonesian",
                  "value": "id"
                },
                {
                  "label": "Interlingua",
                  "value": "ia"
                },
                {
                  "label": "Irish",
                  "value": "ga"
                },
                {
                  "label": "Italian",
                  "value": "it"
                },
                {
                  "label": "Japanese",
                  "value": "ja"
                },
                {
                  "label": "Kannada",
                  "value": "kn"
                },
                {
                  "label": "Kazakh",
                  "value": "kk"
                },
                {
                  "label": "Khmer",
                  "value": "km"
                },
                {
                  "label": "Korean",
                  "value": "ko"
                },
                {
                  "label": "Kurdish",
                  "value": "ku"
                },
                {
                  "label": "Latvian",
                  "value": "lv"
                },
                {
                  "label": "Lithuanian",
                  "value": "lt"
                },
                {
                  "label": "Luxembourgish",
                  "value": "lb"
                },
                {
                  "label": "Macedonian",
                  "value": "mk"
                },
                {
                  "label": "Malay",
                  "value": "ms"
                },
                {
                  "label": "Malayalam",
                  "value": "ml"
                },
                {
                  "label": "Manipuri",
                  "value": "ma"
                },
                {
                  "label": "Marathi",
                  "value": "mr"
                },
                {
                  "label": "Mongolian",
                  "value": "mn"
                },
                {
                  "label": "Montenegrin",
                  "value": "me"
                },
                {
                  "label": "Navajo",
                  "value": "nv"
                },
                {
                  "label": "Nepali",
                  "value": "ne"
                },
                {
                  "label": "Northern Sami",
                  "value": "se"
                },
                {
                  "label": "Norwegian",
                  "value": "no"
                },
                {
                  "label": "Occitan",
                  "value": "oc"
                },
                {
                  "label": "Odia",
                  "value": "or"
                },
                {
                  "label": "Persian",
                  "value": "fa"
                },
                {
                  "label": "Polish",
                  "value": "pl"
                },
                {
                  "label": "Portuguese",
                  "value": "pt-pt"
                },
                {
                  "label": "Portuguese (BR)",
                  "value": "pt-br"
                },
                {
                  "label": "Portuguese (MZ)",
                  "value": "pm"
                },
                {
                  "label": "Pushto",
                  "value": "ps"
                },
                {
                  "label": "Romanian",
                  "value": "ro"
                },
                {
                  "label": "Russian",
                  "value": "ru"
                },
                {
                  "label": "Santali",
                  "value": "sx"
                },
                {
                  "label": "Serbian",
                  "value": "sr"
                },
                {
                  "label": "Sindhi",
                  "value": "sd"
                },
                {
                  "label": "Sinhalese",
                  "value": "si"
                },
                {
                  "label": "Slovak",
                  "value": "sk"
                },
                {
                  "label": "Slovenian",
                  "value": "sl"
                },
                {
                  "label": "Somali",
                  "value": "so"
                },
                {
                  "label": "Spanish",
                  "value": "es"
                },
                {
                  "label": "Spanish (EU)",
                  "value": "sp"
                },
                {
                  "label": "Spanish (LA)",
                  "value": "ea"
                },
                {
                  "label": "Swahili",
                  "value": "sw"
                },
                {
                  "label": "Swedish",
                  "value": "sv"
                },
                {
                  "label": "Syriac",
                  "value": "sy"
                },
                {
                  "label": "Tagalog",
                  "value": "tl"
                },
                {
                  "label": "Tamil",
                  "value": "ta"
                },
                {
                  "label": "Tatar",
                  "value": "tt"
                },
                {
                  "label": "Telugu",
                  "value": "te"
                },
                {
                  "label": "Thai",
                  "value": "th"
                },
                {
                  "label": "Toki Pona",
                  "value": "tp"
                },
                {
                  "label": "Turkish",
                  "value": "tr"
                },
                {
                  "label": "Turkmen",
                  "value": "tk"
                },
                {
                  "label": "Ukrainian",
                  "value": "uk"
                },
                {
                  "label": "Urdu",
                  "value": "ur"
                },
                {
                  "label": "Uzbek",
                  "value": "uz"
                },
                {
                  "label": "Vietnamese",
                  "value": "vi"
                },
                {
                  "label": "Welsh",
                  "value": "cy"
                }
              ]
            }
          ]
        },
        {
          "id": "header.otherSettings",
          "name": "",
          "description": "Other Basic Settings",
          "type": "alert",
          "intent": "info"
        },
        {
          "id": "formatterChoice",
          "name": "Formatter Style",
          "description": "Choose the formatter. **Tamtaro (Full RSE Matched)** keeps all matched Vidhin regex tags in the last line, useful for debugging scores. **Tamtaro (default)** strips audio/video tags from the rseMatched line for a cleaner look. **Tamtaro (Minimalist)** provides a further stripped-down view. **AppleTV Stremio** (dividedby & stepthomas) modified version to fit the 4-line format on tvOS. **None** retains your existing formatter.",
          "type": "select",
          "required": false,
          "default": "default",
          "options": [
            {
              "value": "min",
              "label": "Tamtaro (Minimalist)"
            },
            {
              "value": "default",
              "label": "Tamtaro (default)"
            },
            {
              "value": "fullRse",
              "label": "Tamtaro (Full RSE Matched)"
            },
            {
              "value": "appleTv",
              "label": "AppleTV Stremio"
            },
            {
              "value": "retain",
              "label": "None (Use Your Current)"
            }
          ]
        },
        {
          "__if": "services",
          "id": "sorting",
          "name": "Sorting Options",
          "description": "Default: Cached → SeaDex → Resolution → Quality → Library → Stream Expression → Stream Expression Score → Language → Subtitle → Visual Tag → Audio Tag → Encode → Age → Bitrate → Seeders.",
          "type": "subsection",
          "required": false,
          "advanced": true,
          "subsectionIntent": "inline",
          "buttonIntent": "gray-outline",
          "subOptions": [
            {
              "__if": "services",
              "id": "library",
              "name": "Library Boost",
              "description": "By default, library streams rank first within each Quality/Resolution category, above SEL scores. Boost this if you want your library streams to always be at the top, even if they have lower Resolution/Quality/SEL scores. Useful for identifying episodes from season packs or manually added streams.",
              "type": "select",
              "required": false,
              "default": "default",
              "options": [
                {
                  "value": "none",
                  "label": "No Library Boost"
                },
                {
                  "value": "default",
                  "label": "Default — Moderate Boost"
                },
                {
                  "value": "high",
                  "label": "High — Strong Boost"
                }
              ]
            },
            {
              "id": "selScore",
              "name": "SEL Score Boost",
              "description": "Priority given to streams with higher SEL scores. Recommendation is default. Boost this if you want to strictly prioritize higher SEL scores regardless of Quality or Resolution.",
              "type": "select",
              "required": false,
              "default": "default",
              "options": [
                {
                  "value": "none",
                  "label": "No SEL Score Priority"
                },
                {
                  "value": "default",
                  "label": "Default — Moderate Boost"
                },
                {
                  "value": "high",
                  "label": "High — Strong Boost"
                }
              ]
            },
            {
              "id": "language",
              "name": "Language Boost",
              "description": "Priority given to streams in your preferred languages. If you struggle to see your preferred languages in the results, try increasing this boost and/or try the Language Passthrough Options for languages. May rank lower-quality streams higher if your preferred languages are uncommon among the results, so use with caution.",
              "type": "select",
              "required": false,
              "default": "default",
              "options": [
                {
                  "value": "none",
                  "label": "No Language Priority"
                },
                {
                  "value": "default",
                  "label": "Default — Moderate boost"
                },
                {
                  "value": "high",
                  "label": "High — Strong boost"
                }
              ]
            },
            {
              "id": "subtitle",
              "name": "Embedded Subtitle Boost",
              "description": "Priority given to streams with embedded subtitle of your preferred subtitle languages. This will only affect streams that have accurate media info showing subtitle languages, such as some streams from built-in addons, Stremthru Storz, Meteor, or Torrentio. Check the Language Passthrough Options for subtitle languages if you want to further customize your subtitle preferences.",
              "type": "select",
              "required": false,
              "default": "default",
              "options": [
                {
                  "value": "none",
                  "label": "No Subtitle Priority"
                },
                {
                  "value": "default",
                  "label": "Default — Moderate boost"
                },
                {
                  "value": "high",
                  "label": "High — Strong boost"
                }
              ]
            }
          ]
        },
        {
          "__if": "!services",
          "id": "sortingP2P",
          "name": "Sorting Options",
          "description": "Streams are sorted under Global Cached: SeaDex → Resolution → Quality → Library → Stream Expression → Stream Expression Score → Seeders → Language → Subtitle → Visual Tag → Audio Tag → Encode → Age → Bitrate",
          "type": "subsection",
          "advanced": true,
          "subsectionIntent": "inline",
          "buttonIntent": "gray-outline",
          "subOptions": [
            {
              "id": "language",
              "name": "Language Boost",
              "description": "Priority given to streams in your preferred languages. If you struggle to see your preferred languages in the results, try increasing this boost and/or try the Passthrough Options for languages. May rank lower-quality streams higher if your preferred languages are uncommon among the results, so use with caution.",
              "type": "select",
              "required": false,
              "default": "default",
              "options": [
                {
                  "value": "none",
                  "label": "No Language Priority"
                },
                {
                  "value": "default",
                  "label": "Default — Moderate Boost"
                },
                {
                  "value": "high",
                  "label": "High — Strong Boost"
                }
              ]
            },
            {
              "id": "subtitle",
              "name": "Embedded Subtitle Boost",
              "description": "Priority given to streams with embedded subtitle of your preferred subtitle languages. This will only affect streams that have accurate media info showing subtitle languages, such as some streams from built-in addons, Stremthru Storz, Meteor, or Torrentio. Boost this if you want to prioritize streams with embedded subtitles in your preferred languages. Check the Passthrough Options for subtitle languages if you want to further customize your subtitle preferences.",
              "type": "select",
              "required": false,
              "default": "default",
              "options": [
                {
                  "value": "none",
                  "label": "No Subtitle Priority"
                },
                {
                  "value": "default",
                  "label": "Default — Moderate boost"
                },
                {
                  "value": "high",
                  "label": "High — Strong boost"
                }
              ]
            },
            {
              "id": "selScore",
              "name": "SEL Score Boost",
              "description": "Priority given to streams with higher SEL scores. Recommendation is default. Boost this if you want to strictly prioritize higher SEL scores regardless of Quality or Resolution.",
              "type": "select",
              "required": false,
              "default": "default",
              "options": [
                {
                  "value": "none",
                  "label": "No SEL Score Priority"
                },
                {
                  "value": "default",
                  "label": "Default — Moderate Boost"
                },
                {
                  "value": "high",
                  "label": "High — Strong Boost"
                }
              ]
            },
            {
              "__if": "!services",
              "id": "seeders",
              "name": "Seeders Boost",
              "description": "Boost this if you want highest seeders to always be at the top, even if they have lower Resolution/Quality/SEL scores. In most cases, low seeders will have already been filtered out by SEL.",
              "type": "select",
              "required": false,
              "default": "default",
              "options": [
                {
                  "value": "none",
                  "label": "No Seeders Boost"
                },
                {
                  "value": "default",
                  "label": "Default — Moderate Boost"
                },
                {
                  "value": "high",
                  "label": "High — Strong Boost"
                }
              ]
            }
          ]
        },
        {
          "id": "header.advancedSEL",
          "name": "",
          "description": "Advanced SEL Settings",
          "type": "alert",
          "advanced": true,
          "intent": "info"
        },
        {
          "__if": "services.torbox",
          "id": "torboxTier",
          "name": "TorBox Tier Limit",
          "description": "Apply a size cap to uncached downloads matching your TorBox subscription tier. Selecting Pro will auto-add Torbox Search (Usenet) add-on to your config.",
          "type": "select",
          "required": true,
          "advanced": false,
          "options": [
            {
              "value": "nonPro",
              "label": "Essential or Standard — 200 GB limit"
            },
            {
              "value": "pro",
              "label": "Pro — 1 TB limit"
            }
          ]
        },
        {
          "id": "coreFilter",
          "name": "Core Filtering Engine",
          "description": "The core filtering engine defaults to the Standard SEL, which dynamically keeps top 3 per Quality/Resolution, resulting in about 20 total streams. Choose the Extended SEL option to keep 2x more (top 6 per Quality/Resolution). *You may increase this limit by adjusting `Overall Passthrough Per Quality/Resolution` inside 'Passthrough Options'*.",
          "type": "select",
          "required": true,
          "advanced": false,
          "default": "standard",
          "options": [
            {
              "value": "standard",
              "label": "Standard SEL - 3 per Q/R"
            },
            {
              "value": "extended",
              "label": "Extended SEL - 6 per Q/R"
            }
          ]
        },
        {
          "id": "coreFilterMod",
          "name": "Core Filter Modifications",
          "description": "Make specific modifications to the core filtering engine (Standard/Extended SEL), such as removing unknown resolution or unknown quality streams.",
          "type": "subsection",
          "advanced": true,
          "required": false,
          "subsectionIntent": "block",
          "subOptions": [
            {
              "id": "removeUnknownRes",
              "name": "Remove Unknown Resolution",
              "description": "Remove streams with unknown resolution if >5 known resolution exists (after core filter SEL). These streams could be any resolution, since they are mislabeled, so some good streams may be removed. Passthrough, library, SeaDex exempted. ",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            },
            {
              "id": "removeUnknownQuality",
              "name": "Remove Unknown Quality",
              "description": "Remove streams with unknown quality if >5 known quality exists (after core filter SEL). Passthrough, library, SeaDex exempted. ",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            }
          ]
        },
        {
          "id": "deviceExclude",
          "name": "Device Specific Exclusions",
          "description": "Some TVs can't play *any DV Bluray (P7)*, *Non-Remux with only DV (P5)*,  *TrueHD* & *DTS* audio, or *AV1 Encode* (Shield TV). Select appropriate exclusions right here, and not inside AIOStreams UI filter because these removals need to happen at specific stage in the SEL filering process to allow various fake/upscaled detection filters to work effectively.",
          "type": "multi-select",
          "required": false,
          "advanced": true,
          "default": [],
          "options": [
            {
              "value": "4k",
              "label": "All 4K"
            },
            {
              "value": "4kRemux",
              "label": "4K Remux"
            },
            {
              "value": "1080pRemux",
              "label": "1080P Remux"
            },
            {
              "value": "720pRemux",
              "label": "720P Remux"
            },
            {
              "value": "av1",
              "label": "AV1 Encode"
            },
            {
              "value": "trueHD",
              "label": "TrueHD & Unknown BD Audio"
            },
            {
              "value": "dts",
              "label": "DTS & Unknown BD Audio"
            },
            {
              "value": "DVonly",
              "label": "DV-Only"
            },
            {
              "value": "dvOnlyNonRemux",
              "label": "DV-Only Non-Remux (P5)"
            },
            {
              "value": "DVall",
              "label": "DV (All)"
            },
            {
              "value": "DVP7",
              "label": "DV Bluray (P7)"
            },
            {
              "value": "HDR10+",
              "label": "HDR10+ Only"
            },
            {
              "value": "HDR",
              "label": "All HDR"
            }
          ]
        },
        {
          "id": "bitrate",
          "name": "Bitrate Options",
          "description": "Configure low bitrate and mobile backup settings for filtering and sorting.",
          "type": "subsection",
          "advanced": true,
          "required": false,
          "subsectionIntent": "inline",
          "buttonIntent": "gray-outline",
          "subOptions": [
            {
              "id": "bitrateCap",
              "name": "Static Bitrate Cap (Mbps)",
              "description": "Select your bitrate cap, or enter a custom number. All streams over this cap will be removed. Further options below.",
              "type": "select-with-custom",
              "required": false,
              "advanced": true,
              "default": "150",
              "options": [
                {
                  "value": "10",
                  "label": "<10 (Data saver)"
                },
                {
                  "value": "25",
                  "label": "25"
                },
                {
                  "value": "50",
                  "label": "50"
                },
                {
                  "value": "100",
                  "label": "100"
                },
                {
                  "value": "150",
                  "label": ">150 (Uncapped)"
                }
              ]
            },
            {
              "id": "bitrateCapDynamic",
              "name": "Dynamic Bitrate Cap",
              "description": "This selection will switch from a single static bitrate cap (default above) to a resolution-adjusted bitrate cap for an even more bandwidth-saving setup. Streams exceeding 80% of the selected bitrate cap at 4K resolution, 50% at 1080P and 30% at 720P will be removed.",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            },
            {
              "id": "bitrateCapSoft",
              "name": "Soft Bitrate Cap",
              "description": "Instead of removing high-bitrate streams, this option prioritizes streams within bitrate limit by boosting their ranking in preferred stream expressions. Within each Resolution/Quality category, large files are pushed to the bottom of the result list and only kept as backup options if lower bitrate options are few or unavailable.",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            },
            {
              "id": "bitrateBoostSort",
              "name": "Sort Low Bitrate First",
              "description": "If selected, streams will be sorted within each Resolution/Quality category based on their bitrate, lowest to highest. A selection below 150 Mbps in Bitrate Cap is required to enable this feature.",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            },
            {
              "id": "header.mobileBackup",
              "name": "",
              "description": "Mobile Backup Options",
              "type": "alert",
              "advanced": true,
              "intent": "info"
            },
            {
              "id": "mobileBackup",
              "name": "Mobile Backup Bitrate (Mbps)",
              "description": "Select a bitrate cap to add a few lighter backup streams for mobile data or unstable connections. **These are pinned to the bottom of your normal results**. Set to 0 to disable. Recommended: 4 Mbps, so that a 2-hr movie will be about 3.6 GB.",
              "type": "select-with-custom",
              "required": false,
              "advanced": true,
              "default": "0.0",
              "options": [
                {
                  "value": "0.0",
                  "label": "0 Disable"
                },
                {
                  "value": "3.0",
                  "label": "3"
                },
                {
                  "value": "4.0",
                  "label": "4"
                },
                {
                  "value": "5.0",
                  "label": "5"
                },
                {
                  "value": "8.0",
                  "label": "8"
                },
                {
                  "value": "10.0",
                  "label": "10"
                }
              ]
            },
            {
              "id": "mobileBackupAmount",
              "name": "Mobile Backup Amount",
              "description": "Number of backup streams to keep per selected resolution. For example, '2' returns up to 2x 1080p and 2x 720p backup streams, pinned to the bottom. If less than 2 is found, then 480p resolution is also checked.",
              "type": "number",
              "required": false,
              "default": 2,
              "constraints": {
                "min": 1,
                "max": 5,
                "forceInUi": true
              }
            }
          ]
        },
        {
          "id": "miscPassthrough",
          "name": "Passthrough Options",
          "description": "Bypass select visual tag and Top Quality/Resolution streams from the Core Filtering Engine, and optionally pin them to the top.",
          "type": "subsection",
          "advanced": true,
          "required": false,
          "subsectionIntent": "inline",
          "buttonIntent": "gray-outline",
          "subOptions": [
            {
              "id": "visualTagNotice",
              "name": "",
              "description": "Visual Tags Passthrough Options",
              "type": "alert",
              "intent": "info-basic"
            },
            {
              "id": "visualTag",
              "name": "Visual Tags Passthrough",
              "description": "Allow up to 5 results containing each selected visual tags to bypass the Core Filtering Engine. Use this option if the default filtering does not provide enough streams in your preferred visual tags.",
              "type": "multi-select",
              "required": false,
              "default": [],
              "options": [
                {
                  "value": "DV",
                  "label": "Any DV"
                },
                {
                  "value": "dvHDR",
                  "label": "DV + HDR"
                },
                {
                  "value": "HDRonly",
                  "label": "HDR Only"
                },
                {
                  "value": "SDR",
                  "label": "SDR (Non-HDR/DV)"
                }
              ]
            },
            {
              "id": "visualTagPin",
              "name": "Pin Visual Tags",
              "description": "Pin the above visual tag passthrough streams to the top.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "TopQRNotice",
              "name": "",
              "description": "Top Quality/Resolution Options",
              "type": "alert",
              "intent": "info-basic"
            },
            {
              "id": "top1ResPin",
              "name": "Pin Top 1 Per Resolution",
              "description": "This will pin the top 1 result for each resolution (3 different resolutions max), bypassing Core Filtering Engine.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "top1QualResPin",
              "name": "Pin Top 1 Per Quality/Resolution",
              "description": "This will pin the top 1 result for each Quality/Resolution (6 different Quality/Resolution pairs max), bypassing SEL filters.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "overallTopQualRes",
              "name": "Overall Passthrough Per Quality/Resolution",
              "description": "Allows top results from each Quality/Resolution category to bypass Core Filtering Engine's limit or 3 (Standard SEL) or 6 (Extended SEL). Set a number higher than the default (3 or 6) to see an effect. This option takes the overall top results (among all stream types except uncached debrid, from 4K to 720P) as sorted by setup. To increase only usenet results, use the same option inside 'Usenet Options'.",
              "type": "number",
              "required": false,
              "default": 0,
              "constraints": {
                "min": 1,
                "max": 15,
                "forceInUi": true
              }
            }
          ]
        },
        {
          "id": "usenet",
          "name": "Usenet Options",
          "description": "Various passthrough and sort options for Usenet.",
          "type": "subsection",
          "advanced": true,
          "required": false,
          "subsectionIntent": "inline",
          "buttonIntent": "gray-outline",
          "subOptions": [
            {
              "id": "usenetHealth",
              "name": "Health-☑ NZB Passthrough",
              "description": "**☑ NZB Passthrough/Pin**: allows all health-☑ Zyclops/UsenetStreamer/AvailNZB usenet to bypass SEL filters, optionally pin health-☑ usenet to the top. **☑ NZB-Only Passthrough/Pin**: allows only health-☑ usenet to bypass SEL filters *and* removes all without health-☑, optionally pin health-☑ usenet to the top.",
              "type": "select",
              "required": false,
              "default": "none",
              "options": [
                {
                  "value": "none",
                  "label": "Disabled"
                },
                {
                  "value": "Checkednzb",
                  "label": "☑ NZB Passthrough"
                },
                {
                  "value": "CheckednzbPin",
                  "label": "☑ NZB Pin"
                },
                {
                  "value": "CheckednzbOnly",
                  "label": "☑ NZB-Only Passthrough"
                },
                {
                  "value": "CheckednzbOnlyPin",
                  "label": "☑ NZB-Only Pin"
                }
              ]
            },
            {
              "id": "usenetTopQualRes",
              "name": "Usenet Passthrough Per Quality/Resolution",
              "description": "Allow top usenet results from each Quality/Resolution category to bypass Core Filtering Engine's limit. Usenet results (unless health checked) will be ranked lower than cached debrid for any given Quality/Resolution category. You can merge cached Usenet and cached Debrid using the Boost Usenet toggle.",
              "type": "number",
              "required": false,
              "default": 0,
              "constraints": {
                "min": 1,
                "max": 15,
                "forceInUi": true
              }
            },
            {
              "id": "usenetSort",
              "name": "Boost Cached Usenet",
              "description": "Select this if you want to prioritize all cached usenet (not just health-checked) on the same level as cached debrid. Their results will merge in the sort order. Good idea only if your usenet health is as reliable as your debrid. Uncached usenet will still appear at the bottom, due to Cached first sorting.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "usenetUncachedSort",
              "name": "Boost All Usenet",
              "description": "If selected, uncached usenet (Torbox) & cached usenet results will merge with cached debrid instead of being separated into an 'Uncached' group. This treats uncached usenet with the same priority as cached results during sorting.",
              "type": "boolean",
              "required": false,
              "default": false
            }
          ]
        },
        {
          "id": "filterLimit",
          "name": "Limit Options",
          "description": "Additional limit SELs for *Required Stream Expressions* field. Setting these limits may result in too few streams, so try above options first.",
          "type": "subsection",
          "advanced": true,
          "required": false,
          "subsectionIntent": "inline",
          "buttonIntent": "gray-outline",
          "subOptions": [
            {
              "id": "filterLimitNotice",
              "name": "",
              "description": "These options will add SELs that run after Standard/Extended SEL, reducing remaining streams even more. Any streams not selected here will be removed (exceptions: some passthrough streams, library and SeaDex).",
              "type": "alert",
              "intent": "info-basic"
            },
            {
              "id": "topRes",
              "name": "Top Resolution Only",
              "description": "If there are >5 remaining results in 4k after Standard/Extended SEL, this option will keep only 4K results and remove all lower resolutions (some passthrough, library and SeaDex exempted). If 4k check fails, 1080p and 720p are then checked for same condition.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "top1Res",
              "name": "Top Results Per Resolution",
              "description": "Keep only top X results from each Resolution, for max of 3 top resolutions (some passthrough, library and SeaDex exempted). Rest will be removed unless selected by another SEL.",
              "type": "select",
              "required": false,
              "default": "0",
              "options": [
                {
                  "value": "0",
                  "label": "Disabled"
                },
                {
                  "value": "1",
                  "label": "1 per Resolution"
                },
                {
                  "value": "2",
                  "label": "2 per Resolution"
                },
                {
                  "value": "3",
                  "label": "3 per Resolution"
                },
                {
                  "value": "4",
                  "label": "4 per Resolution"
                },
                {
                  "value": "5",
                  "label": "5 per Resolution"
                },
                {
                  "value": "6",
                  "label": "6 per Resolution"
                }
              ]
            },
            {
              "id": "top1QualRes",
              "name": "Top Results Per Quality/Resolution",
              "description": "Keep only the top X results from each Quality/Resolution category (some passthrough, library and SeaDex exempted). Rest will be removed unless selected by another SEL. May choose up to 3 if on Standard SEL, up to 6 if on Extended SEL.",
              "type": "select",
              "required": false,
              "default": "0",
              "options": [
                {
                  "value": "0",
                  "label": "Disabled"
                },
                {
                  "value": "1",
                  "label": "1 per Quality/Resolution"
                },
                {
                  "value": "2",
                  "label": "2 per Quality/Resolution"
                },
                {
                  "value": "3",
                  "label": "3 per Quality/Resolution (Standard SEL)"
                },
                {
                  "value": "4",
                  "label": "4 per Quality/Resolution"
                },
                {
                  "value": "5",
                  "label": "5 per Quality/Resolution"
                },
                {
                  "value": "6",
                  "label": "6 per Quality/Resolution (Extended SEL)"
                }
              ]
            },
            {
              "id": "visualTag",
              "name": "Top 5 DV+HDR, 5 HDR Only, 5 SDR",
              "description": "Keep up to 5 DV/HDR, 5 HDR Only and 5 non-DV/HDR streams (somepassthrough, library and SeaDex exempted). Rest will be removed unless selected by another SEL. Pair this option with Device Specific visual tag exclusions to remove DV/HDR, if you only want 5 results in SDR.",
              "type": "boolean",
              "required": false,
              "default": false
            },
            {
              "id": "global",
              "name": "Global Result Limit",
              "description": "Keep only the overall top X results (some passthrough, library and SeaDex exempted). Rest will be removed unless selected by another SEL.",
              "type": "number",
              "required": false,
              "constraints": {
                "min": 1,
                "max": 20,
                "forceInUi": true
              }
            }
          ]
        },
        {
          "id": "misc",
          "name": "Miscellaneous Options",
          "description": "Various options such as Keep SEL Edits, Ignore RSE, Show Statistics & Errors, Digital Release Filter, Add-on Name, and Add-on Logo.",
          "type": "subsection",
          "required": false,
          "advanced": true,
          "subsectionIntent": "block",
          "subOptions": [
            {
              "id": "keepScore",
              "name": "Keep Custom SEL Edits",
              "description": "Select this option to prevent custom edits to synced urls SEL or regex from being overwritten. Leave it unchecked to benefit from Vidhin's default SEL scores, which are designed to work well with this template. If enabled, you will need to manually disable any duplicate *Bad 4k Anime, Upscaled 4k & Bad 1080P Bluray* and manually enable *Unknown Resolution & Unknown Quality* inside synced url ESE.",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            },
            {
              "id": "ignoreRSE",
              "name": "Ignore Inline RSE",
              "description": "Select this option to prevent your additional inline Ranked Stream Expression entries from being overwritten. Vidhin's synced url for RSE will still be imported.",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            },
            {
              "id": "showStats",
              "name": "Show Statistics & Errors",
              "description": "This option will enable Statistic and Error streams at the bottom for debugging purposes.",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            },
            {
              "id": "digitalRelease",
              "name": "Digital Release Filter",
              "description": "This option will enable Digital Release Filter. It uses the digital release date from metada providers to determine when to trigger, so it may not always be accurate. Normally this filter will remove all streams so you don't see any fake streams, but my setup has a digitalRelease Bypass SEL that will let through properly labeled quality leaks (eg., 'CAM','TS','TC','SCR','WEBRip').",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            },
            {
              "id": "addonName",
              "name": "Add-on Name",
              "description": "What to call AIOStreams in Stremio?",
              "type": "select-with-custom",
              "required": false,
              "advanced": true,
              "default": "AIOStreams",
              "options": [
                {
                  "value": "AIOStreams",
                  "label": "AIOStreams"
                },
                {
                  "value": "The SELection",
                  "label": "The SELection"
                },
                {
                  "value": "Tam Streams",
                  "label": "Tam Streams"
                },
                {
                  "value": "Taro Streams",
                  "label": "Taro Streams"
                },
                {
                  "value": "none",
                  "label": "Keep Existing Name"
                }
              ]
            },
            {
              "id": "addonLogo",
              "name": "Add-on Logo",
              "description": "Select a logo for your AIOStreams addon. Custom: Paste direct image URL.",
              "type": "select-with-custom",
              "required": false,
              "advanced": true,
              "default": "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/logo/aios.png",
              "options": [
                {
                  "value": "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/logo/aios.png",
                  "label": "Tamtaro (default)"
                },
                {
                  "value": "https://raw.githubusercontent.com/Viren070/AIOStreams/refs/heads/main/packages/frontend/public/logo.png",
                  "label": "AIOStreams"
                },
                {
                  "value": "none",
                  "label": "Keep Existing Logo"
                }
              ]
            }
          ]
        },
        {
          "id": "header.catalogsNotice",
          "name": "",
          "description": "**This template does not include any catalogs**. Many prefer AIOMetadata (separate add-on from AIOStreams), so after you finish importing this template, access [Tamtaro's AIOMetadata guide](https://github.com/Tam-Taro/SEL-Filtering-and-Sorting/tree/main?tab=readme-ov-file#%EF%B8%8F-whats-included-for-aiometadata) to complete your perfect stremio setup.",
          "type": "alert",
          "intent": "alert"
        },
        {
          "id": "credits",
          "name": "Credits",
          "description": "",
          "type": "socials",
          "socials": [
            {
              "id": "github",
              "url": "https://git.tamtaro.de"
            },
            {
              "id": "ko-fi",
              "url": "https://ko-fi.com/tamtaro"
            },
            {
              "id": "website",
              "url": "https://torbox.app/subscription?referral=f1cdd3f8-aeee-48f1-849b-64fc7e5aeb3c"
            },
            {
              "id": "discord",
              "url": "https://discord.com/channels/1225024298490662974/1485044483857846324"
            },
            {
              "id": "ko-fi",
              "url": "https://ko-fi.com/vidhin"
            },
            {
              "id": "github",
              "url": "https://github.com/Vidhin05/Releases-Regex"
            }
          ]
        }
      ]
    },
    "config": {
      "trusted": false,
      "showChanges": false,
      "addonName": {
        "__switch": "inputs.misc.addonName",
        "cases": {
          "none": {
            "__remove": true
          }
        },
        "default": "{{inputs.misc.addonName}}"
      },
      "addonDescription": "Custom AIOStreams powered by Tamtaro SEL Setup v2.6.1. Features advanced filtering with Stream Expression Language and smart sorting with Vidhin's Regex Patterns. Your personal all-in-one setup for the perfect Stremio experience.",
      "addonLogo": {
        "__switch": "inputs.misc.addonLogo",
        "cases": {
          "none": {
            "__remove": true
          }
        },
        "default": "{{inputs.misc.addonLogo}}"
      },
      "excludedResolutions": [],
      "includedResolutions": [],
      "requiredResolutions": [],
      "preferredResolutions": [
        "2160p",
        "1440p",
        "1080p",
        "720p",
        "576p",
        "480p",
        "360p",
        "240p",
        "144p",
        "Unknown"
      ],
      "excludedQualities": [],
      "includedQualities": [],
      "requiredQualities": [],
      "preferredQualities": [
        "BluRay REMUX",
        "BluRay",
        "WEB-DL",
        "WEBRip",
        "HDRip",
        "HC HD-Rip",
        "DVDRip",
        "HDTV",
        "SCR",
        "TC",
        "TS",
        "CAM",
        "Unknown"
      ],
      "excludedLanguages": [],
      "includedLanguages": [],
      "requiredLanguages": [
        "{{inputs.languages}}",
        "Original",
        "Dual Audio",
        "Multi",
        "Dubbed",
        "Unknown"
      ],
      "preferredLanguages": [
        "{{inputs.languages}}",
        {
          "__if": "inputs.LanguagePassthrough.language != none",
          "__value": "{{inputs.LanguagePassthrough.language}}"
        },
        "Original",
        "Dual Audio",
        "Multi",
        "Dubbed",
        "Unknown"
      ],
      "requiredSubtitles": [],
      "excludedSubtitles": [],
      "includedSubtitles": [],
      "preferredSubtitles": [
        "{{inputs.subtitles}}",
        {
          "__if": "inputs.LanguagePassthrough.subLanguage != none",
          "__value": "{{inputs.LanguagePassthrough.subLanguage}}"
        }
      ],
      "excludedVisualTags": [
        "3D",
        "H-OU",
        "H-SBS"
      ],
      "includedVisualTags": [],
      "requiredVisualTags": [],
      "preferredVisualTags": [
        "HDR+DV",
        "DV",
        "HDR10+",
        "HDR10",
        "HDR",
        "HLG",
        "10bit",
        "SDR",
        "IMAX",
        "AI"
      ],
      "excludedAudioTags": [],
      "includedAudioTags": [],
      "requiredAudioTags": [],
      "preferredAudioTags": [
        "Atmos",
        "DTS:X",
        "TrueHD",
        "DTS-HD MA",
        "FLAC",
        "DTS-HD",
        "DTS-ES",
        "DTS",
        "DD+",
        "DD",
        "OPUS",
        "AAC"
      ],
      "excludedAudioChannels": [],
      "includedAudioChannels": [],
      "requiredAudioChannels": [],
      "preferredAudioChannels": [],
      "excludedStreamTypes": [],
      "includedStreamTypes": [],
      "requiredStreamTypes": [],
      "preferredStreamTypes": [
        "debrid",
        "usenet"
      ],
      "excludedEncodes": [],
      "includedEncodes": [],
      "requiredEncodes": [],
      "preferredEncodes": [
        "AV1",
        "HEVC",
        "AVC",
        "Unknown",
        "XviD",
        "DivX"
      ],
      "excludedRegexPatterns": [],
      "syncedExcludedRegexUrls": [
        "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-excluded-regex.json"
      ],
      "includedRegexPatterns": [],
      "requiredRegexPatterns": [],
      "preferredRegexPatterns": [],
      "rankedRegexPatterns": [
        {
          "__if": "!inputs.languages includes German",
          "name": "𝚅𝚒𝚍𝚑𝚒𝚗'𝚜 𝙴𝚗𝚐𝚕𝚒𝚜𝚑 𝚁𝚊𝚗𝚔𝚎𝚍 𝚁𝚎𝚐𝚎𝚡𝚎𝚜 (𝚜𝚢𝚗𝚌𝚎𝚍)",
          "pattern": "/^(?!𝚅𝚒𝚍𝚑𝚒𝚗'𝚜 𝙴𝚗𝚐𝚕𝚒𝚜𝚑 𝚁𝚊𝚗𝚔𝚎𝚍 𝚁𝚎𝚐𝚎𝚡𝚎𝚜 (𝚜𝚢𝚗𝚌𝚎𝚍))𝚅𝚒𝚍𝚑𝚒𝚗'𝚜 𝙴𝚗𝚐𝚕𝚒𝚜𝚑 𝚁𝚊𝚗𝚔𝚎𝚍 𝚁𝚎𝚐𝚎𝚡𝚎𝚜 (𝚜𝚢𝚗𝚌𝚎𝚍)$/",
          "score": 0
        },
        {
          "__if": "!inputs.languages includes German",
          "pattern": "<SYNCED: https://raw.githubusercontent.com/Vidhin05/Releases-Regex/main/English/regexes.json>",
          "name": "",
          "score": 0
        },
        {
          "__if": "inputs.languages includes German",
          "name": "𝚅𝚒𝚍𝚑𝚒𝚗'𝚜 𝙶𝚎𝚛𝚖𝚊𝚗 𝚁𝚊𝚗𝚔𝚎𝚍 𝚁𝚎𝚐𝚎𝚡𝚎𝚜 (𝚜𝚢𝚗𝚌𝚎𝚍)",
          "pattern": "/^(?!𝚅𝚒𝚍𝚑𝚒𝚗'𝚜 𝙶𝚎𝚛𝚖𝚊𝚗 𝚁𝚊𝚗𝚔𝚎𝚍 𝚁𝚎𝚐𝚎𝚡𝚎𝚜 (𝚜𝚢𝚗𝚌𝚎𝚍))𝚅𝚒𝚍𝚑𝚒𝚗'𝚜 𝙶𝚎𝚛𝚖𝚊𝚗 𝚁𝚊𝚗𝚔𝚎𝚍 𝚁𝚎𝚐𝚎𝚡𝚎𝚜 (𝚜𝚢𝚗𝚌𝚎𝚍)$/",
          "score": 0
        },
        {
          "__if": "inputs.languages includes German",
          "pattern": "<SYNCED: https://raw.githubusercontent.com/Vidhin05/Releases-Regex/main/German/regexes.json>",
          "name": "",
          "score": 0
        }
      ],
      "syncedPreferredRegexUrls": [],
      "syncedRankedRegexUrls": [
        {
          "__if": "!inputs.languages includes German",
          "__value": [
            "https://raw.githubusercontent.com/Vidhin05/Releases-Regex/main/English/regexes.json"
          ]
        },
        {
          "__if": "inputs.languages includes German",
          "__value": [
            "https://raw.githubusercontent.com/Vidhin05/Releases-Regex/main/German/regexes.json"
          ]
        }
      ],
      "syncedPreferredStreamExpressionUrls": [
        "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-PSEs.json"
      ],
      "syncedExcludedStreamExpressionUrls": [
        {
          "__if": "inputs.coreFilter includes extended",
          "__value": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ESEs-extended.json"
          ]
        },
        {
          "__if": "inputs.coreFilter includes standard",
          "__value": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ESEs-standard.json"
          ]
        }
      ],
      "syncedIncludedStreamExpressionUrls": [
        "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ISEs.json"
      ],
      "syncedRankedStreamExpressionUrls": [
        {
          "__if": "!inputs.languages includes German",
          "__value": [
            "https://raw.githubusercontent.com/Vidhin05/Releases-Regex/main/English/expressions.json"
          ]
        },
        {
          "__if": "inputs.languages includes German",
          "__value": [
            "https://raw.githubusercontent.com/Vidhin05/Releases-Regex/main/German/expressions.json"
          ]
        }
      ],
      "requiredKeywords": [],
      "includedKeywords": [],
      "excludedKeywords": [],
      "preferredKeywords": [],
      "excludeSeederRange": [
        0,
        1000
      ],
      "includeSeederRange": [
        0,
        1000
      ],
      "requiredSeederRange": [
        0,
        1000
      ],
      "seederRangeTypes": [],
      "ageRangeTypes": [],
      "digitalReleaseFilter": {
        "enabled": {
          "__switch": "inputs.misc.digitalRelease",
          "cases": {
            "true": true,
            "false": false
          },
          "default": false
        },
        "tolerance": 1,
        "requestTypes": [
          "movie",
          "series",
          "anime"
        ],
        "addons": []
      },
      "excludeCachedFromAddons": [],
      "excludeCachedFromServices": [],
      "excludeCachedFromStreamTypes": [],
      "excludeUncached": false,
      "excludeUncachedFromAddons": [],
      "excludeUncachedFromServices": [],
      "excludeUncachedFromStreamTypes": [],
      "excludeUncachedMode": "or",
      "excludedStreamExpressions": [
        {
          "__if": "inputs.coreFilter includes extended",
          "expression": "/*𝚃𝚊𝚖𝚝𝚊𝚛𝚘 𝙲𝚘𝚖𝚙𝚕𝚎𝚝𝚎 𝚂𝙴𝙻 𝚂𝚎𝚝𝚞𝚙 𝚟2.6.1: 𝙴𝚡𝚝𝚎𝚗𝚍𝚎𝚍 𝚂𝙴𝙻 𝚏𝚒𝚕𝚝𝚎𝚛𝚒𝚗𝚐 𝚎𝚗𝚐𝚒𝚗𝚎*/ []",
          "enabled": true
        },
        {
          "expression": "/*𝚐𝚒𝚝.𝚝𝚊𝚖𝚝𝚊𝚛𝚘.𝚍𝚎 𝚏𝚘𝚛 𝚏𝚞𝚕𝚕 𝚐𝚞𝚒𝚍𝚎 & 𝚊𝚍𝚍𝚒𝚝𝚒𝚘𝚗𝚊𝚕 𝚂𝙴𝙻𝚜*/[]",
          "enabled": true
        },
        {
          "__if": "inputs.coreFilter includes standard",
          "expression": "/*𝚃𝚊𝚖𝚝𝚊𝚛𝚘 𝙲𝚘𝚖𝚙𝚕𝚎𝚝𝚎 𝚂𝙴𝙻 𝚂𝚎𝚝𝚞𝚙 𝚟2.6.1: 𝚂𝚝𝚊𝚗𝚍𝚊𝚛𝚍 SEL filtering engine*/ []",
          "enabled": true
        },
        {
          "expression": "/*Bad 4k Anime*/ (isAnime and originalLanguage == 'Japanese' and count(quality(resolution(cached(streams), '2160p'), 'Bluray REMUX')) == 0 and count(seadex(resolution(streams, '2160p'))) == 0 and count(rseMatched(resolution(streams, '2160p'), 'BD T1', 'BD T2', 'BD T3', 'BD T4', 'BD T5', 'BD T6', 'BD T7', 'BD T8', 'Remux T1', 'Remux T2', 'Remux T3', 'Web T1', 'Web T2', 'Web T3', 'Web T4', 'Web T5', 'Web T6')) == 0 )? negate(merge(library(streams), seadex(streams)), resolution(streams, '2160p')) : []",
          "enabled": true
        },
        {
          "expression": "/*Upscaled 4k*/(queryType=='movie' or queryType =='series') and (count(quality(resolution(streams,'1080p'),'Bluray REMUX'))>=1) and count(quality(resolution(streams,'2160p'),'Bluray REMUX')) == 0 and count(rseMatched(resolution(streams, '2160p'), 'DE Bluray T1', 'DE Bluray T2', 'DE Bluray T3', 'UHD Bluray T1', 'HD Bluray T1', 'UHD Bluray T2', 'HD Bluray T2', 'UHD Bluray T3', 'HD Bluray T3', 'DE Web T1', 'DE Web T2', 'DE Web T3', 'DE Web Scene', 'Web T1', 'Web T2', 'Web T3', 'Web Scene')) == 0? negate(merge(seadex(streams),library(streams)),resolution(streams,'2160p')):[]",
          "enabled": true
        },
        {
          "expression": "/*Bad 4k Bluray*/(queryType=='movie' or queryType =='series') and count(quality(resolution(streams,'2160p'),'Bluray REMUX')) == 0 and count(rseMatched(resolution(streams, '2160p'), 'DE Bluray T1', 'DE Bluray T2', 'DE Bluray T3', 'UHD Bluray T1', 'HD Bluray T1', 'UHD Bluray T2', 'HD Bluray T2', 'UHD Bluray T3', 'HD Bluray T3')) == 0? negate(merge(seadex(streams),library(streams)),resolution(quality(streams, 'Bluray'),'2160p')):[]",
          "enabled": true
        },
        {
          "expression": "/*Bad 1080P Bluray*/(queryType=='movie') and count(quality(resolution(streams,'2160p'),'Bluray REMUX'))==0 and (count(quality(resolution(streams,'1080p'),'Bluray REMUX'))==0) and count(rseMatched(resolution(quality(streams, 'Bluray'), '1080p'), 'DE Bluray T1', 'DE Bluray T2', 'DE Bluray T3', 'UHD Bluray T1', 'HD Bluray T1', 'UHD Bluray T2', 'HD Bluray T2', 'UHD Bluray T3', 'HD Bluray T3')) == 0 ? negate(merge(seadex(streams),library(streams)),quality(resolution(streams,'1080p'),'Bluray')):[]",
          "enabled": true
        },
        {
          "__if": "services.realdebrid",
          "expression": "/*RD Copyright (per DMM)*/ service( keyword(streams, 'all', 'web-dl', 'webrip', 'bdrip', 'hdrip', 'dvdrip', 'bluray.x264', 'hdtv.x264', 'hdtv.xvid', 'web.x264', 'web.h264'), 'realdebrid')",
          "enabled": true
        },
        {
          "expression": "/*Low SEL Score*/ count(streamExpressionScore(negate(merge(library(streams), seadex(streams)),merge(cached(streams),type(streams,'p2p','http'))),-50))<10?[]:streamExpressionScore(negate(merge(library(streams),seadex(streams)),streams),-1000000,-50)",
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes 4k",
          "expression": "/*No 4K*/ resolution(streams,'2160p')",
          "exprNames": [
            "No 4K"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes 4kRemux",
          "expression": "/*No 4K Remux*/ quality(resolution(streams,'2160p'),'Bluray REMUX')",
          "exprNames": [
            "No 4K Remux"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes 1080pRemux",
          "expression": "/*No 1080P Remux*/ quality(resolution(streams,'1080p'),'Bluray REMUX')",
          "exprNames": [
            "No 1080P Remux"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes 720pRemux",
          "expression": "/*No 720P Remux*/ quality(resolution(streams,'720p'),'Bluray REMUX')",
          "exprNames": [
            "No 720P Remux"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes av1",
          "expression": "/*No AV1*/ encode(streams, 'AV1')",
          "exprNames": [
            "No AV1"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes trueHD",
          "expression": "/*No TrueHD & Unknown BD Audio*/ merge(audioTag(streams, 'TrueHD'), audioTag(quality(streams, 'Bluray Remux', 'Bluray'), 'Unknown'))",
          "exprNames": [
            "No TrueHD"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes dts",
          "expression": "/*No DTS & Unknown BD Audio*/ merge(audioTag(streams, 'DTS:X', 'DTS-ES', 'DTS-HD MA', 'DTS-HD', 'DTS'), audioTag(quality(streams, 'Bluray Remux', 'Bluray'), 'Unknown'))",
          "exprNames": [
            "No DTS"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes DVonly",
          "expression": "/*No DV-Only*/ visualTag(streams,'DV Only')",
          "exprNames": [
            "No DV-Only"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes dvOnlyNonRemux",
          "expression": "/*No DV-Only Non-Remux (P5)*/ isAnime?[]:negate(merge(quality(streams,'BluRay REMUX'),releaseGroup(streams, 'Flights'),regexMatched(streams, 'Hulu')),visualTag(streams,'DV Only'))",
          "exprNames": [
            "No DV-Only Non-Remux (P5)"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes DVall",
          "expression": "/*No DV (All)*/ visualTag(streams,'DV')",
          "exprNames": [
            "No DV (All)"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes DVP7",
          "expression": "/*No DV Bluray (P7)*/ negate(rseMatched(streams, 'Hybrid'), quality(visualTag(resolution(streams, '2160p'), 'DV'), 'Bluray Remux', 'Bluray'))",
          "exprNames": [
            "No DV Bluray (P7)"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes HDR10+",
          "expression": "/*No HDR10+ Only*/ visualTag(streams, 'HDR10+')",
          "exprNames": [
            "No HDR10+ Only"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.deviceExclude includes HDR",
          "expression": "/*No HDR (All)*/ visualTag(streams, 'HDR', 'HDR10','HDR10+')",
          "exprNames": [
            "No HDR (All)"
          ],
          "enabled": true
        },
        {
          "__if": "inputs.torboxTier == nonPro",
          "expression": "/*TB Non-Pro Download Limit*/ size(uncached(service(streams, 'torbox')), '200GB')",
          "enabled": true
        },
        {
          "__if": "inputs.torboxTier == pro",
          "expression": "/*TB Pro Download Limit*/ size(uncached(service(streams, 'torbox')), '1TB')",
          "enabled": true
        },
        {
          "__if": "inputs.bitrate.bitrateCap != 150 and !inputs.bitrate.bitrateCapDynamic and !inputs.bitrate.bitrateCapSoft",
          "expression": "/*{{inputs.bitrate.bitrateCap}} Mbps Bitrate Cap (Static)*/ bitrate(streams, {{inputs.bitrate.bitrateCap}}*1000000)",
          "enabled": true
        },
        {
          "__if": "inputs.bitrate.bitrateCap != 150 and inputs.bitrate.bitrateCapDynamic and !inputs.bitrate.bitrateCapSoft",
          "expression": "/*{{inputs.bitrate.bitrateCap}} Mbps Bitrate Cap (Dynamic Soft): 80% @ 4k, 50% @ 1080P, 30% @ 720P*/ merge(bitrate(resolution(streams, '2160p'), {{inputs.bitrate.bitrateCap}}*0.8*1000000), bitrate(resolution(streams, '1080p'), {{inputs.bitrate.bitrateCap}}*0.5*1000000), bitrate(resolution(streams, '720p'), {{inputs.bitrate.bitrateCap}}*0.3*1000000))",
          "enabled": true
        },
        {
          "__if": "inputs.bitrate.mobileBackup != 0.0",
          "expression": "/*Mobile Backup: {{inputs.bitrate.mobileBackupAmount}} x 1080p/720p/(480p) @ {{inputs.bitrate.mobileBackup}} Mbps Cap*/ count(perGroup(bitrate(negate(merge(library(streams), seadex(streams), quality(streams,'CAM','TS','TC','SCR')),merge(cached(streams),type(streams,'p2p','http'))), 500000,  {{inputs.bitrate.mobileBackup}}*1000000), 'resolution', {{inputs.bitrate.mobileBackupAmount}}, '1080p', '720p')) >= {{inputs.bitrate.mobileBackupAmount}} ?  pin(passthrough(perGroup(bitrate(negate(merge(library(streams), seadex(streams), quality(streams,'CAM','TS','TC','SCR')),merge(cached(streams),type(streams,'p2p','http'))), 500000,  {{inputs.bitrate.mobileBackup}}*1000000), 'resolution', {{inputs.bitrate.mobileBackupAmount}}, '1080p', '720p'), 'excluded', 'required'), 'bottom') : pin(passthrough(perGroup(bitrate(negate(merge(library(streams), seadex(streams), quality(streams,'CAM','TS','TC','SCR')),merge(cached(streams),type(streams,'p2p','http'))), 500000,  {{inputs.bitrate.mobileBackup}}*1000000), 'resolution', {{inputs.bitrate.mobileBackupAmount}}, '1080p', '720p', '480'), 'excluded', 'required'), 'bottom')",
          "enabled": true
        },
        {
          "__if": "inputs.usenet.usenetHealth includes Checkednzb",
          "expression": "/*☑ NZB Passthrough*/ passthrough(message(type(streams, 'usenet', 'stremio-usenet'),'includes','✅','🧝','💚'), 'excluded', 'required')",
          "enabled": true
        },
        {
          "__if": "inputs.usenet.usenetHealth includes CheckednzbPin",
          "expression": "/*☑ NZB Pin*/ pin(passthrough(message(type(streams, 'usenet', 'stremio-usenet'),'includes','✅','🧝','💚'), 'excluded', 'required'))",
          "enabled": true
        },
        {
          "__if": "inputs.usenet.usenetHealth includes CheckednzbOnly",
          "expression": "/*☑ NZB-Only Passthrough*/ merge(negate(message(streams,'includes','✅','🧝','💚'), type(streams, 'usenet', 'stremio-usenet')), passthrough(message(type(streams, 'usenet', 'stremio-usenet'),'includes','✅','🧝','💚'), 'excluded', 'required'))",
          "enabled": true
        },
        {
          "__if": "inputs.usenet.usenetHealth includes CheckednzbOnlyPin",
          "expression": "/*☑ NZB-Only Pin*/ merge(negate(message(streams,'includes','✅','🧝','💚'), type(streams, 'usenet', 'stremio-usenet')), pin(passthrough(message(type(streams, 'usenet', 'stremio-usenet'),'includes','✅','🧝','💚'), 'excluded', 'required')))",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.language != none and !inputs.LanguagePassthrough.languagePin and !inputs.LanguagePassthrough.languageAnimeOnly",
          "expression": "/*Top {{inputs.LanguagePassthrough.languageAmount}} {{inputs.LanguagePassthrough.language}} Passthrough*/ passthrough(slice(language(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.language}}'), 0, {{inputs.LanguagePassthrough.languageAmount}}), 'excluded', 'required')",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.language != none and inputs.LanguagePassthrough.languagePin and !inputs.LanguagePassthrough.languageAnimeOnly",
          "expression": "/*Pin {{inputs.LanguagePassthrough.languageAmount}} {{inputs.LanguagePassthrough.language}} Passthrough*/ pin(passthrough(slice(language(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.language}}'), 0, {{inputs.LanguagePassthrough.languageAmount}}), 'excluded', 'required'), 'top')",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.language != none and inputs.LanguagePassthrough.language != English and !inputs.LanguagePassthrough.languagePin and inputs.LanguagePassthrough.languageAnimeOnly",
          "expression": "/*Anime Only {{inputs.LanguagePassthrough.languageAmount}} {{inputs.LanguagePassthrough.language}} Passthrough*/ isAnime ? passthrough(slice(language(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.language}}'), 0, {{inputs.LanguagePassthrough.languageAmount}}), 'excluded', 'required') : []",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.language != none and inputs.LanguagePassthrough.language != English and inputs.LanguagePassthrough.languagePin and inputs.LanguagePassthrough.languageAnimeOnly",
          "expression": "/*Pin Anime Only {{inputs.LanguagePassthrough.languageAmount}} {{inputs.LanguagePassthrough.language}} Passthrough*/ isAnime ? pin(passthrough(slice(language(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.language}}'), 0, {{inputs.LanguagePassthrough.languageAmount}}), 'excluded', 'required'), 'top') : []",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.language == English and !inputs.LanguagePassthrough.languagePin and inputs.LanguagePassthrough.languageAnimeOnly",
          "expression": "/*Anime Only {{inputs.LanguagePassthrough.languageAmount}} {{inputs.LanguagePassthrough.language}} Passthrough*/ isAnime ? merge(passthrough(slice(language(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.language}}', 'Dual Audio'), 0, {{inputs.LanguagePassthrough.languageAmount}}), 'excluded', 'required')) : []",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.language == English and inputs.LanguagePassthrough.languagePin and inputs.LanguagePassthrough.languageAnimeOnly",
          "expression": "/*Pin Anime Only {{inputs.LanguagePassthrough.languageAmount}} {{inputs.LanguagePassthrough.language}} Passthrough*/ isAnime ? merge(pin(seadex(streams)), pin(passthrough(slice(language(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.language}}', 'Dual Audio'), 0, {{inputs.LanguagePassthrough.languageAmount}}), 'excluded', 'required'), 'top')) : []",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.language == Portuguese (Brazil)",
          "expression": "/*Passthrough PT-BR Release Groups*/ passthrough(rseMatched(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), 'PT-BR Group'), 'excluded', 'required')",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.subLanguage != none and !inputs.LanguagePassthrough.subLanguagePin and !inputs.LanguagePassthrough.subLanguageAnimeOnly",
          "expression": "/*Top {{inputs.LanguagePassthrough.subLanguageAmount}} {{inputs.LanguagePassthrough.subLanguage}} Subtitle Passthrough*/ passthrough(slice(subtitles(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.subLanguage}}'), 0, {{inputs.LanguagePassthrough.subLanguageAmount}}), 'excluded', 'required')",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.subLanguage != none and inputs.LanguagePassthrough.subLanguagePin and !inputs.LanguagePassthrough.subLanguageAnimeOnly",
          "expression": "/*Pin {{inputs.LanguagePassthrough.subLanguageAmount}} {{inputs.LanguagePassthrough.subLanguage}} Subtitle Passthrough*/ pin(passthrough(slice(subtitles(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.subLanguage}}'), 0, {{inputs.LanguagePassthrough.subLanguageAmount}}), 'excluded', 'required'), 'top')",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.subLanguage != none and inputs.LanguagePassthrough.subLanguage != English and !inputs.LanguagePassthrough.subLanguagePin and inputs.LanguagePassthrough.subLanguageAnimeOnly",
          "expression": "/*Anime Only {{inputs.LanguagePassthrough.subLanguageAmount}} {{inputs.LanguagePassthrough.subLanguage}} Subtitle Passthrough*/ isAnime ? passthrough(slice(subtitles(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.subLanguage}}'), 0, {{inputs.LanguagePassthrough.subLanguageAmount}}), 'excluded', 'required') : []",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.subLanguage != none and inputs.LanguagePassthrough.subLanguage != English and inputs.LanguagePassthrough.subLanguagePin and inputs.LanguagePassthrough.subLanguageAnimeOnly",
          "expression": "/*Pin Anime Only {{inputs.LanguagePassthrough.subLanguageAmount}} {{inputs.LanguagePassthrough.subLanguage}} Subtitle Passthrough*/ isAnime ? pin(passthrough(slice(subtitles(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.subLanguage}}'), 0, {{inputs.LanguagePassthrough.subLanguageAmount}}), 'excluded', 'required'), 'top') : []",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.subLanguage == English and !inputs.LanguagePassthrough.subLanguagePin and inputs.LanguagePassthrough.subLanguageAnimeOnly",
          "expression": "/*Anime Only {{inputs.LanguagePassthrough.subLanguageAmount}} {{inputs.LanguagePassthrough.subLanguage}} Subtitle Passthrough*/ isAnime ? merge(passthrough(slice(subtitles(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.subLanguage}}', 'Dual Audio'), 0, {{inputs.LanguagePassthrough.subLanguageAmount}}), 'excluded', 'required')) : []",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.subLanguage == English and inputs.LanguagePassthrough.subLanguagePin and inputs.LanguagePassthrough.subLanguageAnimeOnly",
          "expression": "/*Pin Anime Only {{inputs.LanguagePassthrough.subLanguageAmount}} {{inputs.LanguagePassthrough.subLanguage}} Subtitle Passthrough*/ isAnime ? merge(pin(seadex(streams)), pin(passthrough(slice(subtitles(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), '{{inputs.LanguagePassthrough.subLanguage}}', 'Dual Audio'), 0, {{inputs.LanguagePassthrough.subLanguageAmount}}), 'excluded', 'required'), 'top')) : []",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.visualTag includes DV and !inputs.miscPassthrough.visualTagPin",
          "expression": "/*DV Passthrough*/ passthrough(slice(resolution(visualTag(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), 'DV'), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), 'excluded', 'required')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.visualTag includes DV and inputs.miscPassthrough.visualTagPin",
          "expression": "/*Pin 5 DV Passthrough*/ pin(passthrough(slice(resolution(visualTag(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), 'DV'), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), 'excluded', 'required'), 'top')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.visualTag includes dvHDR and !inputs.miscPassthrough.visualTagPin",
          "expression": "/*Top 5 DV+HDR Passthrough*/ passthrough(slice(resolution(visualTag(visualTag(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), 'DV'), 'HDR', 'HDR10','HDR10+'), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), 'excluded', 'required')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.visualTag includes dvHDR and inputs.miscPassthrough.visualTagPin",
          "expression": "/*Pin 5 DV+HDR Passthrough*/ pin(passthrough(slice(resolution(visualTag(visualTag(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), 'DV'), 'HDR', 'HDR10','HDR10+'), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), 'excluded', 'required'), 'top')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.visualTag includes HDRonly and !inputs.miscPassthrough.visualTagPin",
          "expression": "/*Top 5 HDRonly Passthrough*/ passthrough(slice(resolution(negate(visualTag(streams, 'DV'), visualTag(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), 'HDR', 'HDR10','HDR10+')),  '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), 'excluded', 'required')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.visualTag includes HDRonly and inputs.miscPassthrough.visualTagPin",
          "expression": "/*Pin 5 HDRonly Passthrough*/ pin(passthrough(slice(resolution(negate(visualTag(streams, 'DV'), visualTag(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), 'HDR', 'HDR10','HDR10+')),  '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), 'excluded', 'required'), 'top')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.visualTag includes SDR and !inputs.miscPassthrough.visualTagPin",
          "expression": "/*Top 5 SDR*/ passthrough(slice(resolution(negate(visualTag(streams, 'HDR', 'HDR10', 'HDR10+', 'DV'), visualTag(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), 'SDR', 'HLG', '10bit', 'IMAX', 'Unknown')), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), 'excluded', 'required')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.visualTag includes SDR and inputs.miscPassthrough.visualTagPin",
          "expression": "/*Pin 5 SDR*/ pin(passthrough(slice(resolution(negate(visualTag(streams, 'HDR', 'HDR10', 'HDR10+', 'DV'), visualTag(merge(cached(streams), type(streams, 'p2p','http','usenet','stremio-usenet')), 'SDR', 'HLG', '10bit', 'IMAX', 'Unknown')), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), 'excluded', 'required'), 'top')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.top1ResPin",
          "expression": "/*Pin Top 1 Per Resolution (3 Max)*/ pin(merge(seadex(streams), passthrough(slice(negate(merge(uncached(type(streams, 'debrid'))), merge(slice(resolution(streams,'2160p'), 0, 1), slice(resolution(streams,'1080p'), 0, 1), slice(resolution(streams,'720p'), 0, 1), slice(resolution(streams,'576p','480p','Unknown'), 0, 1))), 0, 3), 'excluded', 'required')), 'top')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.top1QualResPin",
          "expression": "/*Top 1 Per Quality/Resolution (6 Max)*/ pin(merge(seadex(streams), passthrough(slice(negate(merge(uncached(type(streams, 'debrid'))), merge(slice(quality(resolution(streams,'2160p'),'Bluray REMUX'),0,1),slice(quality(resolution(streams,'2160p'),'Bluray'),0,1), slice(quality(resolution(streams,'2160p'),'WEB-DL'),0,1),slice(quality(resolution(streams,'1080p'),'Bluray REMUX'),0,1), slice(quality(resolution(streams,'1080p'),'Bluray'),0,1),slice(quality(resolution(streams,'1080p'),'WEB-DL'),0,1), slice(quality(resolution(streams,'720p'),'Bluray REMUX'),0,1),slice(quality(resolution(streams,'720p'),'Bluray'),0,1), slice(quality(resolution(streams,'720p'),'WEB-DL'),0,1))), 0, 6), 'excluded', 'required')), 'top')",
          "enabled": true
        },
        {
          "__if": "inputs.miscPassthrough.overallTopQualRes and inputs.miscPassthrough.overallTopQualRes > 0",
          "expression": "/*Top {{inputs.miscPassthrough.overallTopQualRes}} Overall Per Quality/Resolution*/ passthrough(slice(merge(perGroup(resolution(negate(merge(library(streams), seadex(streams)),merge(cached(streams),type(streams,'p2p','http'))), '2160p'), 'quality', {{inputs.miscPassthrough.overallTopQualRes}}, 'Bluray REMUX', 'Bluray', 'WEB-DL'), perGroup(resolution(negate(merge(library(streams), seadex(streams)),merge(cached(streams),type(streams,'p2p','http'))), '1440p'), 'quality', {{inputs.miscPassthrough.overallTopQualRes}}, 'Bluray REMUX', 'Bluray', 'WEB-DL'), perGroup(resolution(negate(merge(library(streams), seadex(streams)),merge(cached(streams),type(streams,'p2p','http'))), '1080p'), 'quality', {{inputs.miscPassthrough.overallTopQualRes}}, 'Bluray REMUX', 'Bluray', 'WEB-DL'), perGroup(resolution(negate(merge(library(streams), seadex(streams)),merge(cached(streams),type(streams,'p2p','http'))), '720p'), 'quality', {{inputs.miscPassthrough.overallTopQualRes}}, 'Bluray REMUX', 'Bluray', 'WEB-DL')  ),  0, {{inputs.miscPassthrough.overallTopQualRes}}*6),  'excluded')",
          "enabled": true
        },
        {
          "__if": "inputs.usenet.usenetTopQualRes and inputs.usenet.usenetTopQualRes > 0",
          "expression": "/*Top {{inputs.usenet.usenetTopQualRes}} Usenet Per Quality/Resolution*/ passthrough(slice(negate(merge(library(streams), message(streams,'includes','✅','🧝','💚')), merge(slice(quality(resolution(type(streams, 'usenet', 'stremio-usenet'),'2160p'),'Bluray REMUX'),0,{{inputs.usenet.usenetTopQualRes}}),slice(quality(resolution(type(streams, 'usenet', 'stremio-usenet'),'2160p'),'Bluray'),0,{{inputs.usenet.usenetTopQualRes}}), slice(quality(resolution(type(streams, 'usenet', 'stremio-usenet'),'2160p'),'WEB-DL'),0,{{inputs.usenet.usenetTopQualRes}}),slice(quality(resolution(type(streams, 'usenet', 'stremio-usenet'),'1080p'),'Bluray REMUX'),0,{{inputs.usenet.usenetTopQualRes}}), slice(quality(resolution(type(streams, 'usenet', 'stremio-usenet'),'1080p'),'Bluray'),0,{{inputs.usenet.usenetTopQualRes}}),slice(quality(resolution(type(streams, 'usenet', 'stremio-usenet'),'1080p'),'WEB-DL'),0,{{inputs.usenet.usenetTopQualRes}}), slice(quality(resolution(type(streams, 'usenet', 'stremio-usenet'),'720p'),'Bluray REMUX'),0,{{inputs.usenet.usenetTopQualRes}}),slice(quality(resolution(type(streams, 'usenet', 'stremio-usenet'),'720p'),'Bluray'),0,{{inputs.usenet.usenetTopQualRes}}), slice(quality(resolution(type(streams, 'usenet', 'stremio-usenet'),'720p'),'WEB-DL'),0,{{inputs.usenet.usenetTopQualRes}}))), 0, {{inputs.usenet.usenetTopQualRes}}*6), 'excluded')",
          "enabled": true
        },
        {
          "__if": "inputs.coreFilter includes extended",
          "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ESEs-extended.json>",
          "enabled": true
        },
        {
          "__if": "inputs.coreFilter includes standard",
          "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ESEs-standard.json>",
          "enabled": true
        }
      ],
      "requiredStreamExpressions": [
        {
          "__if": "inputs.filterLimit.topRes",
          "expression": "/*Top Resolution Only*/ merge(library(streams), seadex(streams), count(resolution(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), '2160p')) > 5 ? resolution(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), '2160p'): count(resolution(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), '1080p')) > 5 ? resolution(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), '2160p', '1080p')  : count(resolution(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), '2160p', '1080p', '720p')) > 5 ? resolution(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), '2160p', '1080p', '720p') : streams)",
          "enabled": true
        },
        {
          "__if": "inputs.filterLimit.top1QualRes != 0 or !inputs.filterLimit.top1QualRes",
          "expression": "/*Top {{inputs.filterLimit.top1QualRes}} Per Quality/Resolution*/ merge(library(streams), seadex(streams), count(slice(merge(slice(quality(resolution(streams,'2160p'),'Bluray REMUX'),0,{{inputs.filterLimit.top1QualRes}}),slice(quality(resolution(streams,'2160p'),'Bluray'),0,{{inputs.filterLimit.top1QualRes}}), slice(quality(resolution(streams,'2160p'),'WEB-DL'),0,{{inputs.filterLimit.top1QualRes}}),slice(quality(resolution(streams,'1080p'),'Bluray REMUX'),0,{{inputs.filterLimit.top1QualRes}}), slice(quality(resolution(streams,'1080p'),'Bluray'),0,{{inputs.filterLimit.top1QualRes}}),slice(quality(resolution(streams,'1080p'),'WEB-DL'),0,{{inputs.filterLimit.top1QualRes}}), slice(quality(resolution(streams,'720p'),'Bluray REMUX'),0,{{inputs.filterLimit.top1QualRes}}),slice(quality(resolution(streams,'720p'),'Bluray'),0,{{inputs.filterLimit.top1QualRes}}), slice(quality(resolution(streams,'720p'),'WEB-DL'),0,{{inputs.filterLimit.top1QualRes}})), 0, {{inputs.filterLimit.top1QualRes}}*6)) > 0? slice(merge(slice(quality(resolution(streams,'2160p'),'Bluray REMUX'),0,{{inputs.filterLimit.top1QualRes}}),slice(quality(resolution(streams,'2160p'),'Bluray'),0,{{inputs.filterLimit.top1QualRes}}), slice(quality(resolution(streams,'2160p'),'WEB-DL'),0,{{inputs.filterLimit.top1QualRes}}),slice(quality(resolution(streams,'1080p'),'Bluray REMUX'),0,{{inputs.filterLimit.top1QualRes}}), slice(quality(resolution(streams,'1080p'),'Bluray'),0,{{inputs.filterLimit.top1QualRes}}),slice(quality(resolution(streams,'1080p'),'WEB-DL'),0,{{inputs.filterLimit.top1QualRes}}), slice(quality(resolution(streams,'720p'),'Bluray REMUX'),0,{{inputs.filterLimit.top1QualRes}}),slice(quality(resolution(streams,'720p'),'Bluray'),0,{{inputs.filterLimit.top1QualRes}}), slice(quality(resolution(streams,'720p'),'WEB-DL'),0,{{inputs.filterLimit.top1QualRes}})), 0, {{inputs.filterLimit.top1QualRes}}*6) : streams)",
          "enabled": true
        },
        {
          "__if": "inputs.filterLimit.top1Res != 0 or !inputs.filterLimit.top1Res",
          "expression": "/*Top {{inputs.filterLimit.top1Res}} Per Resolution*/ merge(library(streams), seadex(streams), count(slice(merge(slice(resolution(streams,'2160p'), 0, {{inputs.filterLimit.top1Res}}), slice(resolution(streams,'1080p'), 0, {{inputs.filterLimit.top1Res}}), slice(resolution(streams,'720p'), 0, {{inputs.filterLimit.top1Res}}), slice(resolution(streams,'576p','480p','Unknown'), 0, {{inputs.filterLimit.top1Res}} )), 0, {{inputs.filterLimit.top1Res}}*3)) > 0? slice(merge(slice(resolution(streams,'2160p'), 0, {{inputs.filterLimit.top1Res}}), slice(resolution(streams,'1080p'), 0, {{inputs.filterLimit.top1Res}}), slice(resolution(streams,'720p'), 0, {{inputs.filterLimit.top1Res}}), slice(resolution(streams,'576p','480p','Unknown'), 0, {{inputs.filterLimit.top1Res}} )), 0, {{inputs.filterLimit.top1Res}}*3) : streams)",
          "enabled": true
        },
        {
          "__if": "inputs.filterLimit.visualTag",
          "expression": "/*Only 5 x DV+HDR/HDR Only/SDR*/merge(library(streams), seadex(streams), count(slice(resolution(visualTag(visualTag(streams, 'DV'), 'HDR', 'HDR10','HDR10+'), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), slice(resolution(negate(visualTag(streams, 'DV'), visualTag(streams, 'HDR', 'HDR10','HDR10+')),  '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), slice(resolution(negate(merge(visualTag(streams, 'HDR', 'HDR10', 'HDR10+', 'DV')), visualTag(streams, 'SDR', 'HLG', '10bit', 'IMAX', 'Unknown')), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5)) >0? merge(slice(resolution(visualTag(visualTag(streams, 'DV'), 'HDR', 'HDR10','HDR10+'), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), slice(resolution(negate(visualTag(streams, 'DV'), visualTag(streams, 'HDR', 'HDR10','HDR10+')),  '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5), slice(resolution(negate(merge(visualTag(streams, 'HDR', 'HDR10', 'HDR10+', 'DV')), visualTag(streams, 'SDR', 'HLG', '10bit', 'IMAX', 'Unknown')), '2160p', '1080p', '720p', '480p', 'Unknown'), 0, 5)) : streams)",
          "enabled": true
        },
        {
          "__if": "inputs.filterLimit.global and inputs.filterLimit.global > 0",
          "expression": "/*Global Result Limit: {{inputs.filterLimit.global}} */ merge(library(streams), seadex(streams), slice(negate(merge(library(streams),seadex(streams)), streams), 0, {{inputs.filterLimit.global}}))",
          "enabled": true
        }
      ],
      "preferredStreamExpressions": [
        {
          "__if": "inputs.bitrate.bitrateCap != 150 and !inputs.bitrate.bitrateCapDynamic and inputs.bitrate.bitrateCapSoft",
          "expression": "/*{{inputs.bitrate.bitrateCap}} Mbps Bitrate Cap (Static Soft)*/ bitrate(streams, {{inputs.bitrate.bitrateCap}}*1000000)",
          "enabled": true
        },
        {
          "__if": "inputs.bitrate.bitrateCap != 150 and inputs.bitrate.bitrateCapDynamic and inputs.bitrate.bitrateCapSoft",
          "expression": "/*{{inputs.bitrate.bitrateCap}} Mbps Bitrate Cap (Dynamic Soft): 80% @ 4k, 50% @ 1080P, 30% @ 720P*/ merge(bitrate(resolution(streams, '2160p'), {{inputs.bitrate.bitrateCap}}*0.8*1000000), bitrate(resolution(streams, '1080p'), {{inputs.bitrate.bitrateCap}}*0.5*1000000), bitrate(resolution(streams, '720p'), {{inputs.bitrate.bitrateCap}}*0.3*1000000))",
          "enabled": true
        },
        {
          "__if": "inputs.usenet.usenetSort and !inputs.usenet.usenetUncachedSort",
          "expression": "/*Boost Cached Usenet*/ merge(cached(merge(library(streams),seadex(streams),type(streams,'debrid','usenet','stremio-usenet'))))",
          "enabled": true
        },
        {
          "__if": "inputs.usenet.usenetUncachedSort",
          "expression": "/*Boost All Usenet*/ merge(cached(merge(library(streams),seadex(streams),type(streams,'debrid'))), type(streams, 'usenet', 'stremio-usenet'))",
          "enabled": true
        },
        {
          "expression": "/*𝙸𝚏 𝚢𝚘𝚞 𝚞𝚜𝚎𝚍 𝙿𝚊𝚛𝚝𝚒𝚊𝚕 𝚃𝚎𝚖𝚙𝚕𝚊𝚝𝚎, 𝚊𝚍𝚍 𝚂𝚝𝚛𝚎𝚊𝚖 𝙴𝚡𝚙𝚛𝚎𝚜𝚜𝚒𝚘𝚗𝚜 𝚒𝚗 𝚂𝚘𝚛𝚝 𝙾𝚛𝚍𝚎𝚛 𝚊𝚏𝚝𝚎𝚛 𝚀𝚞𝚊𝚕𝚒𝚝𝚢 𝚝𝚘 𝚞𝚜𝚎 𝙿𝚂𝙴 𝚜𝚢𝚗𝚌𝚎𝚍 𝚞𝚛𝚕 𝚋𝚎𝚕𝚘𝚠.*/ []",
          "enabled": true
        },
        {
          "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-PSEs.json>",
          "enabled": true
        }
      ],
      "includedStreamExpressions": [
        {
          "__if": "inputs.LanguagePassthrough.language != none",
          "expression": "/*{{inputs.LanguagePassthrough.language}} Language Passthrough*/ passthrough(language(streams, '{{inputs.LanguagePassthrough.language}}'), 'language')",
          "enabled": true
        },
        {
          "__if": "inputs.LanguagePassthrough.subLanguage != none",
          "expression": "/*{{inputs.LanguagePassthrough.subLanguage}} Subtitle Language Passthrough*/ passthrough(subtitles(streams, '{{inputs.LanguagePassthrough.subLanguage}}'), 'language')",
          "enabled": true
        },
        {
          "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ISEs.json>",
          "enabled": true
        }
      ],
      "rankedStreamExpressions": {
        "__if": "!inputs.misc.ignoreRSE",
        "__value": [
          {
            "__if": "!inputs.languages includes German",
            "expression": "/*#𝚅𝚒𝚍𝚑𝚒𝚗'𝚜 𝚁𝚎𝚐𝚎𝚡𝚎𝚜 — 𝙴𝚗𝚐𝚕𝚒𝚜𝚑 𝚁𝚊𝚗𝚔𝚎𝚍 𝚂𝚝𝚛𝚎𝚊𝚖 𝙴𝚡𝚙𝚛𝚎𝚜𝚜𝚒𝚘𝚗𝚜 (𝚜𝚢𝚗𝚌𝚎𝚍). 𝚄𝚜𝚎𝚍 𝚝𝚘 𝚜𝚌𝚘𝚛𝚎 𝚊𝚗𝚍 𝚝𝚊𝚐 𝚜𝚝𝚛𝚎𝚊𝚖𝚜, 𝚟𝚒𝚜𝚒𝚋𝚕𝚎 𝚒𝚗 𝚏𝚘𝚛𝚖𝚊𝚝𝚝𝚎𝚛.*/ []",
            "score": 0,
            "enabled": true
          },
          {
            "__if": "inputs.languages includes German",
            "expression": "/*#𝚅𝚒𝚍𝚑𝚒𝚗'𝚜 𝚁𝚎𝚐𝚎𝚡𝚎𝚜 — 𝙶𝚎𝚛𝚖𝚊𝚗 𝚁𝚊𝚗𝚔𝚎𝚍 𝚂𝚝𝚛𝚎𝚊𝚖 𝙴𝚡𝚙𝚛𝚎𝚜𝚜𝚒𝚘𝚗𝚜 (𝚜𝚢𝚗𝚌𝚎𝚍). 𝚄𝚜𝚎𝚍 𝚝𝚘 𝚜𝚌𝚘𝚛𝚎 𝚊𝚗𝚍 𝚝𝚊𝚐 𝚜𝚝𝚛𝚎𝚊𝚖𝚜, 𝚟𝚒𝚜𝚒𝚋𝚕𝚎 𝚒𝚗 𝚏𝚘𝚛𝚖𝚊𝚝𝚝𝚎𝚛.*/ []",
            "score": 0,
            "enabled": true
          },
          {
            "expression": "/*𝚐𝚒𝚝𝚑𝚞𝚋.𝚌𝚘𝚖/Vidhin05/Releases-Regex 𝚏𝚘𝚛 𝚏𝚞𝚕𝚕 𝚐𝚞𝚒𝚍𝚎*/ []",
            "score": 0,
            "enabled": true
          },
          {
            "__if": "inputs.languages includes Portuguese (Brazil)",
            "expression": "/*#Sterzeck*/ /*PT-BR Group*/ releaseGroup(streams,'AlfaHD','BiOMA','BRHD','FileHD','FreedomHD','RiPER','PLuSHD','PlusHD','SiGLA','PD','FiDO','G4RiS','RK','MASTER','FOXX','GUEIRA','Cory','PirataDigital','RARBR','Shelby','TARS','Wyrm','Adamantium','Troidex','NEX','THR','MLH','WTV','VNLLS','ZMG','BAD','BIG','FF','ASY','AZX','C76','C0RAL','Extr3muss','DKS','GOT','100REAL','BDC','IZards','Emmid','Fantasma223','CBR','Xiquexique','Olympus','OscarNiemeyer','Tupac','Tijuco','Gris','ElM4g0','Fly','FranzOPL','LaPumia','Lukas','Lucano22','WitchHunter','Potatin','N3G4N','Shaka','Sacerdoti','UPD','Anonimo','Anonymous07','Byoutou','Estagiario','Madruga','LCD','LMB','LTDA','MDG','MiColeaoDublado','PIA','VARYG','ZNM','Yatogam1','CZA','JUS','3lton','AConduta','AmanteDoHarpia','ECK','FABR','FreddieGellar','INSS','SpaghettiMancer','TheCS','Titans','Siz3D','Netope','7Sprite7','ToonsHub')",
            "score": 10000,
            "enabled": true
          },
          {
            "__if": "!inputs.languages includes German",
            "expression": "<SYNCED: https://raw.githubusercontent.com/Vidhin05/Releases-Regex/main/English/expressions.json>",
            "score": 0,
            "enabled": true
          },
          {
            "__if": "inputs.languages includes German",
            "expression": "<SYNCED: https://raw.githubusercontent.com/Vidhin05/Releases-Regex/main/German/expressions.json>",
            "score": 0,
            "enabled": true
          }
        ]
      },
      "selOverrides": {
        "__if": "!inputs.misc.keepScore",
        "__value": [
          {
            "expression": "/*Bad 4k Anime*/ (isAnime and originalLanguage == 'Japanese' and count(quality(resolution(cached(streams), '2160p'), 'Bluray REMUX')) == 0 and count(seadex(resolution(streams, '2160p'))) == 0 and count(rseMatched(resolution(streams, '2160p'), 'BD T1', 'BD T2', 'BD T3', 'BD T4', 'BD T5', 'BD T6', 'BD T7', 'BD T8', 'Remux T1', 'Remux T2', 'Remux T3', 'Web T1', 'Web T2', 'Web T3', 'Web T4', 'Web T5', 'Web T6')) == 0 )? negate(merge(library(streams), seadex(streams)), resolution(streams, '2160p')) : []",
            "exprNames": [
              "Bad 4k Anime"
            ],
            "disabled": true
          },
          {
            "expression": "/*Upscaled 4k*/(queryType=='movie' or queryType =='series') and (count(quality(resolution(streams,'1080p'),'Bluray REMUX'))>=1) and count(quality(resolution(streams,'2160p'),'Bluray REMUX')) == 0 and count(rseMatched(resolution(streams, '2160p'), 'DE Bluray T1', 'DE Bluray T2', 'DE Bluray T3', 'UHD Bluray T1', 'HD Bluray T1', 'UHD Bluray T2', 'HD Bluray T2', 'UHD Bluray T3', 'HD Bluray T3', 'DE Web T1', 'DE Web T2', 'DE Web T3', 'DE Web Scene', 'Web T1', 'Web T2', 'Web T3', 'Web Scene')) == 0? negate(merge(seadex(streams),library(streams)),resolution(streams,'2160p')):[]",
            "exprNames": [
              "Upscaled 4k"
            ],
            "disabled": true
          },
          {
            "expression": "/*Bad 4k Bluray*/(queryType=='movie' or queryType =='series') and count(quality(resolution(streams,'2160p'),'Bluray REMUX')) == 0 and count(rseMatched(resolution(streams, '2160p'), 'DE Bluray T1', 'DE Bluray T2', 'DE Bluray T3', 'UHD Bluray T1', 'HD Bluray T1', 'UHD Bluray T2', 'HD Bluray T2', 'UHD Bluray T3', 'HD Bluray T3')) == 0? negate(merge(seadex(streams),library(streams)),resolution(quality(streams, 'Bluray'),'2160p')):[]",
            "exprNames": [
              "Bad 4k Bluray"
            ],
            "disabled": true
          },
          {
            "expression": "/*Bad 1080P Bluray*/(queryType=='movie') and count(quality(resolution(streams,'2160p'),'Bluray REMUX'))==0 and (count(quality(resolution(streams,'1080p'),'Bluray REMUX'))==0) and count(rseMatched(resolution(quality(streams, 'Bluray'), '1080p'), 'DE Bluray T1', 'DE Bluray T2', 'DE Bluray T3', 'UHD Bluray T1', 'HD Bluray T1', 'UHD Bluray T2', 'HD Bluray T2', 'UHD Bluray T3', 'HD Bluray T3')) == 0 ? negate(merge(seadex(streams),library(streams)),quality(resolution(streams,'1080p'),'Bluray')):[]",
            "exprNames": [
              "Bad 1080P Bluray"
            ],
            "disabled": true
          },
          {
            "expression": "/*Bad 1080P Bluray*/(queryType=='movie') and count(quality(resolution(streams,'2160p'),'Bluray REMUX'))==0 and (count(quality(resolution(streams,'1080p'),'Bluray REMUX'))==0) and count(rseMatched(resolution(quality(streams, 'Bluray'), '1080p'), 'DE Bluray T1', 'DE Bluray T2', 'DE Bluray T3', 'UHD Bluray T1', 'HD Bluray T1', 'UHD Bluray T2', 'HD Bluray T2', 'UHD Bluray T3', 'HD Bluray T3')) == 0 ? negate(merge(seadex(streams),library(streams)),quality(resolution(streams,'1080p'),'Bluray')):[]",
            "exprNames": [
              "Bad 1080P Bluray"
            ],
            "disabled": true
          },
          {
            "expression": "/*RD Copyright (per DMM)*/ service( keyword(streams, 'all', 'web-dl', 'webrip', 'bdrip', 'hdrip', 'dvdrip', 'bluray.x264', 'hdtv.x264', 'hdtv.xvid', 'web.x264', 'web.h264'), 'realdebrid')",
            "exprNames": [
              "RD Copyright (per DMM)"
            ],
            "disabled": true
          },
          {
            "expression": "/*Low SEL Score*/ count(streamExpressionScore(negate(merge(library(streams), seadex(streams)),merge(cached(streams),type(streams,'p2p','http'))),-50))<10?[]:streamExpressionScore(negate(merge(library(streams),seadex(streams)),streams),-1000000,-50)",
            "exprNames": [
              "Low SEL Score"
            ],
            "disabled": true
          },
          {
            "__if": "services.realdebrid",
            "expression": "/*x265*/ isAnime ? [] : negate(merge(visualTag(streams, 'HDR', 'HDR10', 'HDR10+'), visualTag(streams, 'DV')), encode(negate(resolution(streams, '2160p'), streams), 'HEVC'))",
            "exprNames": [
              "x265"
            ],
            "disabled": true
          },
          {
            "__if": "inputs.coreFilterMod.removeUnknownRes",
            "expression": "/*Unknown Resolution*/ count(resolution(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), '2160p', '1440p', '1080p','720p','576p','480p')) > 5 ? negate(merge(library(streams), seadex(streams)), resolution(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet', 'debrid'), 'Unknown')): []",
            "exprNames": [
              "Unknown Resolution"
            ],
            "disabled": false
          },
          {
            "__if": "inputs.coreFilterMod.removeUnknownQuality",
            "expression": "/*Unknown Quality*/ count(quality(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), 'Bluray REMUX','Bluray','WEB-DL','WEBRip','HDRip','HC HD-Rip','DVDRip','HDTV')) > 5 ? negate(merge(library(streams), seadex(streams)), quality(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet', 'debrid'), 'Unknown')): []",
            "exprNames": [
              "Unknown Quality"
            ],
            "disabled": false
          }
        ]
      },
      "enableSeadex": {
        "__switch": "inputs.includeAddon.noAnime",
        "cases": {
          "true": false,
          "false": true
        },
        "default": true
      },
      "dynamicAddonFetching": {
        "__if": "inputs.addonPreset == default",
        "__value": {
          "enabled": false,
          "condition": ""
        }
      },
      "groups": {
        "__if": "inputs.addonPreset == default",
        "__value": {
          "enabled": false
        }
      },
      "sortCriteria": {
        "global": [
          {
            "__if": "!inputs.usenet.usenetUncachedSort",
            "key": "cached",
            "direction": "desc"
          },
          {
            "__if": "inputs.usenet.usenetUncachedSort or !services",
            "__value": [
              {
                "__if": "inputs.usenet.usenetUncachedSort",
                "key": "streamExpressionMatched",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.library == high",
                "key": "library",
                "direction": "desc"
              },
              {
                "__if": "!services and inputs.sortingP2P.seeders == high",
                "key": "seeders",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.language == high or !services and inputs.sortingP2P.language == high",
                "key": "language",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.selScore == high",
                "key": "streamExpressionScore",
                "direction": "desc"
              },
              {
                "__if": "services and !inputs.includeAddon.noAnime",
                "key": "seadex",
                "direction": "desc"
              },
              {
                "key": "resolution",
                "direction": "desc"
              },
              {
                "key": "quality",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.library == default",
                "key": "library",
                "direction": "desc"
              },
              {
                "__if": "!services",
                "key": "streamExpressionMatched",
                "direction": "desc"
              },
              {
                "__if": "inputs.bitrate.bitrateCap != 150 and inputs.bitrate.bitrateBoostSort",
                "key": "bitrate",
                "direction": "asc"
              },
              {
                "__if": "services and inputs.sorting.selScore == default or !services and inputs.sortingP2P.selScore == default",
                "key": "streamExpressionScore",
                "direction": "desc"
              },
              {
                "__if": "!services and inputs.sortingP2P.seeders == default",
                "key": "seeders",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.language == default or !services and inputs.sortingP2P.language == default",
                "key": "language",
                "direction": "desc"
              },
              {
                "key": "visualTag",
                "direction": "desc"
              },
              {
                "key": "audioTag",
                "direction": "desc"
              },
              {
                "key": "encode",
                "direction": "desc"
              },
              {
                "key": "age",
                "direction": "asc"
              },
              {
                "__if": "inputs.bitrate.bitrateCap == 150",
                "key": "bitrate",
                "direction": "desc"
              },
              {
                "__if": "services or inputs.sorting.seeders == none",
                "key": "seeders",
                "direction": "desc"
              }
            ]
          }
        ],
        "series": [],
        "anime": [],
        "cached": [
          {
            "__if": "!inputs.usenet.usenetUncachedSort and services",
            "__value": [
              {
                "__if": "services and inputs.sorting.library == high",
                "key": "library",
                "direction": "desc"
              },
              {
                "__if": "!services and inputs.sortingP2P.seeders == high",
                "key": "seeders",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.language == high or !services and inputs.sortingP2P.language == high",
                "key": "language",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.subtitle == high or !services and inputs.sortingP2P.subtitle == high",
                "key": "subtitle",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.selScore == high or !services and inputs.sortingP2P.selScore == high",
                "key": "streamExpressionScore",
                "direction": "desc"
              },
              {
                "__if": "!inputs.includeAddon.noAnime",
                "key": "seadex",
                "direction": "desc"
              },
              {
                "key": "resolution",
                "direction": "desc"
              },
              {
                "key": "quality",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.library == default",
                "key": "library",
                "direction": "desc"
              },
              {
                "key": "streamExpressionMatched",
                "direction": "desc"
              },
              {
                "__if": "inputs.bitrate.bitrateCap != 150 and inputs.bitrate.bitrateBoostSort",
                "key": "bitrate",
                "direction": "asc"
              },
              {
                "__if": "services and inputs.sorting.selScore == default or !services and inputs.sortingP2P.selScore == default",
                "key": "streamExpressionScore",
                "direction": "desc"
              },
              {
                "__if": "!services and inputs.sortingP2P.seeders == default",
                "key": "seeders",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.language == default or !services and inputs.sortingP2P.language == default",
                "key": "language",
                "direction": "desc"
              },
              {
                "__if": "services and inputs.sorting.subtitle == default or !services and inputs.sortingP2P.subtitle == default",
                "key": "subtitle",
                "direction": "desc"
              },
              {
                "key": "visualTag",
                "direction": "desc"
              },
              {
                "key": "audioTag",
                "direction": "desc"
              },
              {
                "key": "encode",
                "direction": "desc"
              },
              {
                "key": "age",
                "direction": "asc"
              },
              {
                "__if": "inputs.bitrate.bitrateCap == 150",
                "key": "bitrate",
                "direction": "desc"
              },
              {
                "__if": "services or inputs.sorting.seeders == none",
                "key": "seeders",
                "direction": "desc"
              }
            ]
          }
        ],
        "uncached": {
          "__if": "services and !inputs.usenet.usenetUncachedSort",
          "__value": [
            {
              "__if": "inputs.sorting.library == high",
              "key": "library",
              "direction": "desc"
            },
            {
              "__if": "inputs.sorting.language == high",
              "key": "language",
              "direction": "desc"
            },
            {
              "__if": "inputs.sorting.subtitle == high",
              "key": "subtitle",
              "direction": "desc"
            },
            {
              "__if": "inputs.sorting.selScore == high",
              "key": "streamExpressionScore",
              "direction": "desc"
            },
            {
              "__if": "!inputs.includeAddon.noAnime",
              "key": "seadex",
              "direction": "desc"
            },
            {
              "key": "resolution",
              "direction": "desc"
            },
            {
              "key": "quality",
              "direction": "desc"
            },
            {
              "__if": "inputs.sorting.library == default",
              "key": "library",
              "direction": "desc"
            },
            {
              "key": "streamExpressionMatched",
              "direction": "desc"
            },
            {
              "__if": "inputs.bitrate.bitrateCap != 150 and inputs.bitrate.bitrateBoostSort",
              "key": "bitrate",
              "direction": "asc"
            },
            {
              "__if": "inputs.sorting.selScore == default",
              "key": "streamExpressionScore",
              "direction": "desc"
            },
            {
              "key": "seeders",
              "direction": "desc"
            },
            {
              "__if": "inputs.sorting.language == default",
              "key": "language",
              "direction": "desc"
            },
            {
              "__if": "inputs.sorting.subtitle == default",
              "key": "subtitle",
              "direction": "desc"
            },
            {
              "key": "visualTag",
              "direction": "desc"
            },
            {
              "key": "audioTag",
              "direction": "desc"
            },
            {
              "key": "encode",
              "direction": "desc"
            },
            {
              "key": "age",
              "direction": "asc"
            },
            {
              "__if": "inputs.bitrate.bitrateCap == 150",
              "key": "bitrate",
              "direction": "desc"
            }
          ]
        },
        "cachedMovies": []
      },
      "usePosterRedirectApi": true,
      "formatter": {
        "__switch": "inputs.formatterChoice",
        "cases": {
          "min": {
            "id": "custom",
            "definition": {
              "name": "{stream.resolution::exists[\"{stream.resolution::replace('2160p','   4K ')::replace('1440p','    2K ')::replace('p','P')}‍\"||\"‍     \"]}{stream.type::exists[\"‍{stream.type::replace('debrid','    ')::replace('p2p','⁽ᵖ²ᵖ⁾')::replace('live','⁽ˡᶦᵛᵉ⁾')::replace('http','⁽ʷᵉᵇ⁾')::replace('usenet','‍⁽ⁿᶻᵇ⁾‍')::replace('stremio-usenet','‏⁽ⁿᶻᵇ⁾')::replace('info','⁽ᶦⁿᶠᵒ⁾')::replace('statistic','⁽ˢᵗᵃᵗˢ⁾')::replace('external','⁽ᵉˣᵗ⁾')::replace('error','⁽ᵉʳʳᵒʳ⁾')::replace('youtube','⁽ʸᵗ⁾')}‍‍‍\"||\"\"]}{service.cached::istrue[\"⚡\"||\"\"]}{service.cached::isfalse[\"‍⏳‍​\"||\"\"]}{stream.quality::exists[\"‍‍\\n  〈{stream.quality::title::replace('Bluray Remux','Remux')::replace('Web-dl','Web‍-‍dl')::replace('Hc Hd-rip','HC HDRip')::replace('Hdrip','HDRip')}〉‍     \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}{stream.nSeScore::exists[\"‍\\n  {stream.nSeScore::star::replace('⯪','☆')}            \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}",
              "description": "{stream.title::exists::and::stream.library::isfalse[\"✎  {stream.title::title::truncate(15)}\"||\"\"]}{stream.title::exists::and::stream.library::istrue[\"☁︎  {stream.title::title::truncate(15)} \"||\"\"]}{stream.year::exists::and::stream.episodes::exists::isfalse::and::stream.seasons::exists::isfalse[\" ({stream.year})\"||\"\"]}{stream.seasonEpisode::exists[\"  {stream.seasonEpisode::join('·')::replace('E','ᴇ')::replace('S','s')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}\n{stream.visualTags::=IMAX[\"{tools.removeLine}\\n\"||\"{tools.removeLine}\\n\"]}{stream.encode::exists[\"▣  {stream.encode}  \"||\"\"]}{stream.visualTags::~DV::or::stream.visualTags::~HDR::or::stream.visualTags::~HDR10::or::stream.visualTags::~HDR10+::and::stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"✦  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse::and::stream.visualTags::~DV::isfalse::and::stream.visualTags::~HDR::isfalse::and::stream.visualTags::~HDR10::isfalse::and::stream.visualTags::~HDR10+::isfalse[\"✧  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"{stream.visualTags::sort::join(' · ')::replace('HDR · HDR','HDR')::replace(' · IMAX','')} \"||\"\"]}\n{stream.audioTags::exists[\"♬  {stream.audioTags::lsort::join(' · ')::replace('DD · DD','DD')::replace('DTS · DTS','DTS')}  \"||\"\"]}{stream.audioChannels::exists[\"♯  {stream.audioChannels::join(' · ')} \"||\"\"]}\n{stream.size::>0::and::stream.seasonPack::istrue[\"❖  \"||\"\"]}{stream.size::>0::and::stream.seasonPack::isfalse[\"◈  \"||\"\"]}{stream.size::>0[\"{stream.size::sbytes}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::isfalse::or::stream.type::=p2p::and::stream.seeders::>0[\" ⇄ {stream.seeders}❦ \"||\"\"]}\n{stream.uLanguages::exists[\"⛿  {stream.uSmallLanguageCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')::replace('ᴅᴜᴀʟ ᴀᴜᴅɪᴏ','ᴅᴜᴏ')::replace('ᴅᴜʙʙᴇᴅ','ᴅᴜʙ')}  \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists[\"· sᴜʙ \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists::isfalse[\"⛿  sᴜʙ \"||\"\"]}{stream.uSubtitles::exists[\"({stream.uSmallSubtitleCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')})  \"||\"\"]}{stream.seadex::or::stream.message::exists[\" »  \"||\"\"]}{stream.seadexBest::istrue[\" ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::istrue::and::stream.seadexBest::isfalse[\" ᴀʟᴛ ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.message::exists[\" {stream.message::replace('NZB Health: ✅','✅ ɴᴢʙ')::replace('NZB Health: 🧝','🧝 ɴᴢʙ')::replace('AvailNZB 💚','💚 ɴᴢʙ')::replace('NZB Health: ⚠️','ᴜɴᴠᴇʀɪғɪᴇᴅ ɴᴢʙ')::replace('NZB Health: 🚫','✘ɴᴢʙ')::smallcaps} \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}\n{service.cached::istrue::and::stream.message::~Download::istrue[\"\\n➥ DL Stream\"||\"\"]}"
            }
          },
          "default": {
            "id": "custom",
            "definition": {
              "name": "{stream.resolution::exists[\"{stream.resolution::replace('2160p','   4K   ')::replace('1440p','    2K   ')::replace('p','P')}‍\"||\"‍     \"]}{stream.type::exists[\"‍{stream.type::replace('debrid','    ')::replace('p2p','⁽ᵖ²ᵖ⁾')::replace('live','⁽ˡᶦᵛᵉ⁾')::replace('http','⁽ʷᵉᵇ⁾')::replace('usenet','‍⁽ⁿᶻᵇ⁾‍')::replace('stremio-usenet','‏⁽ⁿᶻᵇ⁾')::replace('info','⁽ᶦⁿᶠᵒ⁾')::replace('statistic','⁽ˢᵗᵃᵗˢ⁾')::replace('external','⁽ᵉˣᵗ⁾')::replace('error','⁽ᵉʳʳᵒʳ⁾')::replace('youtube','⁽ʸᵗ⁾')}‍‍‍\"||\"\"]}{service.cached::istrue[\"⚡\"||\"\"]}{service.cached::isfalse[\"‍⏳‍​\"||\"\"]}{stream.quality::exists[\"‍‍\\n  〈{stream.quality::title::replace('Bluray Remux','Remux')::replace('Web-dl','Web‍-‍dl')::replace('Hc Hd-rip','HC HDRip')::replace('Hdrip','HDRip')}〉‍     \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}{stream.nSeScore::exists[\"‍\\n  {stream.nSeScore::star::replace('⯪','☆')}            \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}",
              "description": "{stream.title::exists::and::stream.library::isfalse[\"✎  {stream.title::title::truncate(15)}\"||\"\"]}{stream.title::exists::and::stream.library::istrue[\"☁︎  {stream.title::title::truncate(15)} \"||\"\"]}{stream.year::exists::and::stream.episodes::exists::isfalse::and::stream.seasons::exists::isfalse[\" ({stream.year})\"||\"\"]}{stream.seasonEpisode::exists[\"  {stream.seasonEpisode::join('·')::replace('E','ᴇ')::replace('S','s')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}\n{stream.visualTags::=IMAX[\"{tools.removeLine}\\n\"||\"{tools.removeLine}\\n\"]}{stream.encode::exists[\"▣  {stream.encode}  \"||\"\"]}{stream.visualTags::~DV::or::stream.visualTags::~HDR::or::stream.visualTags::~HDR10::or::stream.visualTags::~HDR10+::and::stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"✦  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse::and::stream.visualTags::~DV::isfalse::and::stream.visualTags::~HDR::isfalse::and::stream.visualTags::~HDR10::isfalse::and::stream.visualTags::~HDR10+::isfalse[\"✧  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"{stream.visualTags::sort::join(' · ')::replace('HDR · HDR','HDR')::replace(' · IMAX','')} \"||\"\"]}\n{stream.audioTags::exists[\"♬  {stream.audioTags::lsort::join(' · ')::replace('DD · DD','DD')::replace('DTS · DTS','DTS')}  \"||\"\"]}{stream.audioChannels::exists[\"♯  {stream.audioChannels::join(' · ')} \"||\"\"]}\n{stream.size::>0::and::stream.seasonPack::istrue[\"❖  \"||\"\"]}{stream.size::>0::and::stream.seasonPack::isfalse[\"◈  \"||\"\"]}{stream.size::>0[\"{stream.size::sbytes}\"||\"\"]}{stream.folderSize::>0[\"/{stream.folderSize::sbytes}\"||\"\"]}{stream.bitrate::exists[\" · {stream.bitrate::sbitrate::replace('Mbps','ᴹᵇᵖˢ')::replace('Kbps','ᴷᵇᵖˢ')} \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::isfalse::or::stream.type::=p2p::and::stream.seeders::>0[\"⇄ {stream.seeders}❦ \"||\"\"]}{stream.age::exists[\"· {stream.age}\"||\"\"]}\n{stream.proxied::istrue[\"⛊  \"||\"⛉  \"]}{service.shortName::exists[\"[{service.shortName}] \"||\"\"]}{addon.name}{stream.private::istrue[\" ⚿ ᴘʀɪᴠᴀᴛᴇ \"||\"\"]}{stream.releaseGroup::exists[\" · {stream.releaseGroup::truncate(13)}\"||\"\"]}{stream.indexer::exists::and::stream.type::~usenet[\" · {stream.indexer::truncate(13)}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}\n{stream.uLanguages::exists[\"⛿  {stream.uSmallLanguageCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')::replace('ᴅᴜᴀʟ ᴀᴜᴅɪᴏ','ᴅᴜᴏ')::replace('ᴅᴜʙʙᴇᴅ','ᴅᴜʙ')}  \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists[\"· sᴜʙ \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists::isfalse[\"⛿  sᴜʙ \"||\"\"]}{stream.uSubtitles::exists[\"({stream.uSmallSubtitleCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')})  \"||\"\"]}{stream.seadex::or::stream.seScore::>0::or::stream.seScore::<0::or::stream.message::exists::or::stream.rseMatched::length::>0[\" »  \"||\"\"]}{stream.seadexBest::istrue[\" ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::istrue::and::stream.seadexBest::isfalse[\" ᴀʟᴛ ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::isfalse::and::stream.rseMatched::length::>0[\"{stream.rseMatched::remove('TrueHD ATMOS')::remove('DD+ ATMOS')::remove('ATMOS')::remove('TrueHD')::remove('DTS-HD MA')::remove('FLAC')::remove('DTS-HD HRA')::remove('DD+')::remove('DD')::remove('DTS-ES')::remove('DTS X')::remove('DTS')::remove('AAC')::remove('Opus')::remove('DV (Disk)')::remove('DV')::remove('HDR10+ Boost')::remove('HDR')::remove('UHD Streaming Boost')::remove('HD Streaming Boost')::remove('INTERNAL')::remove('No-RlsGroup')::remove('FHD')::remove('UHD')::remove('HD')::remove('4K')::remove('126811')::remove('SiC')::remove('FraMeSToR')::remove('TheFarm')::remove('hallowed')::remove('BHDStudio')::remove('FLUX')::remove('Season Pack')::join('  ')::replace('UHD ','')::replace('HD ','')::replace('Movies Anywhere','MA')::upper::replace('F','ғ')::replace('X','х')::replace('Q','ϙ')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')::smallcaps::replace('ꜱ','s')} \"||\"\"]}{stream.message::exists[\" {stream.message::replace('NZB Health: ✅','✅ ɴᴢʙ')::replace('NZB Health: 🧝','🧝 ɴᴢʙ')::replace('AvailNZB 💚','💚 ɴᴢʙ')::replace('NZB Health: ⚠️','ᴜɴᴠᴇʀɪғɪᴇᴅ ɴᴢʙ')::replace('NZB Health: 🚫','✘ɴᴢʙ')::smallcaps} \"||\"\"]}{stream.seScore::>0::or::stream.seScore::<0[\"{stream.seScore::string::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::istrue::and::stream.message::~Download::istrue[\"\\n➥ DL Stream\"||\"\"]}"
            }
          },
          "fullRse": {
            "id": "custom",
            "definition": {
              "name": "{stream.resolution::exists[\"{stream.resolution::replace('2160p','   4K ')::replace('1440p','    2K ')::replace('p','P')}‍\"||\"‍     \"]}{stream.type::exists[\"‍{stream.type::replace('debrid','    ')::replace('p2p','⁽ᵖ²ᵖ⁾')::replace('live','⁽ˡᶦᵛᵉ⁾')::replace('http','⁽ʷᵉᵇ⁾')::replace('usenet','‍⁽ⁿᶻᵇ⁾‍')::replace('stremio-usenet','‏⁽ⁿᶻᵇ⁾')::replace('info','⁽ᶦⁿᶠᵒ⁾')::replace('statistic','⁽ˢᵗᵃᵗˢ⁾')::replace('external','⁽ᵉˣᵗ⁾')::replace('error','⁽ᵉʳʳᵒʳ⁾')::replace('youtube','⁽ʸᵗ⁾')}‍‍‍\"||\"\"]}{service.cached::istrue[\"⚡\"||\"\"]}{service.cached::isfalse[\"‍⏳‍​\"||\"\"]}{stream.quality::exists[\"‍‍\\n  〈{stream.quality::title::replace('Bluray Remux','Remux')::replace('Web-dl','Web‍-‍dl')::replace('Hc Hd-rip','HC HDRip')::replace('Hdrip','HDRip')}〉‍     \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}{stream.nSeScore::exists[\"‍\\n  {stream.nSeScore::star::replace('⯪','☆')}            \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}",
              "description": "{stream.title::exists::and::stream.library::isfalse[\"✎  {stream.title::title::truncate(15)}\"||\"\"]}{stream.title::exists::and::stream.library::istrue[\"☁︎  {stream.title::title::truncate(15)} \"||\"\"]}{stream.year::exists::and::stream.episodes::exists::isfalse::and::stream.seasons::exists::isfalse[\" ({stream.year})\"||\"\"]}{stream.seasonEpisode::exists[\"  {stream.seasonEpisode::join('·')::replace('E','ᴇ')::replace('S','s')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}\n{stream.visualTags::=IMAX[\"{tools.removeLine}\\n\"||\"{tools.removeLine}\\n\"]}{stream.encode::exists[\"▣  {stream.encode}  \"||\"\"]}{stream.visualTags::~DV::or::stream.visualTags::~HDR::or::stream.visualTags::~HDR10::or::stream.visualTags::~HDR10+::and::stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"✦  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse::and::stream.visualTags::~DV::isfalse::and::stream.visualTags::~HDR::isfalse::and::stream.visualTags::~HDR10::isfalse::and::stream.visualTags::~HDR10+::isfalse[\"✧  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"{stream.visualTags::sort::join(' · ')::replace('HDR · HDR','HDR')::replace(' · IMAX','')} \"||\"\"]}\n{stream.audioTags::exists[\"♬  {stream.audioTags::lsort::join(' · ')::replace('DD · DD','DD')::replace('DTS · DTS','DTS')}  \"||\"\"]}{stream.audioChannels::exists[\"♯  {stream.audioChannels::join(' · ')} \"||\"\"]}\n{stream.size::>0::and::stream.seasonPack::istrue[\"❖  \"||\"\"]}{stream.size::>0::and::stream.seasonPack::isfalse[\"◈  \"||\"\"]}{stream.size::>0[\"{stream.size::sbytes}\"||\"\"]}{stream.folderSize::>0[\"/{stream.folderSize::sbytes}\"||\"\"]}{stream.bitrate::exists[\" · {stream.bitrate::sbitrate::replace('Mbps','ᴹᵇᵖˢ')::replace('Kbps','ᴷᵇᵖˢ')} \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::isfalse::or::stream.type::=p2p::and::stream.seeders::>0[\"⇄ {stream.seeders}❦ \"||\"\"]}{stream.age::exists[\"· {stream.age}\"||\"\"]}\n{stream.proxied::istrue[\"⛊  \"||\"⛉  \"]}{service.shortName::exists[\"[{service.shortName}] \"||\"\"]}{addon.name}{stream.private::istrue[\" ⚿ ᴘʀɪᴠᴀᴛᴇ \"||\"\"]}{stream.releaseGroup::exists[\" · {stream.releaseGroup::truncate(13)}\"||\"\"]}{stream.indexer::exists::and::stream.type::~usenet[\" · {stream.indexer::truncate(13)}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}\n{stream.uLanguages::exists[\"⛿  {stream.uSmallLanguageCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')::replace('ᴅᴜᴀʟ ᴀᴜᴅɪᴏ','ᴅᴜᴏ')::replace('ᴅᴜʙʙᴇᴅ','ᴅᴜʙ')}  \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists[\"· sᴜʙ \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists::isfalse[\"⛿  sᴜʙ \"||\"\"]}{stream.uSubtitles::exists[\"({stream.uSmallSubtitleCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')})  \"||\"\"]}{stream.seadex::or::stream.seScore::>0::or::stream.seScore::<0::or::stream.message::exists::or::stream.rseMatched::length::>0[\" »  \"||\"\"]}{stream.seadexBest::istrue[\" ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::istrue::and::stream.seadexBest::isfalse[\" ᴀʟᴛ ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::isfalse::and::stream.rseMatched::length::>0[\"{stream.rseMatched::join('  ')::replace('Movies Anywhere','MA')::upper::replace('F','ғ')::replace('X','х')::replace('Q','ϙ')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')::smallcaps::replace('ꜱ','s')} \"||\"\"]}{stream.message::exists[\" {stream.message::replace('NZB Health: ✅','✅ ɴᴢʙ')::replace('NZB Health: 🧝','🧝 ɴᴢʙ')::replace('AvailNZB 💚','💚 ɴᴢʙ')::replace('NZB Health: ⚠️','ᴜɴᴠᴇʀɪғɪᴇᴅ ɴᴢʙ')::replace('NZB Health: 🚫','✘ɴᴢʙ')::smallcaps} \"||\"\"]}{stream.seScore::>0::or::stream.seScore::<0[\"{stream.seScore::string::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::istrue::and::stream.message::~Download::istrue[\"\\n➥ DL Stream\"||\"\"]}"
            }
          },
          "appleTv": {
            "id": "custom",
            "definition": {
              "name": "{stream.resolution::exists[\"{stream.resolution::replace('2160p','4K')::replace('1440p','2K')::replace('p','P')}‍\"||\"‍\"]}{stream.type::exists[\"‍{stream.type::replace('debrid','')::replace('p2p','⁽ᵖ²ᵖ⁾')::replace('live','⁽ˡᶦᵛᵉ⁾')::replace('http','⁽ʷᵉᵇ⁾')::replace('usenet','‍⁽ⁿᶻᵇ⁾‍')::replace('stremio-usenet','‏⁽ⁿᶻᵇ⁾')::replace('info','⁽ᶦⁿᶠᵒ⁾')::replace('statistic','⁽ˢᵗᵃᵗˢ⁾')::replace('external','⁽ᵉˣᵗ⁾')::replace('error','⁽ᵉʳʳᵒʳ⁾')::replace('youtube','⁽ʸᵗ⁾')}‍‍‍\"||\"\"]} {service.cached::istrue[\"⚡\"||\"\"]}{service.cached::isfalse[\"‍⏳‍​\"||\"\"]}{stream.quality::exists[\"‍‍{stream.quality::title::replace('Bluray Remux','ʀᴇᴍᴜx')::replace('Bluray','ʙʟᴜʀᴀʏ')::replace('Web-dl','ᴡᴇʙ‍-‍ᴅʟ')::replace('Hc Hd-rip','ʜᴄ ʜᴅʀɪᴘ')::replace('Hdrip','ʜᴅʀɪᴘ')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]} {stream.nSeScore::exists[\"‍{stream.nSeScore::star::replace('⯪','☆')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}",
              "description": "{stream.title::exists::and::stream.library::isfalse[\"✎  {stream.title::title::truncate(15)}\"||\"\"]}{stream.title::exists::and::stream.library::istrue[\"☁︎  {stream.title::title::truncate(15)} \"||\"\"]}{stream.year::exists::and::stream.episodes::exists::isfalse::and::stream.seasons::exists::isfalse[\" ({stream.year})\"||\"\"]}{stream.seasonEpisode::exists[\"  {stream.seasonEpisode::join('·')::replace('E','ᴇ')::replace('S','s')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}\n{stream.visualTags::=IMAX[\"{tools.removeLine}\\n\"||\"{tools.removeLine}\\n\"]}{stream.encode::exists[\"▣  {stream.encode}  \"||\"\"]}{stream.visualTags::~DV::or::stream.visualTags::~HDR::or::stream.visualTags::~HDR10::or::stream.visualTags::~HDR10+::and::stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"✦  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse::and::stream.visualTags::~DV::isfalse::and::stream.visualTags::~HDR::isfalse::and::stream.visualTags::~HDR10::isfalse::and::stream.visualTags::~HDR10+::isfalse[\"✧  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"{stream.visualTags::sort::join(' · ')::replace('HDR · HDR','HDR')::replace(' · IMAX','')} \"||\"\"]} {stream.audioTags::exists[\"♬  {stream.audioTags::lsort::join(' · ')::replace('DD · DD','DD')::replace('DTS · DTS','DTS')}  \"||\"\"]}{stream.audioChannels::exists[\"♯  {stream.audioChannels::join(' · ')} \"||\"\"]}\n{stream.size::>0::and::stream.seasonPack::istrue[\"❖  \"||\"\"]}{stream.size::>0::and::stream.seasonPack::isfalse[\"◈  \"||\"\"]}{stream.size::>0[\"{stream.size::sbytes}\"||\"\"]}{stream.folderSize::>0[\"/{stream.folderSize::sbytes}\"||\"\"]}{stream.bitrate::exists[\" · {stream.bitrate::sbitrate::replace('Mbps','ᴹᵇᵖˢ')::replace('Kbps','ᴷᵇᵖˢ')} \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::isfalse::or::stream.type::=p2p::and::stream.seeders::>0[\"⇄ {stream.seeders}❦ \"||\"\"]}{stream.age::exists[\"· {stream.age}\"||\"\"]}  {stream.proxied::istrue[\"⛊  \"||\"⛉  \"]}{service.shortName::exists[\"[{service.shortName}] \"||\"\"]}{addon.name}{stream.private::istrue[\" ⚿ ᴘʀɪᴠᴀᴛᴇ \"||\"\"]}{stream.releaseGroup::exists[\" · {stream.releaseGroup::truncate(13)}\"||\"\"]}{stream.indexer::exists::and::stream.type::~usenet[\" · {stream.indexer::truncate(13)}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}\n{stream.uLanguages::exists[\"⛿  {stream.uSmallLanguageCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')::replace('ᴅᴜᴀʟ ᴀᴜᴅɪᴏ','ᴅᴜᴏ')::replace('ᴅᴜʙʙᴇᴅ','ᴅᴜʙ')}  \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists[\"· sᴜʙ \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists::isfalse[\"⛿  sᴜʙ \"||\"\"]}{stream.uSubtitles::exists[\"({stream.uSmallSubtitleCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')})  \"||\"\"]}{stream.seadex::or::stream.seScore::>0::or::stream.seScore::<0::or::stream.message::exists::or::stream.rseMatched::length::>0[\" »  \"||\"\"]}{stream.seadexBest::istrue[\" ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::istrue::and::stream.seadexBest::isfalse[\" ᴀʟᴛ ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::isfalse::and::stream.rseMatched::length::>0[\"{stream.rseMatched::remove('TrueHD ATMOS')::remove('DD+ ATMOS')::remove('ATMOS')::remove('TrueHD')::remove('DTS-HD MA')::remove('FLAC')::remove('DTS-HD HRA')::remove('DD+')::remove('DD')::remove('DTS-ES')::remove('DTS X')::remove('DTS')::remove('AAC')::remove('Opus')::remove('DV (Disk)')::remove('DV')::remove('HDR10+ Boost')::remove('HDR')::remove('UHD Streaming Boost')::remove('HD Streaming Boost')::remove('INTERNAL')::remove('No-RlsGroup')::remove('FHD')::remove('UHD')::remove('HD')::remove('4K')::remove('126811')::remove('SiC')::remove('FraMeSToR')::remove('TheFarm')::remove('hallowed')::remove('BHDStudio')::remove('FLUX')::remove('Season Pack')::join('  ')::replace('UHD ','')::replace('HD ','')::replace('Movies Anywhere','MA')::upper::replace('F','ғ')::replace('X','х')::replace('Q','ϙ')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')::smallcaps::replace('ꜱ','s')} \"||\"\"]}{stream.message::exists[\" {stream.message::replace('NZB Health: ✅','✅ ɴᴢʙ')::replace('NZB Health: 🧝','🧝 ɴᴢʙ')::replace('AvailNZB 💚','💚 ɴᴢʙ')::replace('NZB Health: ⚠️','ᴜɴᴠᴇʀɪғɪᴇᴅ ɴᴢʙ')::replace('NZB Health: 🚫','✘ɴᴢʙ')::smallcaps} \"||\"\"]}{stream.seScore::>0::or::stream.seScore::<0[\"{stream.seScore::string::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::istrue::and::stream.message::~Download::istrue[\"\\n➥ DL Stream\"||\"\"]}"
            }
          },
          "retain": {
            "__remove": true
          }
        },
        "default": {
          "id": "tamtaro"
        }
      },
      "resultLimits": {},
      "size": {
        "global": {
          "movies": [
            0,
            100000000000
          ],
          "series": [
            0,
            100000000000
          ]
        },
        "resolution": {
          "2160p": {
            "movies": [
              0,
              100000000000
            ]
          }
        }
      },
      "bitrate": {
        "useMetadataRuntime": true,
        "global": {
          "movies": [
            0,
            250000000
          ],
          "series": [
            0,
            250000000
          ]
        }
      },
      "hideErrors": {
        "__switch": "inputs.misc.showStats",
        "cases": {
          "true": false,
          "false": true
        },
        "default": true
      },
      "hideErrorsForResources": [
        "addon_catalog",
        "catalog",
        "subtitles"
      ],
      "statistics": {
        "__switch": "inputs.misc.showStats",
        "cases": {
          "true": {
            "enabled": true,
            "position": "bottom",
            "statsToShow": [
              "addon",
              "filter",
              "timing"
            ],
            "showFilterStatsOnNoStreams": false
          },
          "false": {
            "enabled": false,
            "position": "bottom",
            "statsToShow": [
              "addon",
              "filter",
              "timing"
            ],
            "showFilterStatsOnNoStreams": false
          }
        },
        "default": {
          "enabled": false
        }
      },
      "tmdbApiKey": "<template_placeholder>",
      "tvdbApiKey": "<template_placeholder>",
      "yearMatching": {
        "enabled": true,
        "tolerance": 1,
        "strict": true,
        "requestTypes": [
          "movie",
          "series",
          "anime"
        ],
        "addons": []
      },
      "titleMatching": {
        "mode": "exact",
        "similarityThreshold": 1,
        "enabled": true,
        "requestTypes": [
          "movie",
          "series",
          "anime"
        ],
        "addons": []
      },
      "seasonEpisodeMatching": {
        "enabled": true,
        "strict": true,
        "requestTypes": [
          "movie",
          "series",
          "anime"
        ],
        "addons": []
      },
      "deduplicator": {
        "enabled": true,
        "excludeAddons": [],
        "multiGroupBehaviour": "aggressive",
        "keys": [
          "filename",
          "infoHash",
          "smartDetect"
        ],
        "cached": "single_result",
        "uncached": "single_result",
        "p2p": "single_result",
        "smartDetectAttributes": [
          "size",
          "resolution",
          "quality",
          "visualTags",
          "audioTags",
          "audioChannels",
          "languages",
          "encode",
          "edition",
          "network",
          "remastered",
          "bitrate",
          "releaseGroup"
        ],
        "smartDetectRounding": 10,
        "libraryBehaviour": "prefer"
      },
      "autoPlay": {
        "attributes": [
          "resolution",
          "quality",
          "releaseGroup"
        ]
      },
      "areYouStillThere": {
        "enabled": false
      },
      "precacheNextEpisode": false,
      "precacheSelector": "count(cached(streams)) == 0 ? uncached(streams) : []",
      "presets": {
        "__if": "inputs.addonPreset == default",
        "__value": {
          "__switch": "services",
          "cases": {
            "": [
              {
                "type": "meteor",
                "instanceId": "064",
                "enabled": true,
                "options": {
                  "name": "Meteor",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream"
                  ],
                  "includeP2P": true,
                  "removeTrash": false,
                  "useMultipleInstances": false,
                  "mediaTypes": []
                },
                "category": "P2P"
              },
              {
                "type": "comet",
                "instanceId": "b0f",
                "enabled": true,
                "options": {
                  "name": "Comet",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream"
                  ],
                  "includeP2P": true,
                  "removeTrash": false,
                  "mediaTypes": [],
                  "url": ""
                },
                "category": "P2P"
              },
              {
                "type": "stremthruTorz",
                "instanceId": "bb9",
                "enabled": true,
                "options": {
                  "name": "STorz",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream"
                  ],
                  "mediaTypes": [],
                  "includeP2P": true,
                  "useMultipleInstances": false,
                  "url": ""
                },
                "category": "P2P"
              },
              {
                "type": "mediafusion",
                "instanceId": "276",
                "enabled": false,
                "options": {
                  "name": "MediaFusion",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream",
                    "meta"
                  ],
                  "useCachedResultsOnly": true,
                  "enableWatchlistCatalogs": false,
                  "downloadViaBrowser": false,
                  "contributorStreams": false,
                  "certificationLevelsFilter": [],
                  "nudityFilter": [],
                  "mediaTypes": [],
                  "url": ""
                },
                "category": "P2P"
              },
              {
                "type": "torrents-db",
                "instanceId": "a15",
                "enabled": true,
                "options": {
                  "name": "TorrentsDB",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream"
                  ],
                  "mediaTypes": [],
                  "providers": [
                    "yts",
                    "1337x",
                    "torrentcsv",
                    "1lou",
                    "nyaa",
                    "sktorrent",
                    "1tamilblasters",
                    "limetorrent",
                    "1tamilmv",
                    "rargb",
                    "knaben",
                    "thepiratebay",
                    "kickasstorrents",
                    "animetosho",
                    "extremlymtorrents",
                    "yggtorrent",
                    "tokyotosho",
                    "rutor",
                    "rutracker",
                    "torrent9",
                    "ilcorsaronero",
                    "manual"
                  ],
                  "includeP2P": true,
                  "useMultipleInstances": false
                },
                "category": "P2P"
              },
              {
                "type": "peerflix",
                "instanceId": "8b6",
                "enabled": true,
                "options": {
                  "name": "Peerflix",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream"
                  ],
                  "mediaTypes": [],
                  "useMultipleInstances": false,
                  "showTorrentLinks": true
                },
                "category": "P2P"
              },
              {
                "type": "sootio",
                "instanceId": "9d3",
                "enabled": true,
                "options": {
                  "name": "Sootio",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream"
                  ],
                  "httpProviders": [
                    "http4khdhub",
                    "httpHDHub4u",
                    "httpUHDMovies",
                    "httpMoviesDrive",
                    "httpMKVCinemas",
                    "httpMkvDrama",
                    "httpMalluMv",
                    "httpCineDoze",
                    "httpNetflixMirror",
                    "httpVixSrc"
                  ],
                  "mediaTypes": [],
                  "useMultipleInstances": false,
                  "url": "https://sooti.info"
                },
                "category": "HTTP"
              },
              {
                "type": "torrentio",
                "instanceId": "4ef",
                "enabled": true,
                "options": {
                  "name": "Torrentio",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream"
                  ],
                  "providers": [],
                  "useMultipleInstances": false
                },
                "category": "P2P"
              },
              {
                "type": "webstreamr",
                "instanceId": "645",
                "enabled": true,
                "options": {
                  "name": "WebStreamr",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream"
                  ],
                  "mediaTypes": [],
                  "providers": [
                    "multi",
                    "en",
                    "de",
                    "es",
                    "fr",
                    "hi",
                    "it",
                    "mx"
                  ],
                  "url": "https://87d6a6ef6b58-webstreamrmbg.baby-beamup.club",
                  "includeExternalUrls": false,
                  "showErrors": false
                },
                "category": "HTTP"
              },
              {
                "type": "hdhub",
                "instanceId": "29a",
                "enabled": true,
                "options": {
                  "name": "HdHub",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream"
                  ],
                  "mediaTypes": [],
                  "tb_only": false
                },
                "category": "HTTP"
              },
              {
                "__if": "inputs.includeAddon.kdramaAddons",
                "type": "yastream",
                "instanceId": "28f",
                "enabled": true,
                "options": {
                  "name": "yastream",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "stream",
                    "subtitles",
                    "meta",
                    "catalog"
                  ],
                  "kisskhCatalogs": [
                    "kisskh.series.Korean",
                    "kisskh.movie.Korean"
                  ],
                  "onetouchtvCatalogs": [],
                  "kisskhStream": true,
                  "onetouchtvStream": true,
                  "idramaStream": false,
                  "kkphimStream": false,
                  "ophimStream": false,
                  "nsfw": false,
                  "info": false,
                  "poster": "rpdb",
                  "url": ""
                },
                "category": "HTTP"
              },
              {
                "__if": "inputs.includeAddon.subtitleLanguages != disabled",
                "type": "opensubtitles-v3-plus",
                "instanceId": "262",
                "enabled": true,
                "options": {
                  "name": "OpenSubtitles V3+",
                  "timeout": "{{inputs.includeAddon.timeout}}",
                  "resources": [
                    "subtitles"
                  ],
                  "language": "{{inputs.includeAddon.subtitleLanguages}}",
                  "sources": "all",
                  "includeAiTranslated": false,
                  "movieHashPlusAutoAdjustment": false
                },
                "category": "Subs"
              }
            ]
          },
          "default": [
            {
              "__if": "!inputs.includeAddon.noAnime",
              "type": "seadex",
              "instanceId": "326",
              "enabled": true,
              "options": {
                "name": "SeaDex",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "mediaTypes": [
                  "anime"
                ]
              },
              "category": "Debrid"
            },
            {
              "type": "library",
              "instanceId": "ae7",
              "enabled": true,
              "options": {
                "name": "Library",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream",
                  "catalog",
                  "meta"
                ],
                "mediaTypes": [],
                "showRefreshActions": [
                  "catalog"
                ],
                "skipProcessing": false,
                "hideStreams": false,
                "useMultipleInstances": false
              },
              "category": "Debrid"
            },
            {
              "__if": "!inputs.includeAddon.noAnime",
              "type": "neko-bt",
              "instanceId": "072",
              "enabled": true,
              "options": {
                "name": "nekoBT",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "mediaTypes": [
                  "anime"
                ],
                "useMultipleInstances": false
              },
              "category": "Debrid"
            },
            {
              "type": "torznab",
              "instanceId": "a08",
              "enabled": true,
              "options": {
                "name": "STorz",
                "torznabUrl": "https://stremthru.13377001.xyz/v0/torznab",
                "apiPath": "/api",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "mediaTypes": [],
                "searchMode": "both",
                "paginate": false,
                "useMultipleInstances": false
              },
              "category": "Debrid"
            },
            {
              "type": "meteor",
              "instanceId": "ddd",
              "enabled": true,
              "options": {
                "name": "Meteor",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream"
                ],
                "includeP2P": false,
                "removeTrash": false,
                "useMultipleInstances": false,
                "mediaTypes": [],
                "yourMedia": {
                  "sources": [
                    "torrent",
                    "webdl",
                    "usenet"
                  ],
                  "showStreams": true,
                  "enabled": true
                },
                "usenet": {
                  "enabled": true,
                  "customSearchEngines": true
                }
              },
              "category": "Debrid"
            },
            {
              "type": "knaben",
              "instanceId": "dc9",
              "enabled": true,
              "options": {
                "name": "Knaben",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "mediaTypes": [],
                "useMultipleInstances": false
              },
              "category": "Debrid"
            },
            {
              "type": "torrentio",
              "instanceId": "4ef",
              "enabled": true,
              "options": {
                "name": "Torrentio",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream"
                ],
                "providers": [],
                "useMultipleInstances": false
              },
              "category": "Debrid"
            },
            {
              "__if": "inputs.includeAddon.debridio",
              "type": "debridio",
              "instanceId": "911",
              "enabled": true,
              "options": {
                "name": "Debridio",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "debridioApiKey": "<template_placeholder>"
              },
              "category": "Debrid"
            },
            {
              "type": "comet",
              "instanceId": "b0f",
              "enabled": true,
              "options": {
                "name": "Comet",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream"
                ],
                "includeP2P": false,
                "removeTrash": false,
                "mediaTypes": [],
                "url": ""
              },
              "category": "Debrid"
            },
            {
              "type": "mediafusion",
              "instanceId": "276",
              "enabled": false,
              "options": {
                "name": "MediaFusion",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream"
                ],
                "useCachedResultsOnly": true,
                "enableWatchlistCatalogs": false,
                "downloadViaBrowser": false,
                "contributorStreams": false,
                "certificationLevelsFilter": [],
                "nudityFilter": [],
                "mediaTypes": [],
                "url": ""
              },
              "category": "Debrid"
            },
            {
              "type": "sootio",
              "instanceId": "30b",
              "enabled": true,
              "options": {
                "name": "Sootio",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream"
                ],
                "httpProviders": [
                  {
                    "__if": "inputs.includeAddon.httpAddons",
                    "__value": [
                      "http4khdhub",
                      "httpHDHub4u",
                      "httpUHDMovies",
                      "httpMoviesDrive",
                      "httpMKVCinemas",
                      "httpMkvDrama",
                      "httpMalluMv",
                      "httpCineDoze",
                      "httpNetflixMirror",
                      "httpVixSrc"
                    ]
                  }
                ],
                "mediaTypes": [],
                "useMultipleInstances": false
              },
              "category": {
                "__switch": "inputs.includeAddon.httpAddons",
                "cases": {
                  "true": "Mix",
                  "false": "Debrid"
                },
                "default": "Debrid"
              }
            },
            {
              "__if": "inputs.torboxTier == pro and services.torbox",
              "type": "newznab",
              "instanceId": "8f3",
              "enabled": true,
              "options": {
                "name": "Searchⁿᶻᵇ",
                "newznabUrl": "https://search-api.torbox.app/newznab",
                "apiPath": "/api",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "mediaTypes": [],
                "searchMode": "both",
                "paginate": false,
                "checkOwned": true,
                "useMultipleInstances": false,
                "services": [
                  "torbox"
                ],
                "apiKey": "{{services.torbox.apiKey}}"
              },
              "category": "Usenet"
            },
            {
              "__if": "inputs.includeAddon.debridio and inputs.includeAddon.httpAddons",
              "type": "debridio-watchtower",
              "instanceId": "79c",
              "enabled": true,
              "options": {
                "name": "Watchtower",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream"
                ],
                "url": "",
                "debridioApiKey": "<template_placeholder>",
                "mediaTypes": []
              },
              "category": "HTTP"
            },
            {
              "__if": "inputs.includeAddon.httpAddons",
              "type": "webstreamr",
              "instanceId": "645",
              "enabled": true,
              "options": {
                "name": "WebStreamr",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream"
                ],
                "mediaTypes": [],
                "providers": [
                  "multi",
                  "en",
                  "de",
                  "es",
                  "fr",
                  "hi",
                  "it",
                  "mx"
                ],
                "url": "https://87d6a6ef6b58-webstreamrmbg.baby-beamup.club",
                "includeExternalUrls": false,
                "showErrors": false
              },
              "category": "HTTP"
            },
            {
              "__if": "inputs.includeAddon.httpAddons",
              "type": "hdhub",
              "instanceId": "29a",
              "enabled": true,
              "options": {
                "name": "HdHub",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream"
                ],
                "mediaTypes": [],
                "tb_only": false
              },
              "category": "HTTP"
            },
            {
              "__if": "inputs.includeAddon.kdramaAddons",
              "type": "yastream",
              "instanceId": "28f",
              "enabled": true,
              "options": {
                "name": "yastream",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "stream",
                  "subtitles",
                  "meta",
                  "catalog"
                ],
                "kisskhCatalogs": [
                  "kisskh.series.Korean",
                  "kisskh.movie.Korean"
                ],
                "onetouchtvCatalogs": [],
                "kisskhStream": true,
                "onetouchtvStream": true,
                "idramaStream": false,
                "kkphimStream": false,
                "ophimStream": false,
                "nsfw": false,
                "info": false,
                "poster": "rpdb",
                "url": ""
              },
              "category": "HTTP"
            },
            {
              "__if": "inputs.includeAddon.subtitleLanguages != disabled",
              "type": "opensubtitles-v3-plus",
              "instanceId": "262",
              "enabled": true,
              "options": {
                "name": "OpenSubtitles V3+",
                "timeout": "{{inputs.includeAddon.timeout}}",
                "resources": [
                  "subtitles"
                ],
                "language": "{{inputs.includeAddon.subtitleLanguages}}",
                "sources": "all",
                "includeAiTranslated": false,
                "movieHashPlusAutoAdjustment": false
              },
              "category": "Subs"
            }
          ]
        }
      },
      "addonCategoryColors": {
        "__if": "inputs.addonPreset == default",
        "__value": {
          "Mix": "indigo",
          "Debrid": "emerald",
          "Usenet": "lime",
          "HTTP": "cyan",
          "P2P": "orange",
          "Subs": "purple"
        }
      },
      "catalogModifications": {
        "__if": "inputs.addonPreset == default",
        "__value": [
          {
            "__if": "inputs.includeAddon.kdramaAddons",
            "id": "28fe3b0.kisskh.series.Korean",
            "type": "series",
            "name": "[yastream] kisskh Korean",
            "shuffle": true,
            "enabled": true,
            "usePosterService": true,
            "overrideType": "series",
            "hideable": true,
            "searchable": false,
            "addonName": "yastream"
          },
          {
            "__if": "inputs.includeAddon.kdramaAddons",
            "id": "28fe3b0.kisskh.movie.Korean",
            "type": "movie",
            "name": "[yastream] kisskh Korean",
            "shuffle": true,
            "enabled": true,
            "usePosterService": true,
            "hideable": true,
            "searchable": false,
            "addonName": "yastream"
          },
          {
            "__if": "inputs.includeAddon.kdramaAddons",
            "id": "28fe3b0.kisskh.series.Search",
            "type": "series",
            "name": "[yastream] kisskh Search",
            "shuffle": false,
            "enabled": true,
            "usePosterService": true,
            "hideable": false,
            "searchable": false,
            "addonName": "yastream"
          },
          {
            "__if": "inputs.includeAddon.kdramaAddons",
            "id": "28fe3b0.kisskh.movie.Search",
            "type": "movie",
            "name": "[yastream] kisskh Search",
            "shuffle": false,
            "enabled": true,
            "usePosterService": true,
            "hideable": false,
            "searchable": false,
            "addonName": "yastream"
          },
          {
            "__if": "services.torbox",
            "id": "ae74bd7.aiostreams::library.torbox",
            "name": "TorBox",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.realdebrid",
            "id": "ae74bd7.aiostreams::library.realdebrid",
            "name": "Real-Debrid",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.alldebrid",
            "id": "ae74bd7.aiostreams::library.alldebrid",
            "name": "AllDebrid",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.premiumize",
            "id": "ae74bd7.aiostreams::library.premiumize",
            "name": "Premiumize",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.debridlink",
            "id": "ae74bd7.aiostreams::library.debridlink",
            "name": "Debrid-Link",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.offcloud",
            "id": "ae74bd7.aiostreams::library.offcloud",
            "name": "Offcloud",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.easydebrid",
            "id": "ae74bd7.aiostreams::library.easydebrid",
            "name": "EasyDebrid",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.debrider",
            "id": "ae74bd7.aiostreams::library.debrider",
            "name": "Debrider",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.pikpak",
            "id": "ae74bd7.aiostreams::library.pikpak",
            "name": "PikPak",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.nzbdav",
            "id": "ae74bd7.aiostreams::library.nzbdav",
            "name": "NzbDAV",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.stremthruNewz",
            "id": "ae74bd7.aiostreams::library.stremthru_newz",
            "name": "StremThru Newz",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          },
          {
            "__if": "services.altmount",
            "id": "ae74bd7.aiostreams::library.altmount",
            "name": "AltMount",
            "type": "library",
            "enabled": true,
            "shuffle": false,
            "usePosterService": true,
            "hideable": true,
            "searchable": true,
            "addonName": "Library",
            "onlyOnDiscover": true
          }
        ]
      },
      "mergedCatalogs": {
        "__if": "inputs.addonPreset == default",
        "__value": []
      },
      "externalDownloads": false,
      "cacheAndPlay": {
        "enabled": true,
        "streamTypes": [
          "usenet"
        ]
      },
      "autoRemoveDownloads": false,
      "checkOwned": true,
      "serviceWrap": {
        "enabled": false,
        "reconfigureService": false
      },
      "nzbFailover": {
        "enabled": true,
        "position": "last"
      }
    }
  },
  {
    "metadata": {
      "id": "tamtaro.partial",
      "name": "Tamtaro Partial SEL Setup",
      "description": "A focused template for importing partial aspects of Tamtaro SEL Setup, without overriding your existing configurations. Use this 'Partial' template if you want to keep your current setup but upgrade your filtering and sorting logic. \n* **Core Filtering Engine**: Choose between **Standard** (keeps top 3 streams per Quality/Resolution, approx. 20 total) or **Extended** (keeps top 6, approx. 40 total) to eliminate clutter while maintaining quality coverage.\n* **Synced URL Integration**: Automatically pulls the latest synced URLs for Excluded, Included, and Preferred Stream Expressions from [GitHub](https://github.com/Tam-Taro/SEL-Filtering-and-Sorting).\n* To use Preferred Stream Expressions, ensure 'Stream Expressions' is added to your Sort Order.\n* **Custom Formatter Only**: Includes the custom Tamtaro formatter with options for a clean look or a full debug view (RSE Matched).",
      "source": "external",
      "author": "Tamtaro",
      "version": "2.6.1",
      "category": "AIO",
      "serviceRequired": false,
      "services": [],
      "changelogUrl": "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/CHANGELOG.md",
      "inputs": [
        {
          "id": "header.intro1",
          "name": "",
          "description": "Welcome to Partial SEL Setup v2.6.1",
          "type": "alert",
          "intent": "success"
        },
        {
          "id": "header.intro2",
          "name": "",
          "description": "Only selected options will be imported into AIOStreams. Everything else is untouched.",
          "type": "alert",
          "intent": "info"
        },
        {
          "id": "header.formatterinfo",
          "name": "",
          "description": "This formatter displays special tags from ranked stream expressions (RSE) matched. Designed to work with [Vidhin's Regexes](https://github.com/Vidhin05/Releases-Regex), which you'll need to import separately (or via my Complete SEL Setup template).",
          "type": "alert",
          "intent": "info-basic"
        },
        {
          "id": "formatterChoice",
          "name": "Formatter Only",
          "description": "This will import only the formatter used in Complete SEL Setup. **Tamtaro (Full RSE Matched)** keeps all matched Vidhin regex tags in the last line, useful for debugging scores. **Tamtaro (default)** strips audio/video tags from the rseMatched line for a cleaner look. **Tamtaro (Minimalist)** provides a further stripped-down view. **AppleTV Stremio** (dividedby & stepthomas) modified version to fit the 4-line format on tvOS. **None** retains your existing formatter.",
          "type": "select",
          "required": false,
          "default": "retain",
          "options": [
            {
              "value": "retain",
              "label": "None (Use Your Current)"
            },
            {
              "value": "min",
              "label": "Tamtaro (Minimalist)"
            },
            {
              "value": "default",
              "label": "Tamtaro (default)"
            },
            {
              "value": "fullRse",
              "label": "Tamtaro (Full RSE Matched)"
            },
            {
              "value": "appleTv",
              "label": "AppleTV Stremio"
            }
          ]
        },
        {
          "id": "header.selinfo",
          "name": "",
          "description": "Standard/Extended SEL Only automatically pulls the latest synced URLs for Excluded, Included, and Preferred Stream Expressions from [GitHub](https://github.com/Tam-Taro/SEL-Filtering-and-Sorting) so you'll receive latest SEL hotfixes automatically. Set & forget. To use Preferred Stream Expressions, ensure 'Stream Expressions' is added to your Sort Order.",
          "type": "alert",
          "intent": "info-basic"
        },
        {
          "id": "coreFilter",
          "name": "Core Filtering Engine",
          "description": "The core filtering engine used in Complete SEL Setup is the Standard SEL, which dynamically keeps top 3 per Quality/Resolution, resulting in about 20 total streams. Choose the Extended SEL option to keep 2x more (top 6 per Quality/Resolution).",
          "type": "select",
          "required": false,
          "default": "none",
          "options": [
            {
              "value": "none",
              "label": "None"
            },
            {
              "value": "standard",
              "label": "Standard SEL Only"
            },
            {
              "value": "extended",
              "label": "Extended SEL Only"
            }
          ]
        },
        {
          "id": "syncedOnly",
          "name": "Import Only Synced URLs",
          "description": "If enabled, this will import only the synced URLs for your core filter selection above, keeping your existing inline SELs intact (such as SELs from the Complete Setup or manual additions). Leave disabled to erase any additional SELs your setup may have, ensuring you have a clean SEL Setup import, without any lingering SELs from previous configuration that may interfere with the intended SEL experience.",
          "type": "boolean",
          "required": false,
          "default": false
        },
        {
          "id": "coreFilterMod",
          "name": "Core Filter Modifications",
          "description": "Make specific modifications to the core filtering engine (Standard/Extended SEL), such as removing unknown resolution or unknown quality streams.",
          "type": "subsection",
          "advanced": true,
          "required": false,
          "subsectionIntent": "block",
          "subOptions": [
            {
              "id": "selOverrideAlert",
              "name": "selOverride Alert",
              "description": "Selecting below option will add a custom SEL override. Any other custom SEL edits (such as SEL score edits) will be removed. Instead of using the below toggles, you can open up synced url inside Excluded Stream Expressions and enable the below SEL options yourself. ",
              "type": "alert",
              "intent": "warning"
            },
            {
              "id": "removeUnknownRes",
              "name": "Remove Unknown Resolution",
              "description": "Remove streams with unknown resolution if >5 known resolution exists (after core filter SEL). These streams could be any resolution, since they are mislabeled, so some good streams may be removed. Passthrough, library, SeaDex exempted. ",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            },
            {
              "id": "removeUnknownQuality",
              "name": "Remove Unknown Quality",
              "description": "Remove streams with unknown quality if >5 known quality exists (after core filter SEL). Passthrough, library, SeaDex exempted. ",
              "type": "boolean",
              "required": false,
              "advanced": true,
              "default": false
            }
          ]
        },
        {
          "id": "credits",
          "name": "Credits",
          "description": "",
          "type": "socials",
          "socials": [
            {
              "id": "github",
              "url": "https://git.tamtaro.de"
            },
            {
              "id": "ko-fi",
              "url": "https://ko-fi.com/tamtaro"
            },
            {
              "id": "website",
              "url": "https://torbox.app/subscription?referral=f1cdd3f8-aeee-48f1-849b-64fc7e5aeb3c"
            },
            {
              "id": "discord",
              "url": "https://discord.com/channels/1225024298490662974/1485044483857846324"
            },
            {
              "id": "ko-fi",
              "url": "https://ko-fi.com/vidhin"
            },
            {
              "id": "github",
              "url": "https://github.com/Vidhin05/Releases-Regex"
            }
          ]
        }
      ]
    },
    "config": {
      "addonDescription": "Custom AIOStreams powered by Tamtaro SEL Setup v2.6.1. Features advanced filtering with Stream Expression Language and smart sorting with Vidhin's Regex Patterns. Your personal all-in-one setup for the perfect Stremio experience.",
      "addonLogo": "https://github.com/Tam-Taro/SEL-Filtering-and-Sorting/blob/main/logo.png?raw=true",
      "formatter": {
        "__switch": "inputs.formatterChoice",
        "cases": {
          "min": {
            "id": "custom",
            "definition": {
              "name": "{stream.resolution::exists[\"{stream.resolution::replace('2160p','   4K ')::replace('1440p','    2K ')::replace('p','P')}‍\"||\"‍     \"]}{stream.type::exists[\"‍{stream.type::replace('debrid','    ')::replace('p2p','⁽ᵖ²ᵖ⁾')::replace('live','⁽ˡᶦᵛᵉ⁾')::replace('http','⁽ʷᵉᵇ⁾')::replace('usenet','‍⁽ⁿᶻᵇ⁾‍')::replace('stremio-usenet','‏⁽ⁿᶻᵇ⁾')::replace('info','⁽ᶦⁿᶠᵒ⁾')::replace('statistic','⁽ˢᵗᵃᵗˢ⁾')::replace('external','⁽ᵉˣᵗ⁾')::replace('error','⁽ᵉʳʳᵒʳ⁾')::replace('youtube','⁽ʸᵗ⁾')}‍‍‍\"||\"\"]}{service.cached::istrue[\"⚡\"||\"\"]}{service.cached::isfalse[\"‍⏳‍​\"||\"\"]}{stream.quality::exists[\"‍‍\\n  〈{stream.quality::title::replace('Bluray Remux','Remux')::replace('Web-dl','Web‍-‍dl')::replace('Hc Hd-rip','HC HDRip')::replace('Hdrip','HDRip')}〉‍     \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}{stream.nSeScore::exists[\"‍\\n  {stream.nSeScore::star::replace('⯪','☆')}            \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}",
              "description": "{stream.title::exists::and::stream.library::isfalse[\"✎  {stream.title::title::truncate(15)}\"||\"\"]}{stream.title::exists::and::stream.library::istrue[\"☁︎  {stream.title::title::truncate(15)} \"||\"\"]}{stream.year::exists::and::stream.episodes::exists::isfalse::and::stream.seasons::exists::isfalse[\" ({stream.year})\"||\"\"]}{stream.seasonEpisode::exists[\"  {stream.seasonEpisode::join('·')::replace('E','ᴇ')::replace('S','s')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}\n{stream.visualTags::=IMAX[\"{tools.removeLine}\\n\"||\"{tools.removeLine}\\n\"]}{stream.encode::exists[\"▣  {stream.encode}  \"||\"\"]}{stream.visualTags::~DV::or::stream.visualTags::~HDR::or::stream.visualTags::~HDR10::or::stream.visualTags::~HDR10+::and::stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"✦  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse::and::stream.visualTags::~DV::isfalse::and::stream.visualTags::~HDR::isfalse::and::stream.visualTags::~HDR10::isfalse::and::stream.visualTags::~HDR10+::isfalse[\"✧  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"{stream.visualTags::sort::join(' · ')::replace('HDR · HDR','HDR')::replace(' · IMAX','')} \"||\"\"]}\n{stream.audioTags::exists[\"♬  {stream.audioTags::lsort::join(' · ')::replace('DD · DD','DD')::replace('DTS · DTS','DTS')}  \"||\"\"]}{stream.audioChannels::exists[\"♯  {stream.audioChannels::join(' · ')} \"||\"\"]}\n{stream.size::>0::and::stream.seasonPack::istrue[\"❖  \"||\"\"]}{stream.size::>0::and::stream.seasonPack::isfalse[\"◈  \"||\"\"]}{stream.size::>0[\"{stream.size::sbytes}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::isfalse::or::stream.type::=p2p::and::stream.seeders::>0[\" ⇄ {stream.seeders}❦ \"||\"\"]}\n{stream.uLanguages::exists[\"⛿  {stream.uSmallLanguageCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')::replace('ᴅᴜᴀʟ ᴀᴜᴅɪᴏ','ᴅᴜᴏ')::replace('ᴅᴜʙʙᴇᴅ','ᴅᴜʙ')}  \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists[\"· sᴜʙ \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists::isfalse[\"⛿  sᴜʙ \"||\"\"]}{stream.uSubtitles::exists[\"({stream.uSmallSubtitleCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')})  \"||\"\"]}{stream.seadex::or::stream.message::exists[\" »  \"||\"\"]}{stream.seadexBest::istrue[\" ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::istrue::and::stream.seadexBest::isfalse[\" ᴀʟᴛ ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.message::exists[\" {stream.message::replace('NZB Health: ✅','✅ ɴᴢʙ')::replace('NZB Health: 🧝','🧝 ɴᴢʙ')::replace('AvailNZB 💚','💚 ɴᴢʙ')::replace('NZB Health: ⚠️','ᴜɴᴠᴇʀɪғɪᴇᴅ ɴᴢʙ')::replace('NZB Health: 🚫','✘ɴᴢʙ')::smallcaps} \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}\n{service.cached::istrue::and::stream.message::~Download::istrue[\"\\n➥ DL Stream\"||\"\"]}"
            }
          },
          "default": {
            "id": "custom",
            "definition": {
              "name": "{stream.resolution::exists[\"{stream.resolution::replace('2160p','   4K ')::replace('1440p','    2K ')::replace('p','P')}‍\"||\"‍     \"]}{stream.type::exists[\"‍{stream.type::replace('debrid','    ')::replace('p2p','⁽ᵖ²ᵖ⁾')::replace('live','⁽ˡᶦᵛᵉ⁾')::replace('http','⁽ʷᵉᵇ⁾')::replace('usenet','‍⁽ⁿᶻᵇ⁾‍')::replace('stremio-usenet','‏⁽ⁿᶻᵇ⁾')::replace('info','⁽ᶦⁿᶠᵒ⁾')::replace('statistic','⁽ˢᵗᵃᵗˢ⁾')::replace('external','⁽ᵉˣᵗ⁾')::replace('error','⁽ᵉʳʳᵒʳ⁾')::replace('youtube','⁽ʸᵗ⁾')}‍‍‍\"||\"\"]}{service.cached::istrue[\"⚡\"||\"\"]}{service.cached::isfalse[\"‍⏳‍​\"||\"\"]}{stream.quality::exists[\"‍‍\\n  〈{stream.quality::title::replace('Bluray Remux','Remux')::replace('Web-dl','Web‍-‍dl')::replace('Hc Hd-rip','HC HDRip')::replace('Hdrip','HDRip')}〉‍     \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}{stream.nSeScore::exists[\"‍\\n  {stream.nSeScore::star::replace('⯪','☆')}            \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}",
              "description": "{stream.title::exists::and::stream.library::isfalse[\"✎  {stream.title::title::truncate(15)}\"||\"\"]}{stream.title::exists::and::stream.library::istrue[\"☁︎  {stream.title::title::truncate(15)} \"||\"\"]}{stream.year::exists::and::stream.episodes::exists::isfalse::and::stream.seasons::exists::isfalse[\" ({stream.year})\"||\"\"]}{stream.seasonEpisode::exists[\"  {stream.seasonEpisode::join('·')::replace('E','ᴇ')::replace('S','s')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}\n{stream.visualTags::=IMAX[\"{tools.removeLine}\\n\"||\"{tools.removeLine}\\n\"]}{stream.encode::exists[\"▣  {stream.encode}  \"||\"\"]}{stream.visualTags::~DV::or::stream.visualTags::~HDR::or::stream.visualTags::~HDR10::or::stream.visualTags::~HDR10+::and::stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"✦  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse::and::stream.visualTags::~DV::isfalse::and::stream.visualTags::~HDR::isfalse::and::stream.visualTags::~HDR10::isfalse::and::stream.visualTags::~HDR10+::isfalse[\"✧  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"{stream.visualTags::sort::join(' · ')::replace('HDR · HDR','HDR')::replace(' · IMAX','')} \"||\"\"]}\n{stream.audioTags::exists[\"♬  {stream.audioTags::lsort::join(' · ')::replace('DD · DD','DD')::replace('DTS · DTS','DTS')}  \"||\"\"]}{stream.audioChannels::exists[\"♯  {stream.audioChannels::join(' · ')} \"||\"\"]}\n{stream.size::>0::and::stream.seasonPack::istrue[\"❖  \"||\"\"]}{stream.size::>0::and::stream.seasonPack::isfalse[\"◈  \"||\"\"]}{stream.size::>0[\"{stream.size::sbytes}\"||\"\"]}{stream.folderSize::>0[\"/{stream.folderSize::sbytes}\"||\"\"]}{stream.bitrate::exists[\" · {stream.bitrate::sbitrate::replace('Mbps','ᴹᵇᵖˢ')::replace('Kbps','ᴷᵇᵖˢ')} \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::isfalse::or::stream.type::=p2p::and::stream.seeders::>0[\"⇄ {stream.seeders}❦ \"||\"\"]}{stream.age::exists[\"· {stream.age}\"||\"\"]}\n{stream.proxied::istrue[\"⛊  \"||\"⛉  \"]}{service.shortName::exists[\"[{service.shortName}] \"||\"\"]}{addon.name}{stream.private::istrue[\" ⚿ ᴘʀɪᴠᴀᴛᴇ \"||\"\"]}{stream.releaseGroup::exists[\" · {stream.releaseGroup::truncate(13)}\"||\"\"]}{stream.indexer::exists::and::stream.type::~usenet[\" · {stream.indexer::truncate(13)}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}\n{stream.uLanguages::exists[\"⛿  {stream.uSmallLanguageCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')::replace('ᴅᴜᴀʟ ᴀᴜᴅɪᴏ','ᴅᴜᴏ')::replace('ᴅᴜʙʙᴇᴅ','ᴅᴜʙ')}  \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists[\"· sᴜʙ \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists::isfalse[\"⛿  sᴜʙ \"||\"\"]}{stream.uSubtitles::exists[\"({stream.uSmallSubtitleCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')})  \"||\"\"]}{stream.seadex::or::stream.seScore::>0::or::stream.seScore::<0::or::stream.message::exists::or::stream.rseMatched::length::>0[\" »  \"||\"\"]}{stream.seadexBest::istrue[\" ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::istrue::and::stream.seadexBest::isfalse[\" ᴀʟᴛ ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::isfalse::and::stream.rseMatched::length::>0[\"{stream.rseMatched::remove('TrueHD ATMOS')::remove('DD+ ATMOS')::remove('ATMOS')::remove('TrueHD')::remove('DTS-HD MA')::remove('FLAC')::remove('DTS-HD HRA')::remove('DD+')::remove('DD')::remove('DTS-ES')::remove('DTS X')::remove('DTS')::remove('AAC')::remove('Opus')::remove('DV (Disk)')::remove('DV')::remove('HDR10+ Boost')::remove('HDR')::remove('UHD Streaming Boost')::remove('HD Streaming Boost')::remove('INTERNAL')::remove('No-RlsGroup')::remove('FHD')::remove('UHD')::remove('HD')::remove('4K')::remove('126811')::remove('SiC')::remove('FraMeSToR')::remove('TheFarm')::remove('hallowed')::remove('BHDStudio')::remove('FLUX')::remove('Season Pack')::join('  ')::replace('UHD ','')::replace('HD ','')::replace('Movies Anywhere','MA')::upper::replace('F','ғ')::replace('X','х')::replace('Q','ϙ')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')::smallcaps::replace('ꜱ','s')} \"||\"\"]}{stream.message::exists[\" {stream.message::replace('NZB Health: ✅','✅ ɴᴢʙ')::replace('NZB Health: 🧝','🧝 ɴᴢʙ')::replace('AvailNZB 💚','💚 ɴᴢʙ')::replace('NZB Health: ⚠️','ᴜɴᴠᴇʀɪғɪᴇᴅ ɴᴢʙ')::replace('NZB Health: 🚫','✘ɴᴢʙ')::smallcaps} \"||\"\"]}{stream.seScore::>0::or::stream.seScore::<0[\"{stream.seScore::string::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::istrue::and::stream.message::~Download::istrue[\"\\n➥ DL Stream\"||\"\"]}"
            }
          },
          "fullRse": {
            "id": "custom",
            "definition": {
              "name": "{stream.resolution::exists[\"{stream.resolution::replace('2160p','   4K ')::replace('1440p','    2K ')::replace('p','P')}‍\"||\"‍     \"]}{stream.type::exists[\"‍{stream.type::replace('debrid','    ')::replace('p2p','⁽ᵖ²ᵖ⁾')::replace('live','⁽ˡᶦᵛᵉ⁾')::replace('http','⁽ʷᵉᵇ⁾')::replace('usenet','‍⁽ⁿᶻᵇ⁾‍')::replace('stremio-usenet','‏⁽ⁿᶻᵇ⁾')::replace('info','⁽ᶦⁿᶠᵒ⁾')::replace('statistic','⁽ˢᵗᵃᵗˢ⁾')::replace('external','⁽ᵉˣᵗ⁾')::replace('error','⁽ᵉʳʳᵒʳ⁾')::replace('youtube','⁽ʸᵗ⁾')}‍‍‍\"||\"\"]}{service.cached::istrue[\"⚡\"||\"\"]}{service.cached::isfalse[\"‍⏳‍​\"||\"\"]}{stream.quality::exists[\"‍‍\\n  〈{stream.quality::title::replace('Bluray Remux','Remux')::replace('Web-dl','Web‍-‍dl')::replace('Hc Hd-rip','HC HDRip')::replace('Hdrip','HDRip')}〉‍     \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}{stream.nSeScore::exists[\"‍\\n  {stream.nSeScore::star::replace('⯪','☆')}            \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}",
              "description": "{stream.title::exists::and::stream.library::isfalse[\"✎  {stream.title::title::truncate(15)}\"||\"\"]}{stream.title::exists::and::stream.library::istrue[\"☁︎  {stream.title::title::truncate(15)} \"||\"\"]}{stream.year::exists::and::stream.episodes::exists::isfalse::and::stream.seasons::exists::isfalse[\" ({stream.year})\"||\"\"]}{stream.seasonEpisode::exists[\"  {stream.seasonEpisode::join('·')::replace('E','ᴇ')::replace('S','s')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}\n{stream.visualTags::=IMAX[\"{tools.removeLine}\\n\"||\"{tools.removeLine}\\n\"]}{stream.encode::exists[\"▣  {stream.encode}  \"||\"\"]}{stream.visualTags::~DV::or::stream.visualTags::~HDR::or::stream.visualTags::~HDR10::or::stream.visualTags::~HDR10+::and::stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"✦  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse::and::stream.visualTags::~DV::isfalse::and::stream.visualTags::~HDR::isfalse::and::stream.visualTags::~HDR10::isfalse::and::stream.visualTags::~HDR10+::isfalse[\"✧  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"{stream.visualTags::sort::join(' · ')::replace('HDR · HDR','HDR')::replace(' · IMAX','')} \"||\"\"]}\n{stream.audioTags::exists[\"♬  {stream.audioTags::lsort::join(' · ')::replace('DD · DD','DD')::replace('DTS · DTS','DTS')}  \"||\"\"]}{stream.audioChannels::exists[\"♯  {stream.audioChannels::join(' · ')} \"||\"\"]}\n{stream.size::>0::and::stream.seasonPack::istrue[\"❖  \"||\"\"]}{stream.size::>0::and::stream.seasonPack::isfalse[\"◈  \"||\"\"]}{stream.size::>0[\"{stream.size::sbytes}\"||\"\"]}{stream.folderSize::>0[\"/{stream.folderSize::sbytes}\"||\"\"]}{stream.bitrate::exists[\" · {stream.bitrate::sbitrate::replace('Mbps','ᴹᵇᵖˢ')::replace('Kbps','ᴷᵇᵖˢ')} \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::isfalse::or::stream.type::=p2p::and::stream.seeders::>0[\"⇄ {stream.seeders}❦ \"||\"\"]}{stream.age::exists[\"· {stream.age}\"||\"\"]}\n{stream.proxied::istrue[\"⛊  \"||\"⛉  \"]}{service.shortName::exists[\"[{service.shortName}] \"||\"\"]}{addon.name}{stream.private::istrue[\" ⚿ ᴘʀɪᴠᴀᴛᴇ \"||\"\"]}{stream.releaseGroup::exists[\" · {stream.releaseGroup::truncate(13)}\"||\"\"]}{stream.indexer::exists::and::stream.type::~usenet[\" · {stream.indexer::truncate(13)}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}\n{stream.uLanguages::exists[\"⛿  {stream.uSmallLanguageCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')::replace('ᴅᴜᴀʟ ᴀᴜᴅɪᴏ','ᴅᴜᴏ')::replace('ᴅᴜʙʙᴇᴅ','ᴅᴜʙ')}  \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists[\"· sᴜʙ \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists::isfalse[\"⛿  sᴜʙ \"||\"\"]}{stream.uSubtitles::exists[\"({stream.uSmallSubtitleCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')})  \"||\"\"]}{stream.seadex::or::stream.seScore::>0::or::stream.seScore::<0::or::stream.message::exists::or::stream.rseMatched::length::>0[\" »  \"||\"\"]}{stream.seadexBest::istrue[\" ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::istrue::and::stream.seadexBest::isfalse[\" ᴀʟᴛ ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::isfalse::and::stream.rseMatched::length::>0[\"{stream.rseMatched::join('  ')::replace('Movies Anywhere','MA')::upper::replace('F','ғ')::replace('X','х')::replace('Q','ϙ')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')::smallcaps::replace('ꜱ','s')} \"||\"\"]}{stream.message::exists[\" {stream.message::replace('NZB Health: ✅','✅ ɴᴢʙ')::replace('NZB Health: 🧝','🧝 ɴᴢʙ')::replace('AvailNZB 💚','💚 ɴᴢʙ')::replace('NZB Health: ⚠️','ᴜɴᴠᴇʀɪғɪᴇᴅ ɴᴢʙ')::replace('NZB Health: 🚫','✘ɴᴢʙ')::smallcaps} \"||\"\"]}{stream.seScore::>0::or::stream.seScore::<0[\"{stream.seScore::string::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::istrue::and::stream.message::~Download::istrue[\"\\n➥ DL Stream\"||\"\"]}"
            }
          },
          "appleTv": {
            "id": "custom",
            "definition": {
              "name": "{stream.resolution::exists[\"{stream.resolution::replace('2160p','4K')::replace('1440p','2K')::replace('p','P')}‍\"||\"‍\"]}{stream.type::exists[\"‍{stream.type::replace('debrid','')::replace('p2p','⁽ᵖ²ᵖ⁾')::replace('live','⁽ˡᶦᵛᵉ⁾')::replace('http','⁽ʷᵉᵇ⁾')::replace('usenet','‍⁽ⁿᶻᵇ⁾‍')::replace('stremio-usenet','‏⁽ⁿᶻᵇ⁾')::replace('info','⁽ᶦⁿᶠᵒ⁾')::replace('statistic','⁽ˢᵗᵃᵗˢ⁾')::replace('external','⁽ᵉˣᵗ⁾')::replace('error','⁽ᵉʳʳᵒʳ⁾')::replace('youtube','⁽ʸᵗ⁾')}‍‍‍\"||\"\"]} {service.cached::istrue[\"⚡\"||\"\"]}{service.cached::isfalse[\"‍⏳‍​\"||\"\"]}{stream.quality::exists[\"‍‍{stream.quality::title::replace('Bluray Remux','ʀᴇᴍᴜx')::replace('Bluray','ʙʟᴜʀᴀʏ')::replace('Web-dl','ᴡᴇʙ‍-‍ᴅʟ')::replace('Hc Hd-rip','ʜᴄ ʜᴅʀɪᴘ')::replace('Hdrip','ʜᴅʀɪᴘ')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]} {stream.nSeScore::exists[\"‍{stream.nSeScore::star::replace('⯪','☆')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}",
              "description": "{stream.title::exists::and::stream.library::isfalse[\"✎  {stream.title::title::truncate(15)}\"||\"\"]}{stream.title::exists::and::stream.library::istrue[\"☁︎  {stream.title::title::truncate(15)} \"||\"\"]}{stream.year::exists::and::stream.episodes::exists::isfalse::and::stream.seasons::exists::isfalse[\" ({stream.year})\"||\"\"]}{stream.seasonEpisode::exists[\"  {stream.seasonEpisode::join('·')::replace('E','ᴇ')::replace('S','s')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}\n{stream.visualTags::=IMAX[\"{tools.removeLine}\\n\"||\"{tools.removeLine}\\n\"]}{stream.encode::exists[\"▣  {stream.encode}  \"||\"\"]}{stream.visualTags::~DV::or::stream.visualTags::~HDR::or::stream.visualTags::~HDR10::or::stream.visualTags::~HDR10+::and::stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"✦  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse::and::stream.visualTags::~DV::isfalse::and::stream.visualTags::~HDR::isfalse::and::stream.visualTags::~HDR10::isfalse::and::stream.visualTags::~HDR10+::isfalse[\"✧  \"||\"\"]}{stream.visualTags::exists::and::stream.visualTags::=IMAX::isfalse[\"{stream.visualTags::sort::join(' · ')::replace('HDR · HDR','HDR')::replace(' · IMAX','')} \"||\"\"]} {stream.audioTags::exists[\"♬  {stream.audioTags::lsort::join(' · ')::replace('DD · DD','DD')::replace('DTS · DTS','DTS')}  \"||\"\"]}{stream.audioChannels::exists[\"♯  {stream.audioChannels::join(' · ')} \"||\"\"]}\n{stream.size::>0::and::stream.seasonPack::istrue[\"❖  \"||\"\"]}{stream.size::>0::and::stream.seasonPack::isfalse[\"◈  \"||\"\"]}{stream.size::>0[\"{stream.size::sbytes}\"||\"\"]}{stream.folderSize::>0[\"/{stream.folderSize::sbytes}\"||\"\"]}{stream.bitrate::exists[\" · {stream.bitrate::sbitrate::replace('Mbps','ᴹᵇᵖˢ')::replace('Kbps','ᴷᵇᵖˢ')} \"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::isfalse::or::stream.type::=p2p::and::stream.seeders::>0[\"⇄ {stream.seeders}❦ \"||\"\"]}{stream.age::exists[\"· {stream.age}\"||\"\"]}  {stream.proxied::istrue[\"⛊  \"||\"⛉  \"]}{service.shortName::exists[\"[{service.shortName}] \"||\"\"]}{addon.name}{stream.private::istrue[\" ⚿ ᴘʀɪᴠᴀᴛᴇ \"||\"\"]}{stream.releaseGroup::exists[\" · {stream.releaseGroup::truncate(13)}\"||\"\"]}{stream.indexer::exists::and::stream.type::~usenet[\" · {stream.indexer::truncate(13)}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\\n\"||\"\"]}\n{stream.uLanguages::exists[\"⛿  {stream.uSmallLanguageCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')::replace('ᴅᴜᴀʟ ᴀᴜᴅɪᴏ','ᴅᴜᴏ')::replace('ᴅᴜʙʙᴇᴅ','ᴅᴜʙ')}  \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists[\"· sᴜʙ \"||\"\"]}{stream.subbed::istrue::and::stream.uLanguages::exists::isfalse[\"⛿  sᴜʙ \"||\"\"]}{stream.uSubtitles::exists[\"({stream.uSmallSubtitleCodes::join(' · ')::replace('ꜰ','ғ')::replace('x','х')::replace('ꞯ','ϙ')::replace('ꜱ','s')})  \"||\"\"]}{stream.seadex::or::stream.seScore::>0::or::stream.seScore::<0::or::stream.message::exists::or::stream.rseMatched::length::>0[\" »  \"||\"\"]}{stream.seadexBest::istrue[\" ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::istrue::and::stream.seadexBest::isfalse[\" ᴀʟᴛ ʙᴇsᴛ ʀᴇʟᴇᴀsᴇ \"||\"\"]}{stream.seadex::isfalse::and::stream.rseMatched::length::>0[\"{stream.rseMatched::remove('TrueHD ATMOS')::remove('DD+ ATMOS')::remove('ATMOS')::remove('TrueHD')::remove('DTS-HD MA')::remove('FLAC')::remove('DTS-HD HRA')::remove('DD+')::remove('DD')::remove('DTS-ES')::remove('DTS X')::remove('DTS')::remove('AAC')::remove('Opus')::remove('DV (Disk)')::remove('DV')::remove('HDR10+ Boost')::remove('HDR')::remove('UHD Streaming Boost')::remove('HD Streaming Boost')::remove('INTERNAL')::remove('No-RlsGroup')::remove('FHD')::remove('UHD')::remove('HD')::remove('4K')::remove('126811')::remove('SiC')::remove('FraMeSToR')::remove('TheFarm')::remove('hallowed')::remove('BHDStudio')::remove('FLUX')::remove('Season Pack')::join('  ')::replace('UHD ','')::replace('HD ','')::replace('Movies Anywhere','MA')::upper::replace('F','ғ')::replace('X','х')::replace('Q','ϙ')::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')::smallcaps::replace('ꜱ','s')} \"||\"\"]}{stream.message::exists[\" {stream.message::replace('NZB Health: ✅','✅ ɴᴢʙ')::replace('NZB Health: 🧝','🧝 ɴᴢʙ')::replace('AvailNZB 💚','💚 ɴᴢʙ')::replace('NZB Health: ⚠️','ᴜɴᴠᴇʀɪғɪᴇᴅ ɴᴢʙ')::replace('NZB Health: 🚫','✘ɴᴢʙ')::smallcaps} \"||\"\"]}{stream.seScore::>0::or::stream.seScore::<0[\"{stream.seScore::string::replace('0','₀')::replace('1','₁')::replace('2','₂')::replace('3','₃')::replace('4','₄')::replace('5','₅')::replace('6','₆')::replace('7','₇')::replace('8','₈')::replace('9','₉')}\"||\"\"]}{stream.message::~Download[\"{tools.removeLine}\"||\"\"]}{service.cached::istrue::and::stream.message::~Download::istrue[\"\\n➥ DL Stream\"||\"\"]}"
            }
          },
          "retain": {
            "__remove": true
          }
        }
      },
      "syncedPreferredStreamExpressionUrls": {
        "__switch": "inputs.coreFilter",
        "cases": {
          "standard": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-PSEs.json"
          ],
          "extended": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-PSEs.json"
          ],
          "none": {
            "__remove": true
          }
        }
      },
      "syncedExcludedStreamExpressionUrls": {
        "__switch": "inputs.coreFilter",
        "cases": {
          "standard": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ESEs-standard.json"
          ],
          "extended": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ESEs-extended.json"
          ],
          "none": {
            "__remove": true
          }
        }
      },
      "syncedIncludedStreamExpressionUrls": {
        "__switch": "inputs.coreFilter",
        "cases": {
          "standard": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ISEs.json"
          ],
          "extended": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ISEs.json"
          ],
          "none": {
            "__remove": true
          }
        }
      },
      "syncedExcludedRegexUrls": {
        "__switch": "inputs.coreFilter",
        "cases": {
          "standard": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-excluded-regex.json"
          ],
          "extended": [
            "https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-excluded-regex.json"
          ],
          "none": {
            "__remove": true
          }
        }
      },
      "excludedStreamExpressions": {
        "__if": "!inputs.syncedOnly and !inputs.coreFilter == none",
        "__value": {
          "__switch": "inputs.coreFilter",
          "cases": {
            "standard": [
              {
                "expression": "/*𝚃𝚊𝚖𝚝𝚊𝚛𝚘 𝙿𝚊𝚛𝚝𝚒𝚊𝚕 𝚂𝙴𝙻 𝚂𝚎𝚝𝚞𝚙 𝚟2.6.1: 𝚂𝚝𝚊𝚗𝚍𝚊𝚛𝚍 𝚂𝙴𝙻 𝚏𝚒𝚕𝚝𝚎𝚛𝚒𝚗𝚐 𝚎𝚗𝚐𝚒𝚗𝚎*/ []",
                "enabled": true
              },
              {
                "expression": "/*𝚐𝚒𝚝.𝚝𝚊𝚖𝚝𝚊𝚛𝚘.𝚍𝚎 𝚏𝚘𝚛 𝚏𝚞𝚕𝚕 𝚐𝚞𝚒𝚍𝚎 & 𝚊𝚍𝚍𝚒𝚝𝚒𝚘𝚗𝚊𝚕 𝚂𝙴𝙻𝚜*/[]",
                "enabled": true
              },
              {
                "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ESEs-standard.json>",
                "enabled": true
              }
            ],
            "extended": [
              {
                "expression": "/*𝚃𝚊𝚖𝚝𝚊𝚛𝚘 𝙿𝚊𝚛𝚝𝚒𝚊𝚕 𝚂𝙴𝙻 𝚂𝚎𝚝𝚞𝚙 𝚟2.6.1: 𝙴𝚡𝚝𝚎𝚗𝚍𝚎𝚍 𝚂𝙴𝙻 𝚏𝚒𝚕𝚝𝚎𝚛𝚒𝚗𝚐 𝚎𝚗𝚐𝚒𝚗𝚎*/ []",
                "enabled": true
              },
              {
                "expression": "/*𝚐𝚒𝚝.𝚝𝚊𝚖𝚝𝚊𝚛𝚘.𝚍𝚎 𝚏𝚘𝚛 𝚏𝚞𝚕𝚕 𝚐𝚞𝚒𝚍𝚎 & 𝚊𝚍𝚍𝚒𝚝𝚒𝚘𝚗𝚊𝚕 𝚂𝙴𝙻𝚜*/[]",
                "enabled": true
              },
              {
                "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ESEs-extended.json>",
                "enabled": true
              }
            ]
          }
        }
      },
      "preferredStreamExpressions": {
        "__if": "!inputs.syncedOnly and !inputs.coreFilter == none",
        "__value": {
          "__switch": "inputs.coreFilter",
          "cases": {
            "standard": [
              {
                "expression": "/*𝙰𝚍𝚍 𝚂𝚝𝚛𝚎𝚊𝚖 𝙴𝚡𝚙𝚛𝚎𝚜𝚜𝚒𝚘𝚗𝚜 𝚒𝚗 𝚂𝚘𝚛𝚝 𝙾𝚛𝚍𝚎𝚛 𝚊𝚏𝚝𝚎𝚛 𝚀𝚞𝚊𝚕𝚒𝚝𝚢 𝚝𝚘 𝚞𝚜𝚎 𝙿𝚂𝙴 𝚜𝚢𝚗𝚌𝚎𝚍 𝚞𝚛𝚕 𝚋𝚎𝚕𝚘𝚠.*/ []",
                "enabled": true
              },
              {
                "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-PSEs.json>",
                "enabled": true
              }
            ],
            "extended": [
              {
                "expression": "/*𝙰𝚍𝚍 𝚂𝚝𝚛𝚎𝚊𝚖 𝙴𝚡𝚙𝚛𝚎𝚜𝚜𝚒𝚘𝚗𝚜 𝚒𝚗 𝚂𝚘𝚛𝚝 𝙾𝚛𝚍𝚎𝚛 𝚊𝚏𝚝𝚎𝚛 𝚀𝚞𝚊𝚕𝚒𝚝𝚢 𝚝𝚘 𝚞𝚜𝚎 𝙿𝚂𝙴 𝚜𝚢𝚗𝚌𝚎𝚍 𝚞𝚛𝚕 𝚋𝚎𝚕𝚘𝚠.*/ []",
                "enabled": true
              },
              {
                "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-PSEs.json>",
                "enabled": true
              }
            ]
          }
        }
      },
      "includedStreamExpressions": {
        "__if": "!inputs.syncedOnly and !inputs.coreFilter == none",
        "__value": {
          "__switch": "inputs.coreFilter",
          "cases": {
            "standard": [
              {
                "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ISEs.json>",
                "enabled": true
              }
            ],
            "extended": [
              {
                "expression": "<SYNCED: https://raw.githubusercontent.com/Tam-Taro/SEL-Filtering-and-Sorting/refs/heads/main/AIOStreams-SyncedURLs/Tamtaro-synced-ISEs.json>",
                "enabled": true
              }
            ]
          }
        }
      },
      "selOverrides": [
        {
          "__if": "inputs.coreFilterMod.removeUnknownRes",
          "expression": "/*Unknown Resolution*/ count(resolution(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), '2160p', '1440p', '1080p','720p','576p','480p')) > 5 ? negate(merge(library(streams), seadex(streams)), resolution(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet', 'debrid'), 'Unknown')): []",
          "exprNames": [
            "Unknown Resolution"
          ],
          "disabled": false
        },
        {
          "__if": "inputs.coreFilterMod.removeUnknownQuality",
          "expression": "/*Unknown Quality*/ count(quality(merge(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet'), cached(type(streams, 'debrid'))), 'Bluray REMUX','Bluray','WEB-DL','WEBRip','HDRip','HC HD-Rip','DVDRip','HDTV')) > 5 ? negate(merge(library(streams), seadex(streams)), quality(type(streams, 'p2p', 'http', 'usenet', 'stremio-usenet', 'debrid'), 'Unknown')): []",
          "exprNames": [
            "Unknown Quality"
          ],
          "disabled": false
        }
      ]
    }
  }
]