ytdl-sub/tests/unit
Jesse Bannon 10cb82a69a
[BACKEND] %contains_any function, list + dict support for tilda overrides mode (#1054)
Adds the function `%contains_any`, and list support in a tilda override subscription. The end-goal of these features are to more easily add a title exclude list, like so:

```
__preset__:
  filter_exclude:
    - "{%contains_any( %lower(title), exclude_title_strings )}"

...
Jellyfin TV Show by Date:
  ~History Documentaries:
    url: "https://..."
    exclude_title_strings:
      - "trailer"
      - "preview"
```

A proper prebuilt preset or built-in functionality will follow this change.
2024-09-20 09:23:22 -07:00
..
cli [FEATURE] Enhance music video presets using specialized map syntax (#808) 2024-06-06 11:50:33 -07:00
config [BACKEND] %contains_any function, list + dict support for tilda overrides mode (#1054) 2024-09-20 09:23:22 -07:00
docgen [DOCS] Advanced scripting usage, rename Overrides to Static (#866) 2024-01-01 00:01:46 -08:00
entries [BACKEND][HUGE] Function Support in variable syntax (#838) 2023-12-18 16:08:15 -08:00
main [DEV] Bump black from 22.3.0 to 24.4.2 (#973) 2024-04-27 15:46:47 -07:00
plugins [DEV] Bump black from 22.3.0 to 24.4.2 (#973) 2024-04-27 15:46:47 -07:00
prebuilt_presets [FEATURE] Enhance music video presets using specialized map syntax (#808) 2024-06-06 11:50:33 -07:00
script [BACKEND] %contains_any function, list + dict support for tilda overrides mode (#1054) 2024-09-20 09:23:22 -07:00
utils [FEATURE] Allow YAML maps and lists in overrides, convert to script format (#956) 2024-06-02 20:02:48 -07:00
validators [FEATURE] Allow YAML maps and lists in overrides, convert to script format (#956) 2024-06-02 20:02:48 -07:00
__init__.py entry 100% test coverage 2022-03-30 16:48:04 +00:00
conftest.py [DEV] Bump black from 22.3.0 to 24.4.2 (#973) 2024-04-27 15:46:47 -07:00