From 628c0f1f430f0ff14c84744eeac6b146af4e7a6d Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Thu, 2 Mar 2023 18:33:25 -0800 Subject: [PATCH] [BACKEND] Add more collection seasons (#498) --- docs/presets.rst | 3 +- .../tv_show/tv_show_collection.yaml | 292 +++++++++++++++++- 2 files changed, 292 insertions(+), 3 deletions(-) diff --git a/docs/presets.rst b/docs/presets.rst index 53b31e40..23768b71 100644 --- a/docs/presets.rst +++ b/docs/presets.rst @@ -98,7 +98,8 @@ Season Presets * ``collection_season_2`` * ``collection_season_3`` * ``collection_season_4`` -* ``collection_season_5`` +* ``...`` +* ``collection_season_20`` Example """"""" diff --git a/src/ytdl_sub/prebuilt_presets/tv_show/tv_show_collection.yaml b/src/ytdl_sub/prebuilt_presets/tv_show/tv_show_collection.yaml index 696b3a47..36306faa 100644 --- a/src/ytdl_sub/prebuilt_presets/tv_show/tv_show_collection.yaml +++ b/src/ytdl_sub/prebuilt_presets/tv_show/tv_show_collection.yaml @@ -16,6 +16,9 @@ presets: - "_plex_tv_show" - "_tv_show_collection" +#################################################################################################### +# SEASON PRESETS + collection_season_1: download: download_strategy: "multi_url" @@ -26,7 +29,7 @@ presets: collection_season_number_padded: "01" playlist_thumbnails: # Use latest_entry first, then see if YT channel artwork exists - # ONLY FOR SEASON 1! + # ONLY FOR SEASON 1! The channel artwork will be the show's artwork. - name: "{season_poster_file_name}" uid: "latest_entry" - name: "{tv_show_poster_file_name}" @@ -115,4 +118,289 @@ presets: namedseason: - tag: "{collection_season_5_name}" attributes: - number: "5" \ No newline at end of file + number: "5" + + collection_season_6: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_6_url}" + variables: + collection_season_number: "6" + collection_season_number_padded: "06" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_6_name}" + attributes: + number: "6" + + collection_season_7: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_7_url}" + variables: + collection_season_number: "7" + collection_season_number_padded: "07" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_7_name}" + attributes: + number: "7" + + collection_season_8: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_8_url}" + variables: + collection_season_number: "8" + collection_season_number_padded: "08" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_8_name}" + attributes: + number: "8" + + collection_season_9: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_9_url}" + variables: + collection_season_number: "9" + collection_season_number_padded: "09" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_9_name}" + attributes: + number: "9" + + collection_season_10: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_10_url}" + variables: + collection_season_number: "10" + collection_season_number_padded: "10" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_10_name}" + attributes: + number: "10" + + collection_season_11: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_11_url}" + variables: + collection_season_number: "11" + collection_season_number_padded: "11" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_11_name}" + attributes: + number: "11" + + collection_season_12: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_12_url}" + variables: + collection_season_number: "12" + collection_season_number_padded: "12" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_12_name}" + attributes: + number: "12" + + collection_season_13: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_13_url}" + variables: + collection_season_number: "13" + collection_season_number_padded: "13" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_13_name}" + attributes: + number: "13" + + collection_season_14: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_14_url}" + variables: + collection_season_number: "14" + collection_season_number_padded: "14" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_14_name}" + attributes: + number: "14" + + collection_season_15: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_15_url}" + variables: + collection_season_number: "15" + collection_season_number_padded: "15" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_15_name}" + attributes: + number: "15" + + collection_season_16: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_16_url}" + variables: + collection_season_number: "16" + collection_season_number_padded: "16" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_16_name}" + attributes: + number: "16" + + collection_season_17: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_17_url}" + variables: + collection_season_number: "17" + collection_season_number_padded: "17" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_17_name}" + attributes: + number: "17" + + collection_season_18: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_18_url}" + variables: + collection_season_number: "18" + collection_season_number_padded: "18" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_18_name}" + attributes: + number: "18" + + collection_season_19: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_19_url}" + variables: + collection_season_number: "19" + collection_season_number_padded: "19" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_19_name}" + attributes: + number: "19" + + collection_season_20: + download: + download_strategy: "multi_url" + urls: + - url: "{collection_season_20_url}" + variables: + collection_season_number: "20" + collection_season_number_padded: "20" + playlist_thumbnails: + - name: "{season_poster_file_name}" + uid: "latest_entry" + + output_directory_nfo_tags: + tags: + namedseason: + - tag: "{collection_season_20_name}" + attributes: + number: "20" \ No newline at end of file