diff --git a/README.md b/README.md index 8f28f16e..fbc35e59 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,10 @@ __preset__: # Root folder of all ytdl-sub Music Videos music_video_directory: "/music_videos" - # For 'Only Recent' preset, only keep vids uploaded in this range - date_range: "2months" - + # For 'Only Recent' preset, only keep vids within this range and limit + only_recent_date_range: "2months" + only_recent_max_files: 30 + # Pass any arg directly to yt-dlp's Python API ytdl_options: cookiefile: "/config/cookie.txt" diff --git a/docker/root/defaults/subscriptions.yaml b/docker/root/defaults/subscriptions.yaml index a63c7994..a7e129dc 100644 --- a/docker/root/defaults/subscriptions.yaml +++ b/docker/root/defaults/subscriptions.yaml @@ -14,8 +14,9 @@ __preset__: # Root folder of all ytdl-sub Music Videos music_video_directory: "/music_videos" - # For 'Only Recent' preset, only keep vids uploaded in this range - date_range: "2months" + # For 'Only Recent' preset, only keep vids within this range and limit + only_recent_date_range: "2months" + only_recent_max_files: 30 # Pass any arg directly to yt-dlp's Python API ytdl_options: diff --git a/examples/tv_show_subscriptions.yaml b/examples/tv_show_subscriptions.yaml index e8fea998..d8b914cb 100644 --- a/examples/tv_show_subscriptions.yaml +++ b/examples/tv_show_subscriptions.yaml @@ -23,7 +23,10 @@ __preset__: overrides: tv_show_directory: "/tv_shows" # Root folder of all ytdl-sub TV Shows - date_range: "2months" # For 'Only Recent' preset, only keep vids uploaded in this range + + # For 'Only Recent' preset, only keep vids within this range and limit + only_recent_date_range: "2months" + only_recent_max_files: 30 # Choose the player you intend to use by setting the top-level key to be either: # - Plex TV Show by Date: