ytdl-sub/src/ytdl_sub/config
Jesse Bannon 544af2207b
[FEATURE] Add output_options.keep_max_files to limit number of downloads per subscription (#820)
Adds a new mechanism to limit subscriptions' number of videos to an explicit number (only supported date ranges prior to this).

Example usage:
```
output_options:
  keep_max_files: 10
```
will only keep 10 videos at max.

In addition:
- `keep_max_files` is bundled into the `Only Recent` preset and can be used via setting the `only_recent_max_files` override variable (see examples or README for usage).
- Changed the `date_range` variable name to `only_recent_date_range` for more clarity.  Usage of `date_range` will continue to work.
2023-11-17 09:01:21 -08:00
..
__init__.py setup cfg 2022-04-26 07:19:53 +00:00
config_file.py [FEATURE] Prebuilt music presets (#780) 2023-10-24 09:23:05 -07:00
config_validator.py [FEATURE] Extend subscription syntax (#790) 2023-11-01 20:24:06 -07:00
defaults.py [FEATURE] Ability to change download archive name (#643) 2023-06-30 11:51:52 -07:00
plugin.py [BUGFIX] Fix match-filter edge case and date_range.before (#750) 2023-10-03 11:46:42 -07:00
plugin_mapping.py [FEATURE] Add throttle_protection plugin (#799) 2023-11-05 08:23:12 -08:00
preset.py [FEATURE] Add throttle_protection plugin (#799) 2023-11-05 08:23:12 -08:00
preset_options.py [FEATURE] Add output_options.keep_max_files to limit number of downloads per subscription (#820) 2023-11-17 09:01:21 -08:00