ytdl-sub/docs/source/config_reference
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
..
prebuilt_presets [FEATURE] Filter Duration prebuilt preset (#1259) 2025-07-04 13:41:54 -07:00
scripting [FEATURE] height and width variables (#1243) 2025-06-18 20:56:25 -07:00
config_yaml.rst [DOCS] Tooling to auto-generate custom sphinx docs (#849) 2023-12-28 22:39:59 -08:00
index.rst [DOCS] Rewrite getting started guide (#1129) 2024-12-21 09:13:09 -08:00
plugins.rst [FEATURE] square_thumbnail plugin (#1244) 2025-06-18 22:37:06 -07:00
subscription_yaml.rst [DOCS] Rewrite getting started guide (#1129) 2024-12-21 09:13:09 -08:00