ytdl-sub/tests/integration
Jesse Bannon 00e9ceaf3d
[FEATURE] Filter Duration prebuilt preset (#1259)
Adds the prebuilt preset ``Filter Duration``, which can include/exclude media based on its duration.

Supports the following override variables:

* ``filter_duration_min_s``
* ``filter_duration_max_s``

Usage:

```
      Plex TV Show by Date | Filter Duration:

        = Documentaries:
          "~NOVA PBS":
            url: "https://www.youtube.com/@novapbs"
            filter_duration_min_s: 120  # Only download videos at least 2m long

        = Sports:
          "~Maple Leafs Highlights":
            url: "https://www.youtube.com/@NHL"
            filter_duration_max_s: 180  # Only get highlight videos less than 3m long
```
2025-07-04 13:41:54 -07:00
..
cli [DEV] More OutputOption unit tests (#1082) 2024-10-02 21:37:54 -07:00
plugins [BACKEND] Enable throttle protection by default (#1257) 2025-07-03 00:34:37 -07:00
prebuilt_presets [FEATURE] Filter Duration prebuilt preset (#1259) 2025-07-04 13:41:54 -07:00
__init__.py [DEV] Separate integration actions (#1079) 2024-09-30 23:55:15 -07:00
conftest.py [BACKEND] Enable throttle protection by default (#1257) 2025-07-03 00:34:37 -07:00