From 24faaa32331d86ea4176b432c7c91c0752a54518 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Wed, 14 Sep 2022 14:01:19 -0700 Subject: [PATCH] remove deleted date range from examples --- examples/kodi_tv_shows_config.yaml | 28 ----------------------- examples/kodi_tv_shows_subscriptions.yaml | 26 +-------------------- 2 files changed, 1 insertion(+), 53 deletions(-) diff --git a/examples/kodi_tv_shows_config.yaml b/examples/kodi_tv_shows_config.yaml index d91c25d1..020de14e 100644 --- a/examples/kodi_tv_shows_config.yaml +++ b/examples/kodi_tv_shows_config.yaml @@ -85,31 +85,3 @@ presets: overrides: youtube_tv_shows_directory: "/path/to/youtube_tv_shows" episode_name: "Season {upload_year}/s{upload_year}.e{upload_month_padded}{upload_day_padded} - {title_sanitized}" - - ############################################################################### - # RECENT ARCHIVE - # This preset shows how you can download just the last 14 days-worth of videos - # on each download invocation. - yt_channel_as_tv__recent: - # `preset` can be set to any other preset in the config, and will inherit all its defined fields. - # This helps reduce copy-paste in the config.yaml - preset: "yt_channel_as_tv" - - # We will add the `after` field onto `yt_channel_as_tv`'s YouTube channel download strategy. - # This is saying 'only download videos uploaded in the last 2 weeks' - youtube: - after: "today-2weeks" - - ############################################################################### - # ROLLING ARCHIVE - # This example shows how to only keep the last 14-days worth of videos, and - # delete the rest. - yt_channel_as_tv__only_recent: - # Reuse `yt_channel_as_tv__recent` to only download the last 2 weeks' of videos - preset: "yt_channel_as_tv__recent" - - # This is saying "only keep files if they were uploaded in the last 2 weeks". - # All other files that this subscription had previously downloaded will be - # deleted. - output_options: - keep_files_after: "today-2weeks" \ No newline at end of file diff --git a/examples/kodi_tv_shows_subscriptions.yaml b/examples/kodi_tv_shows_subscriptions.yaml index b8502693..fa456225 100644 --- a/examples/kodi_tv_shows_subscriptions.yaml +++ b/examples/kodi_tv_shows_subscriptions.yaml @@ -3,7 +3,7 @@ # in each example. ############################################################################### -# LEVEL 1 - FULL ARCHIVE +# FULL ARCHIVE # # Subscription names are defined by you. We will call this one # john_smith_archive because it will download every single video in @@ -25,27 +25,3 @@ john_smith_archive: # '_sanitized' version that is safe for file systems. overrides: tv_show_name: "John /\ Smith" - -############################################################################### -# LEVEL 2 - RECENT ARCHIVE -# -# Use the "yt_channel_as_tv__recent" preset to only download the last two -# weeks' worth of YouTube videos. -john_smith_recent_archive: - preset: "yt_channel_as_tv__recent" - youtube: - channel_url: "https://youtube.com/channel/UCsvn_Po0SmunchJYtttWpOxMg" - overrides: - tv_show_name: "John /\ Smith" - -############################################################################### -# LEVEL 3 - ROLLING ARCHIVE -# -# Use the "yt_channel_as_tv__recent_only" preset to only download the last two -# weeks' worth of YouTube videos, and delete any existing older videos. -john_smith_rolling_archive: - preset: "yt_channel_as_tv__only_recent" - youtube: - channel_url: "https://youtube.com/channel/UCsvn_Po0SmunchJYtttWpOxMg" - overrides: - tv_show_name: "John /\ Smith" \ No newline at end of file