ytdl-sub/tests
Jesse Bannon 970c74ba45
[FEATURE] inspect subcommand (#1407)
Subscription file syntax is designed to minimize boiler-plate when authoring new subscriptions.
You can now unpack any subscription using the ``inspect`` sub-command to see its boiler-plate *preset format*.

```
ytdl-sub inspect --config /path/to/config.yaml --match "BBC News" /path/to/subscriptions.yaml
```

This can be utilized for numerous purposes including:

* Ensuring your custom preset is getting applied correctly.
* Figuring out which variables set things like file names, metadata, etc.
* Understanding how subscription syntax translates to preset representation.

The default ``--level`` of inspect will fill in defined variables. Using ``--level original`` will present the subscription's raw layout with no fill.
2026-04-13 10:10:58 -07:00
..
e2e [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
integration [FEATURE] inspect subcommand (#1407) 2026-04-13 10:10:58 -07:00
resources [DEV] Make inspect resolution more human readable (#1451) 2026-03-13 16:27:56 -07:00
unit [FEATURE] inspect subcommand (#1407) 2026-04-13 10:10:58 -07:00
__init__.py Add channel as kodi tv show e2e test (#15) 2022-04-29 11:09:32 -07:00
conftest.py [FEATURE] inspect subcommand (#1407) 2026-04-13 10:10:58 -07:00
expected_download.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
expected_transaction_log.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
resources.py [BACKEND] Partial resolve support for Scripts (#1410) 2026-01-12 17:34:34 -08:00