ytdl-sub/tests
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
..
e2e [FEATURE] Throttle protection per request (#1229) 2025-05-31 09:41:14 -07:00
integration [FEATURE] Filter Duration prebuilt preset (#1259) 2025-07-04 13:41:54 -07:00
resources [FEATURE] Filter Duration prebuilt preset (#1259) 2025-07-04 13:41:54 -07:00
unit [BACKEND] Enable throttle protection by default (#1257) 2025-07-03 00:34:37 -07:00
__init__.py Add channel as kodi tv show e2e test (#15) 2022-04-29 11:09:32 -07:00
conftest.py [FEATURE] release_date support for date_range (#1231) 2025-06-01 09:28:42 -07:00
expected_download.py [DEV] Cross platform test fixture helpers (#1058) 2024-09-20 14:58:07 -07:00
expected_transaction_log.py [DEV] Test-case for subscription with existing download archive (#819) 2023-11-16 23:37:24 -08:00
resources.py [DEV] Disable YouTube tests in GH CLI (#1090) 2024-10-07 23:46:27 -07:00