From b2056bec5da334e2ce7144905b0618666ca89af1 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Wed, 31 Dec 2025 15:24:44 -0800 Subject: [PATCH] [BACKEND] Array support for URLs (#1406) Allows for the `download` plugin to take in a script-based array of URLs. Prebuilt presets are now greatly reduced in size by constructing urls as an array versus 100+ separate URL variables. Eventually, we can completely remove the limit of the number of URLs in a subscription. --- src/ytdl_sub/config/overrides.py | 11 +- .../config/validators/variable_validation.py | 3 + src/ytdl_sub/downloaders/url/downloader.py | 32 +- src/ytdl_sub/downloaders/url/validators.py | 15 +- .../prebuilt_presets/helpers/url.yaml | 1112 +--- .../helpers/url_categorized.yaml | 101 +- .../tv_show/tv_show_collection.yaml | 4624 +---------------- .../validators/string_formatter_validators.py | 9 + tests/unit/config/test_subscription.py | 39 +- .../prebuilt_presets/test_tv_show_by_date.py | 55 + .../test_tv_show_collection.py | 44 +- 11 files changed, 414 insertions(+), 5631 deletions(-) diff --git a/src/ytdl_sub/config/overrides.py b/src/ytdl_sub/config/overrides.py index 8f790022..623fc06d 100644 --- a/src/ytdl_sub/config/overrides.py +++ b/src/ytdl_sub/config/overrides.py @@ -238,20 +238,25 @@ class Overrides(UnstructuredDictFormatterValidator, Scriptable): def apply_overrides_formatter_to_native( self, formatter: OverridesStringFormatterValidator, + function_overrides: Optional[Dict[str, str]] = None, ) -> Any: """ Parameters ---------- formatter Overrides formatter to apply + function_overrides + Optional. Explicit values to override the overrides themselves and source variables Returns ------- The native python form of the resolved variable """ - return self._apply_to_resolvable( - formatter=formatter, entry=None, function_overrides=None - ).native + return formatter.post_process_native( + self._apply_to_resolvable( + formatter=formatter, entry=None, function_overrides=function_overrides + ).native + ) def evaluate_boolean( self, formatter: StringFormatterValidator, entry: Optional[Entry] = None diff --git a/src/ytdl_sub/config/validators/variable_validation.py b/src/ytdl_sub/config/validators/variable_validation.py index bb8ea705..82069d7c 100644 --- a/src/ytdl_sub/config/validators/variable_validation.py +++ b/src/ytdl_sub/config/validators/variable_validation.py @@ -84,6 +84,9 @@ class VariableValidation: ) resolved_subscription["download"] = [] for url_output in raw_download_output["download"]: + if isinstance(url_output["url"], list): + url_output["url"] = [url for url in url_output["url"] if bool(url)] + if url_output["url"]: resolved_subscription["download"].append(url_output) diff --git a/src/ytdl_sub/downloaders/url/downloader.py b/src/ytdl_sub/downloaders/url/downloader.py index ef5fbd5a..acb35895 100644 --- a/src/ytdl_sub/downloaders/url/downloader.py +++ b/src/ytdl_sub/downloaders/url/downloader.py @@ -52,12 +52,12 @@ class UrlDownloaderBasePluginExtension(SourcePluginExtension[MultiUrlValidator]) if 0 <= input_url_idx < len(self.plugin_options.urls.list): validator = self.plugin_options.urls.list[input_url_idx] - if self.overrides.apply_formatter(validator.url) == entry_input_url: + if entry_input_url in self.overrides.apply_overrides_formatter_to_native(validator.url): return validator # Match the first validator based on the URL, if one exists for validator in self.plugin_options.urls.list: - if self.overrides.apply_formatter(validator.url) == entry_input_url: + if entry_input_url in self.overrides.apply_overrides_formatter_to_native(validator.url): return validator # Return the first validator if none exist @@ -487,19 +487,27 @@ class MultiUrlDownloader(SourcePlugin[MultiUrlValidator]): # download the bottom-most urls first since they are top-priority for idx, url_validator in reversed(list(enumerate(self.collection.urls.list))): # URLs can be empty. If they are, then skip - if not (url := self.overrides.apply_formatter(url_validator.url)): + if not (urls := self.overrides.apply_overrides_formatter_to_native(url_validator.url)): continue - for entry in self._download_metadata(url=url, validator=url_validator): - entry.initialize_script(self.overrides).add( - { - v.ytdl_sub_input_url: url, - v.ytdl_sub_input_url_index: idx, - v.ytdl_sub_input_url_count: len(self.collection.urls.list), - } - ) + assert isinstance(urls, list) - yield entry + for url in reversed(urls): + assert isinstance(url, str) + + if not url: + continue + + for entry in self._download_metadata(url=url, validator=url_validator): + entry.initialize_script(self.overrides).add( + { + v.ytdl_sub_input_url: url, + v.ytdl_sub_input_url_index: idx, + v.ytdl_sub_input_url_count: len(self.collection.urls.list), + } + ) + + yield entry def download(self, entry: Entry) -> Optional[Entry]: """ diff --git a/src/ytdl_sub/downloaders/url/validators.py b/src/ytdl_sub/downloaders/url/validators.py index e518cdf8..551d7169 100644 --- a/src/ytdl_sub/downloaders/url/validators.py +++ b/src/ytdl_sub/downloaders/url/validators.py @@ -43,6 +43,19 @@ class UrlThumbnailListValidator(ListValidator[UrlThumbnailValidator]): _inner_list_type = UrlThumbnailValidator +class OverridesOneOrManyUrlValidator(OverridesStringFormatterValidator): + def post_process_native(self, resolved: Any) -> Any: + if isinstance(resolved, str): + return [resolved] + if isinstance(resolved, list): + for value in resolved: + if not isinstance(value, str): + raise self._validation_exception("Must be a string or an array of strings.") + return resolved + + raise self._validation_exception("Must be a string or an array of strings.") + + class UrlValidator(StrictDictValidator): _required_keys = {"url"} _optional_keys = { @@ -68,7 +81,7 @@ class UrlValidator(StrictDictValidator): super().__init__(name, value) # TODO: url validate using yt-dlp IE - self._url = self._validate_key(key="url", validator=OverridesStringFormatterValidator) + self._url = self._validate_key(key="url", validator=OverridesOneOrManyUrlValidator) self._variables = self._validate_key_if_present( key="variables", validator=DictFormatterValidator, default={} ) diff --git a/src/ytdl_sub/prebuilt_presets/helpers/url.yaml b/src/ytdl_sub/prebuilt_presets/helpers/url.yaml index 5c4439e7..7bd4d3f5 100644 --- a/src/ytdl_sub/prebuilt_presets/helpers/url.yaml +++ b/src/ytdl_sub/prebuilt_presets/helpers/url.yaml @@ -14,7 +14,7 @@ presets: # _multi_url: download: - - url: "{url}" + - url: "{ %array_at(urls, 0) }" playlist_thumbnails: - name: "{avatar_uncropped_thumbnail_file_name}" uid: "avatar_uncropped" @@ -27,301 +27,8 @@ presets: uid: "banner_uncropped" include_sibling_metadata: "{include_sibling_metadata}" webpage_url: "{modified_webpage_url}" - - url: "{url2}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url3}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url4}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url5}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url6}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url7}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url8}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url9}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url10}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url11}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url12}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url13}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url14}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url15}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url16}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url17}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url18}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url19}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url20}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url21}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url22}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url23}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url24}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url25}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url26}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url27}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url28}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url29}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url30}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url31}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url32}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url33}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url34}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url35}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url36}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url37}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url38}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url39}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url40}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url41}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url42}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url43}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url44}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url45}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url46}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url47}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url48}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url49}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url50}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url51}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url52}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url53}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url54}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url55}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url56}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url57}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url58}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url59}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url60}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url61}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url62}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url63}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url64}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url65}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url66}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url67}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url68}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url69}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url70}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url71}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url72}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url73}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url74}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url75}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url76}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url77}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url78}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url79}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url80}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url81}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url82}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url83}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url84}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url85}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url86}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url87}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url88}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url89}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url90}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url91}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url92}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url93}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url94}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url95}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url96}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url97}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url98}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url99}" - include_sibling_metadata: "{include_sibling_metadata}" - webpage_url: "{modified_webpage_url}" - - url: "{url100}" + + - url: "{ %array_slice(urls, 1) }" include_sibling_metadata: "{include_sibling_metadata}" webpage_url: "{modified_webpage_url}" overrides: @@ -330,208 +37,124 @@ presets: include_sibling_metadata: False modified_webpage_url: "{webpage_url}" - subscription_array: "{ [] }" + subscription_array: >- + { + [ + url, url2, url3, url4, url5, url6, url7, url8, url9, url10, + url11, url12, url13, url14, url15, url16, url17, url18, url19, url20, + url21, url22, url23, url24, url25, url26, url27, url28, url29, url30, + url31, url32, url33, url34, url35, url36, url37, url38, url39, url40, + url41, url42, url43, url44, url45, url46, url47, url48, url49, url50, + url51, url52, url53, url54, url55, url56, url57, url58, url59, url60, + url61, url62, url63, url64, url65, url66, url67, url68, url69, url70, + url71, url72, url73, url74, url75, url76, url77, url78, url79, url80, + url81, url82, url83, url84, url85, url86, url87, url88, url89, url90, + url91, url92, url93, url94, url95, url96, url97, url98, url99, url100 + ] + } + urls: "{subscription_array}" + subscription_value: "" - subscription_value_2: "" - subscription_value_3: "" - subscription_value_4: "" - subscription_value_5: "" - subscription_value_6: "" - subscription_value_7: "" - subscription_value_8: "" - subscription_value_9: "" - subscription_value_10: "" - subscription_value_11: "" - subscription_value_12: "" - subscription_value_13: "" - subscription_value_14: "" - subscription_value_15: "" - subscription_value_16: "" - subscription_value_17: "" - subscription_value_18: "" - subscription_value_19: "" - subscription_value_20: "" - subscription_value_21: "" - subscription_value_22: "" - subscription_value_23: "" - subscription_value_24: "" - subscription_value_25: "" - subscription_value_26: "" - subscription_value_27: "" - subscription_value_28: "" - subscription_value_29: "" - subscription_value_30: "" - subscription_value_31: "" - subscription_value_32: "" - subscription_value_33: "" - subscription_value_34: "" - subscription_value_35: "" - subscription_value_36: "" - subscription_value_37: "" - subscription_value_38: "" - subscription_value_39: "" - subscription_value_40: "" - subscription_value_41: "" - subscription_value_42: "" - subscription_value_43: "" - subscription_value_44: "" - subscription_value_45: "" - subscription_value_46: "" - subscription_value_47: "" - subscription_value_48: "" - subscription_value_49: "" - subscription_value_50: "" - subscription_value_51: "" - subscription_value_52: "" - subscription_value_53: "" - subscription_value_54: "" - subscription_value_55: "" - subscription_value_56: "" - subscription_value_57: "" - subscription_value_58: "" - subscription_value_59: "" - subscription_value_60: "" - subscription_value_61: "" - subscription_value_62: "" - subscription_value_63: "" - subscription_value_64: "" - subscription_value_65: "" - subscription_value_66: "" - subscription_value_67: "" - subscription_value_68: "" - subscription_value_69: "" - subscription_value_70: "" - subscription_value_71: "" - subscription_value_72: "" - subscription_value_73: "" - subscription_value_74: "" - subscription_value_75: "" - subscription_value_76: "" - subscription_value_77: "" - subscription_value_78: "" - subscription_value_79: "" - subscription_value_80: "" - subscription_value_81: "" - subscription_value_82: "" - subscription_value_83: "" - subscription_value_84: "" - subscription_value_85: "" - subscription_value_86: "" - subscription_value_87: "" - subscription_value_88: "" - subscription_value_89: "" - subscription_value_90: "" - subscription_value_91: "" - subscription_value_92: "" - subscription_value_93: "" - subscription_value_94: "" - subscription_value_95: "" - subscription_value_96: "" - subscription_value_97: "" - subscription_value_98: "" - subscription_value_99: "" - subscription_value_100: "" - url: "{subscription_value}" - url2: "{subscription_value_2}" - url3: "{subscription_value_3}" - url4: "{subscription_value_4}" - url5: "{subscription_value_5}" - url6: "{subscription_value_6}" - url7: "{subscription_value_7}" - url8: "{subscription_value_8}" - url9: "{subscription_value_9}" - url10: "{subscription_value_10}" - url11: "{subscription_value_11}" - url12: "{subscription_value_12}" - url13: "{subscription_value_13}" - url14: "{subscription_value_14}" - url15: "{subscription_value_15}" - url16: "{subscription_value_16}" - url17: "{subscription_value_17}" - url18: "{subscription_value_18}" - url19: "{subscription_value_19}" - url20: "{subscription_value_20}" - url21: "{subscription_value_21}" - url22: "{subscription_value_22}" - url23: "{subscription_value_23}" - url24: "{subscription_value_24}" - url25: "{subscription_value_25}" - url26: "{subscription_value_26}" - url27: "{subscription_value_27}" - url28: "{subscription_value_28}" - url29: "{subscription_value_29}" - url30: "{subscription_value_30}" - url31: "{subscription_value_31}" - url32: "{subscription_value_32}" - url33: "{subscription_value_33}" - url34: "{subscription_value_34}" - url35: "{subscription_value_35}" - url36: "{subscription_value_36}" - url37: "{subscription_value_37}" - url38: "{subscription_value_38}" - url39: "{subscription_value_39}" - url40: "{subscription_value_40}" - url41: "{subscription_value_41}" - url42: "{subscription_value_42}" - url43: "{subscription_value_43}" - url44: "{subscription_value_44}" - url45: "{subscription_value_45}" - url46: "{subscription_value_46}" - url47: "{subscription_value_47}" - url48: "{subscription_value_48}" - url49: "{subscription_value_49}" - url50: "{subscription_value_50}" - url51: "{subscription_value_51}" - url52: "{subscription_value_52}" - url53: "{subscription_value_53}" - url54: "{subscription_value_54}" - url55: "{subscription_value_55}" - url56: "{subscription_value_56}" - url57: "{subscription_value_57}" - url58: "{subscription_value_58}" - url59: "{subscription_value_59}" - url60: "{subscription_value_60}" - url61: "{subscription_value_61}" - url62: "{subscription_value_62}" - url63: "{subscription_value_63}" - url64: "{subscription_value_64}" - url65: "{subscription_value_65}" - url66: "{subscription_value_66}" - url67: "{subscription_value_67}" - url68: "{subscription_value_68}" - url69: "{subscription_value_69}" - url70: "{subscription_value_70}" - url71: "{subscription_value_71}" - url72: "{subscription_value_72}" - url73: "{subscription_value_73}" - url74: "{subscription_value_74}" - url75: "{subscription_value_75}" - url76: "{subscription_value_76}" - url77: "{subscription_value_77}" - url78: "{subscription_value_78}" - url79: "{subscription_value_79}" - url80: "{subscription_value_80}" - url81: "{subscription_value_81}" - url82: "{subscription_value_82}" - url83: "{subscription_value_83}" - url84: "{subscription_value_84}" - url85: "{subscription_value_85}" - url86: "{subscription_value_86}" - url87: "{subscription_value_87}" - url88: "{subscription_value_88}" - url89: "{subscription_value_89}" - url90: "{subscription_value_90}" - url91: "{subscription_value_91}" - url92: "{subscription_value_92}" - url93: "{subscription_value_93}" - url94: "{subscription_value_94}" - url95: "{subscription_value_95}" - url96: "{subscription_value_96}" - url97: "{subscription_value_97}" - url98: "{subscription_value_98}" - url99: "{subscription_value_99}" - url100: "{subscription_value_100}" + url2: "" + url3: "" + url4: "" + url5: "" + url6: "" + url7: "" + url8: "" + url9: "" + url10: "" + url11: "" + url12: "" + url13: "" + url14: "" + url15: "" + url16: "" + url17: "" + url18: "" + url19: "" + url20: "" + url21: "" + url22: "" + url23: "" + url24: "" + url25: "" + url26: "" + url27: "" + url28: "" + url29: "" + url30: "" + url31: "" + url32: "" + url33: "" + url34: "" + url35: "" + url36: "" + url37: "" + url38: "" + url39: "" + url40: "" + url41: "" + url42: "" + url43: "" + url44: "" + url45: "" + url46: "" + url47: "" + url48: "" + url49: "" + url50: "" + url51: "" + url52: "" + url53: "" + url54: "" + url55: "" + url56: "" + url57: "" + url58: "" + url59: "" + url60: "" + url61: "" + url62: "" + url63: "" + url64: "" + url65: "" + url66: "" + url67: "" + url68: "" + url69: "" + url70: "" + url71: "" + url72: "" + url73: "" + url74: "" + url75: "" + url76: "" + url77: "" + url78: "" + url79: "" + url80: "" + url81: "" + url82: "" + url83: "" + url84: "" + url85: "" + url86: "" + url87: "" + url88: "" + url89: "" + url90: "" + url91: "" + url92: "" + url93: "" + url94: "" + url95: "" + url96: "" + url97: "" + url98: "" + url99: "" + url100: "" # multi-url with bilateral scraping built into it via @@ -542,502 +165,7 @@ presets: - "_url_bilateral_overrides" download: - - url: "{%bilateral_url(url) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url2) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url3) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url4) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url5) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url6) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url7) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url8) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url9) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url10) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url11) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url12) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url13) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url14) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url15) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url16) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url17) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url18) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url19) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url20) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url21) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url22) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url23) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url24) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url25) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url26) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url27) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url28) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url29) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url30) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url31) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url32) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url33) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url34) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url35) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url36) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url37) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url38) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url39) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url40) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url41) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url42) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url43) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url44) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url45) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url46) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url47) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url48) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url49) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url50) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url51) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url52) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url53) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url54) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url55) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url56) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url57) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url58) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url59) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url60) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url61) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url62) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url63) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url64) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url65) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url66) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url67) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url68) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url69) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url70) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url71) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url72) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url73) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url74) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url75) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url76) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url77) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url78) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url79) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url80) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url81) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url82) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url83) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url84) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url85) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url86) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url87) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url88) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url89) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url90) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url91) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url92) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url93) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url94) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url95) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url96) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url97) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url98) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{ %bilateral_url(url99) }" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - webpage_url: "{modified_webpage_url}" - - url: "{%bilateral_url(url100) }" + - url: "{ %array_apply(urls, %bilateral_url) }" download_reverse: False ytdl_options: playlist_items: "-1:0:-1" diff --git a/src/ytdl_sub/prebuilt_presets/helpers/url_categorized.yaml b/src/ytdl_sub/prebuilt_presets/helpers/url_categorized.yaml index b212f640..80e041a7 100644 --- a/src/ytdl_sub/prebuilt_presets/helpers/url_categorized.yaml +++ b/src/ytdl_sub/prebuilt_presets/helpers/url_categorized.yaml @@ -108,103 +108,4 @@ presets: } subscription_map: "{ {} }" - url: "{ %get_url_i(1) }" - url2: "{ %get_url_i(2) }" - url3: "{ %get_url_i(3) }" - url4: "{ %get_url_i(4) }" - url5: "{ %get_url_i(5) }" - url6: "{ %get_url_i(6) }" - url7: "{ %get_url_i(7) }" - url8: "{ %get_url_i(8) }" - url9: "{ %get_url_i(9) }" - url10: "{ %get_url_i(10) }" - url11: "{ %get_url_i(11) }" - url12: "{ %get_url_i(12) }" - url13: "{ %get_url_i(13) }" - url14: "{ %get_url_i(14) }" - url15: "{ %get_url_i(15) }" - url16: "{ %get_url_i(16) }" - url17: "{ %get_url_i(17) }" - url18: "{ %get_url_i(18) }" - url19: "{ %get_url_i(19) }" - url20: "{ %get_url_i(20) }" - url21: "{ %get_url_i(21) }" - url22: "{ %get_url_i(22) }" - url23: "{ %get_url_i(23) }" - url24: "{ %get_url_i(24) }" - url25: "{ %get_url_i(25) }" - url26: "{ %get_url_i(26) }" - url27: "{ %get_url_i(27) }" - url28: "{ %get_url_i(28) }" - url29: "{ %get_url_i(29) }" - url30: "{ %get_url_i(30) }" - url31: "{ %get_url_i(31) }" - url32: "{ %get_url_i(32) }" - url33: "{ %get_url_i(33) }" - url34: "{ %get_url_i(34) }" - url35: "{ %get_url_i(35) }" - url36: "{ %get_url_i(36) }" - url37: "{ %get_url_i(37) }" - url38: "{ %get_url_i(38) }" - url39: "{ %get_url_i(39) }" - url40: "{ %get_url_i(40) }" - url41: "{ %get_url_i(41) }" - url42: "{ %get_url_i(42) }" - url43: "{ %get_url_i(43) }" - url44: "{ %get_url_i(44) }" - url45: "{ %get_url_i(45) }" - url46: "{ %get_url_i(46) }" - url47: "{ %get_url_i(47) }" - url48: "{ %get_url_i(48) }" - url49: "{ %get_url_i(49) }" - url50: "{ %get_url_i(50) }" - url51: "{ %get_url_i(51) }" - url52: "{ %get_url_i(52) }" - url53: "{ %get_url_i(53) }" - url54: "{ %get_url_i(54) }" - url55: "{ %get_url_i(55) }" - url56: "{ %get_url_i(56) }" - url57: "{ %get_url_i(57) }" - url58: "{ %get_url_i(58) }" - url59: "{ %get_url_i(59) }" - url60: "{ %get_url_i(60) }" - url61: "{ %get_url_i(61) }" - url62: "{ %get_url_i(62) }" - url63: "{ %get_url_i(63) }" - url64: "{ %get_url_i(64) }" - url65: "{ %get_url_i(65) }" - url66: "{ %get_url_i(66) }" - url67: "{ %get_url_i(67) }" - url68: "{ %get_url_i(68) }" - url69: "{ %get_url_i(69) }" - url70: "{ %get_url_i(70) }" - url71: "{ %get_url_i(71) }" - url72: "{ %get_url_i(72) }" - url73: "{ %get_url_i(73) }" - url74: "{ %get_url_i(74) }" - url75: "{ %get_url_i(75) }" - url76: "{ %get_url_i(76) }" - url77: "{ %get_url_i(77) }" - url78: "{ %get_url_i(78) }" - url79: "{ %get_url_i(79) }" - url80: "{ %get_url_i(80) }" - url81: "{ %get_url_i(81) }" - url82: "{ %get_url_i(82) }" - url83: "{ %get_url_i(83) }" - url84: "{ %get_url_i(84) }" - url85: "{ %get_url_i(85) }" - url86: "{ %get_url_i(86) }" - url87: "{ %get_url_i(87) }" - url88: "{ %get_url_i(88) }" - url89: "{ %get_url_i(89) }" - url90: "{ %get_url_i(90) }" - url91: "{ %get_url_i(91) }" - url92: "{ %get_url_i(92) }" - url93: "{ %get_url_i(93) }" - url94: "{ %get_url_i(94) }" - url95: "{ %get_url_i(95) }" - url96: "{ %get_url_i(96) }" - url97: "{ %get_url_i(97) }" - url98: "{ %get_url_i(98) }" - url99: "{ %get_url_i(99) }" - url100: "{ %get_url_i(100) }" \ No newline at end of file + urls: "{ %array_apply(%range(100, 1), %get_url_i) }" \ No newline at end of file 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 29019cb2..c8a78a7a 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 @@ -124,7 +124,7 @@ presets: - "_tv_show_collection_asserts" download: - - url: "{ %get_season_url(collection_season_1_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_1_url), 0) }" variables: collection_season_number: "1" collection_season_name: "{collection_season_1_name}" @@ -142,1969 +142,492 @@ presets: uid: "avatar_uncropped" - name: "{tv_show_fanart_file_name}" uid: "banner_uncropped" - - url: "{ %get_season_url(collection_season_1_url, 1) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_1_url, 2) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_1_url, 3) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_1_url, 4) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_1_url, 5) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_1_url, 6) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_1_url, 7) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_1_url, 8) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_1_url, 9) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_1_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_1_url), 1) }" variables: collection_season_number: "1" collection_season_name: "{collection_season_1_name}" - - url: "{ %get_season_url(collection_season_2_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_2_url), 0) }" variables: collection_season_number: "2" collection_season_name: "{collection_season_2_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_2_url, 1) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_2_url, 2) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_2_url, 3) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_2_url, 4) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_2_url, 5) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_2_url, 6) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_2_url, 7) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_2_url, 8) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_2_url, 9) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_2_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_2_url), 1) }" variables: collection_season_number: "2" collection_season_name: "{collection_season_2_name}" - - url: "{ %get_season_url(collection_season_3_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_3_url), 0) }" variables: collection_season_number: "3" collection_season_name: "{collection_season_3_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_3_url, 1) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_3_url, 2) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_3_url, 3) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_3_url, 4) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_3_url, 5) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_3_url, 6) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_3_url, 7) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_3_url, 8) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_3_url, 9) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_3_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_3_url), 1) }" variables: collection_season_number: "3" collection_season_name: "{collection_season_3_name}" - - url: "{ %get_season_url(collection_season_4_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_4_url), 0) }" variables: collection_season_number: "4" collection_season_name: "{collection_season_4_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_4_url, 1) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_4_url, 2) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_4_url, 3) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_4_url, 4) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_4_url, 5) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_4_url, 6) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_4_url, 7) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_4_url, 8) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_4_url, 9) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_4_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_4_url), 1) }" variables: collection_season_number: "4" collection_season_name: "{collection_season_4_name}" - - url: "{ %get_season_url(collection_season_5_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_5_url), 0) }" variables: collection_season_number: "5" collection_season_name: "{collection_season_5_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_5_url, 1) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_5_url, 2) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_5_url, 3) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_5_url, 4) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_5_url, 5) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_5_url, 6) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_5_url, 7) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_5_url, 8) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_5_url, 9) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_5_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_5_url), 1) }" variables: collection_season_number: "5" collection_season_name: "{collection_season_5_name}" - - url: "{ %get_season_url(collection_season_6_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_6_url), 0) }" variables: collection_season_number: "6" collection_season_name: "{collection_season_6_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_6_url, 1) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_6_url, 2) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_6_url, 3) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_6_url, 4) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_6_url, 5) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_6_url, 6) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_6_url, 7) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_6_url, 8) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_6_url, 9) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_6_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_6_url), 1) }" variables: collection_season_number: "6" collection_season_name: "{collection_season_6_name}" - - url: "{ %get_season_url(collection_season_7_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_7_url), 0) }" variables: collection_season_number: "7" collection_season_name: "{collection_season_7_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_7_url, 1) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_7_url, 2) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_7_url, 3) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_7_url, 4) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_7_url, 5) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_7_url, 6) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_7_url, 7) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_7_url, 8) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_7_url, 9) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_7_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_7_url), 1) }" variables: collection_season_number: "7" collection_season_name: "{collection_season_7_name}" - - url: "{ %get_season_url(collection_season_8_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_8_url), 0) }" variables: collection_season_number: "8" collection_season_name: "{collection_season_8_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_8_url, 1) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_8_url, 2) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_8_url, 3) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_8_url, 4) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_8_url, 5) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_8_url, 6) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_8_url, 7) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_8_url, 8) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_8_url, 9) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_8_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_8_url), 1) }" variables: collection_season_number: "8" collection_season_name: "{collection_season_8_name}" - - url: "{ %get_season_url(collection_season_9_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_9_url), 0) }" variables: collection_season_number: "9" collection_season_name: "{collection_season_9_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_9_url, 1) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - - url: "{ %get_season_url(collection_season_9_url, 2) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - - url: "{ %get_season_url(collection_season_9_url, 3) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - - url: "{ %get_season_url(collection_season_9_url, 4) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - - url: "{ %get_season_url(collection_season_9_url, 5) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - - url: "{ %get_season_url(collection_season_9_url, 6) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - - url: "{ %get_season_url(collection_season_9_url, 7) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - - url: "{ %get_season_url(collection_season_9_url, 8) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - - url: "{ %get_season_url(collection_season_9_url, 9) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - - url: "{ %get_season_url(collection_season_9_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_9_url), 1) }" variables: collection_season_number: "9" collection_season_name: "{collection_season_9_name}" - - url: "{%get_season_url(collection_season_10_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_10_url), 0) }" variables: collection_season_number: "10" collection_season_name: "{collection_season_10_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_10_url, 1) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - - url: "{ %get_season_url(collection_season_10_url, 2) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - - url: "{ %get_season_url(collection_season_10_url, 3) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - - url: "{ %get_season_url(collection_season_10_url, 4) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - - url: "{ %get_season_url(collection_season_10_url, 5) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - - url: "{ %get_season_url(collection_season_10_url, 6) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - - url: "{ %get_season_url(collection_season_10_url, 7) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - - url: "{ %get_season_url(collection_season_10_url, 8) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - - url: "{ %get_season_url(collection_season_10_url, 9) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - - url: "{ %get_season_url(collection_season_10_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_10_url), 1) }" variables: collection_season_number: "10" collection_season_name: "{collection_season_10_name}" - - url: "{%get_season_url(collection_season_11_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_11_url), 0) }" variables: collection_season_number: "11" collection_season_name: "{collection_season_11_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_11_url, 1) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - - url: "{ %get_season_url(collection_season_11_url, 2) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - - url: "{ %get_season_url(collection_season_11_url, 3) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - - url: "{ %get_season_url(collection_season_11_url, 4) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - - url: "{ %get_season_url(collection_season_11_url, 5) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - - url: "{ %get_season_url(collection_season_11_url, 6) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - - url: "{ %get_season_url(collection_season_11_url, 7) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - - url: "{ %get_season_url(collection_season_11_url, 8) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - - url: "{ %get_season_url(collection_season_11_url, 9) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - - url: "{ %get_season_url(collection_season_11_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_11_url), 1) }" variables: collection_season_number: "11" collection_season_name: "{collection_season_11_name}" - - url: "{%get_season_url(collection_season_12_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_12_url), 0) }" variables: collection_season_number: "12" collection_season_name: "{collection_season_12_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_12_url, 1) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - - url: "{ %get_season_url(collection_season_12_url, 2) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - - url: "{ %get_season_url(collection_season_12_url, 3) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - - url: "{ %get_season_url(collection_season_12_url, 4) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - - url: "{ %get_season_url(collection_season_12_url, 5) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - - url: "{ %get_season_url(collection_season_12_url, 6) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - - url: "{ %get_season_url(collection_season_12_url, 7) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - - url: "{ %get_season_url(collection_season_12_url, 8) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - - url: "{ %get_season_url(collection_season_12_url, 9) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - - url: "{ %get_season_url(collection_season_12_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_12_url), 1) }" variables: collection_season_number: "12" collection_season_name: "{collection_season_12_name}" - - url: "{%get_season_url(collection_season_13_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_13_url), 0) }" variables: collection_season_number: "13" collection_season_name: "{collection_season_13_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_13_url, 1) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - - url: "{ %get_season_url(collection_season_13_url, 2) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - - url: "{ %get_season_url(collection_season_13_url, 3) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - - url: "{ %get_season_url(collection_season_13_url, 4) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - - url: "{ %get_season_url(collection_season_13_url, 5) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - - url: "{ %get_season_url(collection_season_13_url, 6) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - - url: "{ %get_season_url(collection_season_13_url, 7) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - - url: "{ %get_season_url(collection_season_13_url, 8) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - - url: "{ %get_season_url(collection_season_13_url, 9) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - - url: "{ %get_season_url(collection_season_13_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_13_url), 1) }" variables: collection_season_number: "13" collection_season_name: "{collection_season_13_name}" - - url: "{%get_season_url(collection_season_14_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_14_url), 0) }" variables: collection_season_number: "14" collection_season_name: "{collection_season_14_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_14_url, 1) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - - url: "{ %get_season_url(collection_season_14_url, 2) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - - url: "{ %get_season_url(collection_season_14_url, 3) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - - url: "{ %get_season_url(collection_season_14_url, 4) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - - url: "{ %get_season_url(collection_season_14_url, 5) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - - url: "{ %get_season_url(collection_season_14_url, 6) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - - url: "{ %get_season_url(collection_season_14_url, 7) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - - url: "{ %get_season_url(collection_season_14_url, 8) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - - url: "{ %get_season_url(collection_season_14_url, 9) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - - url: "{ %get_season_url(collection_season_14_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_14_url), 1) }" variables: collection_season_number: "14" collection_season_name: "{collection_season_14_name}" - - url: "{%get_season_url(collection_season_15_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_15_url), 0) }" variables: collection_season_number: "15" collection_season_name: "{collection_season_15_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_15_url, 1) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - - url: "{ %get_season_url(collection_season_15_url, 2) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - - url: "{ %get_season_url(collection_season_15_url, 3) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - - url: "{ %get_season_url(collection_season_15_url, 4) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - - url: "{ %get_season_url(collection_season_15_url, 5) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - - url: "{ %get_season_url(collection_season_15_url, 6) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - - url: "{ %get_season_url(collection_season_15_url, 7) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - - url: "{ %get_season_url(collection_season_15_url, 8) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - - url: "{ %get_season_url(collection_season_15_url, 9) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - - url: "{ %get_season_url(collection_season_15_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_15_url), 1) }" variables: collection_season_number: "15" collection_season_name: "{collection_season_15_name}" - - url: "{%get_season_url(collection_season_16_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_16_url), 0) }" variables: collection_season_number: "16" collection_season_name: "{collection_season_16_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_16_url, 1) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - - url: "{ %get_season_url(collection_season_16_url, 2) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - - url: "{ %get_season_url(collection_season_16_url, 3) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - - url: "{ %get_season_url(collection_season_16_url, 4) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - - url: "{ %get_season_url(collection_season_16_url, 5) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - - url: "{ %get_season_url(collection_season_16_url, 6) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - - url: "{ %get_season_url(collection_season_16_url, 7) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - - url: "{ %get_season_url(collection_season_16_url, 8) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - - url: "{ %get_season_url(collection_season_16_url, 9) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - - url: "{ %get_season_url(collection_season_16_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_16_url), 1) }" variables: collection_season_number: "16" collection_season_name: "{collection_season_16_name}" - - url: "{%get_season_url(collection_season_17_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_17_url), 0) }" variables: collection_season_number: "17" collection_season_name: "{collection_season_17_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_17_url, 1) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - - url: "{ %get_season_url(collection_season_17_url, 2) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - - url: "{ %get_season_url(collection_season_17_url, 3) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - - url: "{ %get_season_url(collection_season_17_url, 4) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - - url: "{ %get_season_url(collection_season_17_url, 5) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - - url: "{ %get_season_url(collection_season_17_url, 6) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - - url: "{ %get_season_url(collection_season_17_url, 7) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - - url: "{ %get_season_url(collection_season_17_url, 8) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - - url: "{ %get_season_url(collection_season_17_url, 9) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - - url: "{ %get_season_url(collection_season_17_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_17_url), 1) }" variables: collection_season_number: "17" collection_season_name: "{collection_season_17_name}" - - url: "{%get_season_url(collection_season_18_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_18_url), 0) }" variables: collection_season_number: "18" collection_season_name: "{collection_season_18_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_18_url, 1) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - - url: "{ %get_season_url(collection_season_18_url, 2) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - - url: "{ %get_season_url(collection_season_18_url, 3) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - - url: "{ %get_season_url(collection_season_18_url, 4) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - - url: "{ %get_season_url(collection_season_18_url, 5) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - - url: "{ %get_season_url(collection_season_18_url, 6) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - - url: "{ %get_season_url(collection_season_18_url, 7) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - - url: "{ %get_season_url(collection_season_18_url, 8) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - - url: "{ %get_season_url(collection_season_18_url, 9) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - - url: "{ %get_season_url(collection_season_18_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_18_url), 1) }" variables: collection_season_number: "18" collection_season_name: "{collection_season_18_name}" - - url: "{%get_season_url(collection_season_19_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_19_url), 0) }" variables: collection_season_number: "19" collection_season_name: "{collection_season_19_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_19_url, 1) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - - url: "{ %get_season_url(collection_season_19_url, 2) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - - url: "{ %get_season_url(collection_season_19_url, 3) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - - url: "{ %get_season_url(collection_season_19_url, 4) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - - url: "{ %get_season_url(collection_season_19_url, 5) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - - url: "{ %get_season_url(collection_season_19_url, 6) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - - url: "{ %get_season_url(collection_season_19_url, 7) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - - url: "{ %get_season_url(collection_season_19_url, 8) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - - url: "{ %get_season_url(collection_season_19_url, 9) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - - url: "{ %get_season_url(collection_season_19_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_19_url), 1) }" variables: collection_season_number: "19" collection_season_name: "{collection_season_19_name}" - - url: "{%get_season_url(collection_season_20_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_20_url), 0) }" variables: collection_season_number: "20" collection_season_name: "{collection_season_20_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_20_url, 1) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - - url: "{ %get_season_url(collection_season_20_url, 2) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - - url: "{ %get_season_url(collection_season_20_url, 3) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - - url: "{ %get_season_url(collection_season_20_url, 4) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - - url: "{ %get_season_url(collection_season_20_url, 5) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - - url: "{ %get_season_url(collection_season_20_url, 6) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - - url: "{ %get_season_url(collection_season_20_url, 7) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - - url: "{ %get_season_url(collection_season_20_url, 8) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - - url: "{ %get_season_url(collection_season_20_url, 9) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - - url: "{ %get_season_url(collection_season_20_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_20_url), 1) }" variables: collection_season_number: "20" collection_season_name: "{collection_season_20_name}" - - url: "{%get_season_url(collection_season_21_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_21_url), 0) }" variables: collection_season_number: "21" collection_season_name: "{collection_season_21_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_21_url, 1) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - - url: "{ %get_season_url(collection_season_21_url, 2) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - - url: "{ %get_season_url(collection_season_21_url, 3) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - - url: "{ %get_season_url(collection_season_21_url, 4) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - - url: "{ %get_season_url(collection_season_21_url, 5) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - - url: "{ %get_season_url(collection_season_21_url, 6) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - - url: "{ %get_season_url(collection_season_21_url, 7) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - - url: "{ %get_season_url(collection_season_21_url, 8) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - - url: "{ %get_season_url(collection_season_21_url, 9) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - - url: "{ %get_season_url(collection_season_21_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_21_url), 1) }" variables: collection_season_number: "21" collection_season_name: "{collection_season_21_name}" - - url: "{%get_season_url(collection_season_22_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_22_url), 0) }" variables: collection_season_number: "22" collection_season_name: "{collection_season_22_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_22_url, 1) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - - url: "{ %get_season_url(collection_season_22_url, 2) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - - url: "{ %get_season_url(collection_season_22_url, 3) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - - url: "{ %get_season_url(collection_season_22_url, 4) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - - url: "{ %get_season_url(collection_season_22_url, 5) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - - url: "{ %get_season_url(collection_season_22_url, 6) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - - url: "{ %get_season_url(collection_season_22_url, 7) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - - url: "{ %get_season_url(collection_season_22_url, 8) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - - url: "{ %get_season_url(collection_season_22_url, 9) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - - url: "{ %get_season_url(collection_season_22_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_22_url), 1) }" variables: collection_season_number: "22" collection_season_name: "{collection_season_22_name}" - - url: "{%get_season_url(collection_season_23_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_23_url), 0) }" variables: collection_season_number: "23" collection_season_name: "{collection_season_23_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_23_url, 1) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - - url: "{ %get_season_url(collection_season_23_url, 2) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - - url: "{ %get_season_url(collection_season_23_url, 3) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - - url: "{ %get_season_url(collection_season_23_url, 4) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - - url: "{ %get_season_url(collection_season_23_url, 5) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - - url: "{ %get_season_url(collection_season_23_url, 6) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - - url: "{ %get_season_url(collection_season_23_url, 7) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - - url: "{ %get_season_url(collection_season_23_url, 8) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - - url: "{ %get_season_url(collection_season_23_url, 9) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - - url: "{ %get_season_url(collection_season_23_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_23_url), 1) }" variables: collection_season_number: "23" collection_season_name: "{collection_season_23_name}" - - url: "{%get_season_url(collection_season_24_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_24_url), 0) }" variables: collection_season_number: "24" collection_season_name: "{collection_season_24_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_24_url, 1) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - - url: "{ %get_season_url(collection_season_24_url, 2) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - - url: "{ %get_season_url(collection_season_24_url, 3) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - - url: "{ %get_season_url(collection_season_24_url, 4) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - - url: "{ %get_season_url(collection_season_24_url, 5) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - - url: "{ %get_season_url(collection_season_24_url, 6) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - - url: "{ %get_season_url(collection_season_24_url, 7) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - - url: "{ %get_season_url(collection_season_24_url, 8) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - - url: "{ %get_season_url(collection_season_24_url, 9) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - - url: "{ %get_season_url(collection_season_24_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_24_url), 1) }" variables: collection_season_number: "24" collection_season_name: "{collection_season_24_name}" - - url: "{%get_season_url(collection_season_25_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_25_url), 0) }" variables: collection_season_number: "25" collection_season_name: "{collection_season_25_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_25_url, 1) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - - url: "{ %get_season_url(collection_season_25_url, 2) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - - url: "{ %get_season_url(collection_season_25_url, 3) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - - url: "{ %get_season_url(collection_season_25_url, 4) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - - url: "{ %get_season_url(collection_season_25_url, 5) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - - url: "{ %get_season_url(collection_season_25_url, 6) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - - url: "{ %get_season_url(collection_season_25_url, 7) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - - url: "{ %get_season_url(collection_season_25_url, 8) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - - url: "{ %get_season_url(collection_season_25_url, 9) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - - url: "{ %get_season_url(collection_season_25_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_25_url), 1) }" variables: collection_season_number: "25" collection_season_name: "{collection_season_25_name}" - - url: "{%get_season_url(collection_season_26_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_26_url), 0) }" variables: collection_season_number: "26" collection_season_name: "{collection_season_26_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_26_url, 1) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - - url: "{ %get_season_url(collection_season_26_url, 2) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - - url: "{ %get_season_url(collection_season_26_url, 3) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - - url: "{ %get_season_url(collection_season_26_url, 4) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - - url: "{ %get_season_url(collection_season_26_url, 5) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - - url: "{ %get_season_url(collection_season_26_url, 6) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - - url: "{ %get_season_url(collection_season_26_url, 7) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - - url: "{ %get_season_url(collection_season_26_url, 8) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - - url: "{ %get_season_url(collection_season_26_url, 9) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - - url: "{ %get_season_url(collection_season_26_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_26_url), 1) }" variables: collection_season_number: "26" collection_season_name: "{collection_season_26_name}" - - url: "{%get_season_url(collection_season_27_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_27_url), 0) }" variables: collection_season_number: "27" collection_season_name: "{collection_season_27_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_27_url, 1) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - - url: "{ %get_season_url(collection_season_27_url, 2) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - - url: "{ %get_season_url(collection_season_27_url, 3) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - - url: "{ %get_season_url(collection_season_27_url, 4) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - - url: "{ %get_season_url(collection_season_27_url, 5) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - - url: "{ %get_season_url(collection_season_27_url, 6) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - - url: "{ %get_season_url(collection_season_27_url, 7) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - - url: "{ %get_season_url(collection_season_27_url, 8) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - - url: "{ %get_season_url(collection_season_27_url, 9) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - - url: "{ %get_season_url(collection_season_27_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_27_url), 1) }" variables: collection_season_number: "27" collection_season_name: "{collection_season_27_name}" - - url: "{%get_season_url(collection_season_28_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_28_url), 0) }" variables: collection_season_number: "28" collection_season_name: "{collection_season_28_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_28_url, 1) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - - url: "{ %get_season_url(collection_season_28_url, 2) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - - url: "{ %get_season_url(collection_season_28_url, 3) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - - url: "{ %get_season_url(collection_season_28_url, 4) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - - url: "{ %get_season_url(collection_season_28_url, 5) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - - url: "{ %get_season_url(collection_season_28_url, 6) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - - url: "{ %get_season_url(collection_season_28_url, 7) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - - url: "{ %get_season_url(collection_season_28_url, 8) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - - url: "{ %get_season_url(collection_season_28_url, 9) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - - url: "{ %get_season_url(collection_season_28_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_28_url), 1) }" variables: collection_season_number: "28" collection_season_name: "{collection_season_28_name}" - - url: "{%get_season_url(collection_season_29_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_29_url), 0) }" variables: collection_season_number: "29" collection_season_name: "{collection_season_29_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_29_url, 1) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - - url: "{ %get_season_url(collection_season_29_url, 2) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - - url: "{ %get_season_url(collection_season_29_url, 3) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - - url: "{ %get_season_url(collection_season_29_url, 4) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - - url: "{ %get_season_url(collection_season_29_url, 5) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - - url: "{ %get_season_url(collection_season_29_url, 6) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - - url: "{ %get_season_url(collection_season_29_url, 7) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - - url: "{ %get_season_url(collection_season_29_url, 8) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - - url: "{ %get_season_url(collection_season_29_url, 9) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - - url: "{ %get_season_url(collection_season_29_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_29_url), 1) }" variables: collection_season_number: "29" collection_season_name: "{collection_season_29_name}" - - url: "{%get_season_url(collection_season_30_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_30_url), 0) }" variables: collection_season_number: "30" collection_season_name: "{collection_season_30_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_30_url, 1) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - - url: "{ %get_season_url(collection_season_30_url, 2) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - - url: "{ %get_season_url(collection_season_30_url, 3) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - - url: "{ %get_season_url(collection_season_30_url, 4) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - - url: "{ %get_season_url(collection_season_30_url, 5) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - - url: "{ %get_season_url(collection_season_30_url, 6) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - - url: "{ %get_season_url(collection_season_30_url, 7) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - - url: "{ %get_season_url(collection_season_30_url, 8) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - - url: "{ %get_season_url(collection_season_30_url, 9) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - - url: "{ %get_season_url(collection_season_30_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_30_url), 1) }" variables: collection_season_number: "30" collection_season_name: "{collection_season_30_name}" - - url: "{%get_season_url(collection_season_31_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_31_url), 0) }" variables: collection_season_number: "31" collection_season_name: "{collection_season_31_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_31_url, 1) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - - url: "{ %get_season_url(collection_season_31_url, 2) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - - url: "{ %get_season_url(collection_season_31_url, 3) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - - url: "{ %get_season_url(collection_season_31_url, 4) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - - url: "{ %get_season_url(collection_season_31_url, 5) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - - url: "{ %get_season_url(collection_season_31_url, 6) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - - url: "{ %get_season_url(collection_season_31_url, 7) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - - url: "{ %get_season_url(collection_season_31_url, 8) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - - url: "{ %get_season_url(collection_season_31_url, 9) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - - url: "{ %get_season_url(collection_season_31_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_31_url), 1) }" variables: collection_season_number: "31" collection_season_name: "{collection_season_31_name}" - - url: "{%get_season_url(collection_season_32_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_32_url), 0) }" variables: collection_season_number: "32" collection_season_name: "{collection_season_32_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_32_url, 1) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - - url: "{ %get_season_url(collection_season_32_url, 2) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - - url: "{ %get_season_url(collection_season_32_url, 3) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - - url: "{ %get_season_url(collection_season_32_url, 4) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - - url: "{ %get_season_url(collection_season_32_url, 5) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - - url: "{ %get_season_url(collection_season_32_url, 6) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - - url: "{ %get_season_url(collection_season_32_url, 7) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - - url: "{ %get_season_url(collection_season_32_url, 8) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - - url: "{ %get_season_url(collection_season_32_url, 9) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - - url: "{ %get_season_url(collection_season_32_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_32_url), 1) }" variables: collection_season_number: "32" collection_season_name: "{collection_season_32_name}" - - url: "{%get_season_url(collection_season_33_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_33_url), 0) }" variables: collection_season_number: "33" collection_season_name: "{collection_season_33_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_33_url, 1) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - - url: "{ %get_season_url(collection_season_33_url, 2) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - - url: "{ %get_season_url(collection_season_33_url, 3) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - - url: "{ %get_season_url(collection_season_33_url, 4) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - - url: "{ %get_season_url(collection_season_33_url, 5) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - - url: "{ %get_season_url(collection_season_33_url, 6) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - - url: "{ %get_season_url(collection_season_33_url, 7) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - - url: "{ %get_season_url(collection_season_33_url, 8) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - - url: "{ %get_season_url(collection_season_33_url, 9) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - - url: "{ %get_season_url(collection_season_33_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_33_url), 1) }" variables: collection_season_number: "33" collection_season_name: "{collection_season_33_name}" - - url: "{%get_season_url(collection_season_34_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_34_url), 0) }" variables: collection_season_number: "34" collection_season_name: "{collection_season_34_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_34_url, 1) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - - url: "{ %get_season_url(collection_season_34_url, 2) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - - url: "{ %get_season_url(collection_season_34_url, 3) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - - url: "{ %get_season_url(collection_season_34_url, 4) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - - url: "{ %get_season_url(collection_season_34_url, 5) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - - url: "{ %get_season_url(collection_season_34_url, 6) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - - url: "{ %get_season_url(collection_season_34_url, 7) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - - url: "{ %get_season_url(collection_season_34_url, 8) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - - url: "{ %get_season_url(collection_season_34_url, 9) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - - url: "{ %get_season_url(collection_season_34_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_34_url), 1) }" variables: collection_season_number: "34" collection_season_name: "{collection_season_34_name}" - - url: "{%get_season_url(collection_season_35_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_35_url), 0) }" variables: collection_season_number: "35" collection_season_name: "{collection_season_35_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_35_url, 1) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - - url: "{ %get_season_url(collection_season_35_url, 2) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - - url: "{ %get_season_url(collection_season_35_url, 3) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - - url: "{ %get_season_url(collection_season_35_url, 4) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - - url: "{ %get_season_url(collection_season_35_url, 5) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - - url: "{ %get_season_url(collection_season_35_url, 6) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - - url: "{ %get_season_url(collection_season_35_url, 7) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - - url: "{ %get_season_url(collection_season_35_url, 8) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - - url: "{ %get_season_url(collection_season_35_url, 9) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - - url: "{ %get_season_url(collection_season_35_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_35_url), 1) }" variables: collection_season_number: "35" collection_season_name: "{collection_season_35_name}" - - - url: "{%get_season_url(collection_season_36_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_36_url), 0) }" variables: collection_season_number: "36" collection_season_name: "{collection_season_36_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_36_url, 1) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - - url: "{ %get_season_url(collection_season_36_url, 2) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - - url: "{ %get_season_url(collection_season_36_url, 3) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - - url: "{ %get_season_url(collection_season_36_url, 4) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - - url: "{ %get_season_url(collection_season_36_url, 5) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - - url: "{ %get_season_url(collection_season_36_url, 6) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - - url: "{ %get_season_url(collection_season_36_url, 7) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - - url: "{ %get_season_url(collection_season_36_url, 8) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - - url: "{ %get_season_url(collection_season_36_url, 9) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - - url: "{ %get_season_url(collection_season_36_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_36_url), 1) }" variables: collection_season_number: "36" collection_season_name: "{collection_season_36_name}" - - url: "{%get_season_url(collection_season_37_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_37_url), 0) }" variables: collection_season_number: "37" collection_season_name: "{collection_season_37_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_37_url, 1) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - - url: "{ %get_season_url(collection_season_37_url, 2) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - - url: "{ %get_season_url(collection_season_37_url, 3) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - - url: "{ %get_season_url(collection_season_37_url, 4) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - - url: "{ %get_season_url(collection_season_37_url, 5) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - - url: "{ %get_season_url(collection_season_37_url, 6) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - - url: "{ %get_season_url(collection_season_37_url, 7) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - - url: "{ %get_season_url(collection_season_37_url, 8) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - - url: "{ %get_season_url(collection_season_37_url, 9) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - - url: "{ %get_season_url(collection_season_37_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_37_url), 1) }" variables: collection_season_number: "37" collection_season_name: "{collection_season_37_name}" - - url: "{%get_season_url(collection_season_38_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_38_url), 0) }" variables: collection_season_number: "38" collection_season_name: "{collection_season_38_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_38_url, 1) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - - url: "{ %get_season_url(collection_season_38_url, 2) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - - url: "{ %get_season_url(collection_season_38_url, 3) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - - url: "{ %get_season_url(collection_season_38_url, 4) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - - url: "{ %get_season_url(collection_season_38_url, 5) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - - url: "{ %get_season_url(collection_season_38_url, 6) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - - url: "{ %get_season_url(collection_season_38_url, 7) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - - url: "{ %get_season_url(collection_season_38_url, 8) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - - url: "{ %get_season_url(collection_season_38_url, 9) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - - url: "{ %get_season_url(collection_season_38_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_38_url), 1) }" variables: collection_season_number: "38" collection_season_name: "{collection_season_38_name}" - - url: "{%get_season_url(collection_season_39_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_39_url), 0) }" variables: collection_season_number: "39" collection_season_name: "{collection_season_39_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_39_url, 1) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - - url: "{ %get_season_url(collection_season_39_url, 2) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - - url: "{ %get_season_url(collection_season_39_url, 3) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - - url: "{ %get_season_url(collection_season_39_url, 4) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - - url: "{ %get_season_url(collection_season_39_url, 5) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - - url: "{ %get_season_url(collection_season_39_url, 6) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - - url: "{ %get_season_url(collection_season_39_url, 7) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - - url: "{ %get_season_url(collection_season_39_url, 8) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - - url: "{ %get_season_url(collection_season_39_url, 9) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - - url: "{ %get_season_url(collection_season_39_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_39_url), 1) }" variables: collection_season_number: "39" collection_season_name: "{collection_season_39_name}" - - url: "{%get_season_url(collection_season_40_url, 0)}" + - url: "{ %array_at( %get_season_urls(collection_season_40_url), 0) }" variables: collection_season_number: "40" collection_season_name: "{collection_season_40_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_40_url, 1) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - - url: "{ %get_season_url(collection_season_40_url, 2) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - - url: "{ %get_season_url(collection_season_40_url, 3) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - - url: "{ %get_season_url(collection_season_40_url, 4) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - - url: "{ %get_season_url(collection_season_40_url, 5) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - - url: "{ %get_season_url(collection_season_40_url, 6) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - - url: "{ %get_season_url(collection_season_40_url, 7) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - - url: "{ %get_season_url(collection_season_40_url, 8) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - - url: "{ %get_season_url(collection_season_40_url, 9) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - - url: "{ %get_season_url(collection_season_40_url, 10) }" + - url: "{ %array_slice( %get_season_urls(collection_season_40_url), 1) }" variables: collection_season_number: "40" collection_season_name: "{collection_season_40_name}" + # Place season 0 at end - - url: "{ %get_season_url(collection_season_0_url, 0) }" + - url: "{ %array_at( %get_season_urls(collection_season_0_url), 0) }" variables: collection_season_number: "0" collection_season_name: "{collection_season_0_name}" playlist_thumbnails: - name: "{season_poster_file_name}" uid: "latest_entry" - - url: "{ %get_season_url(collection_season_0_url, 1) }" + - url: "{ %array_slice( %get_season_urls(collection_season_0_url), 1) }" variables: collection_season_number: "0" collection_season_name: "{collection_season_0_name}" - - url: "{ %get_season_url(collection_season_0_url, 2) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - - url: "{ %get_season_url(collection_season_0_url, 3) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - - url: "{ %get_season_url(collection_season_0_url, 4) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - - url: "{ %get_season_url(collection_season_0_url, 5) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - - url: "{ %get_season_url(collection_season_0_url, 6) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - - url: "{ %get_season_url(collection_season_0_url, 7) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - - url: "{ %get_season_url(collection_season_0_url, 8) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - - url: "{ %get_season_url(collection_season_0_url, 9) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - - url: "{ %get_season_url(collection_season_0_url, 10) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - output_directory_nfo_tags: @@ -2406,97 +929,20 @@ presets: s40_url: "" s00_url: "" + "%get_season_urls": >- + { %if( %is_array( $0 ), $0, [ $0 ] ) } + # $0 - season url variable # $1 - get the i'th url from the array "%get_season_url": >- - { - %array_at( - %if( - %is_array( $0 ), - $0, - [ $0 ] - ), - $1, - "" - ) - } + { %array_at( %get_season_urls($0), $1, "" ) } _tv_show_collection_bilateral: preset: - "_url_bilateral_overrides" download: - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 0) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 1) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 2) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 3) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 4) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 5) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 6) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 7) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 8) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 9) ) }" - variables: - collection_season_number: "1" - collection_season_name: "{collection_season_1_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_1_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_1_url), %bilateral_url) }" variables: collection_season_number: "1" collection_season_name: "{collection_season_1_name}" @@ -2504,77 +950,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 0) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 1) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 2) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 3) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 4) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 5) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 6) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 7) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 8) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 9) ) }" - variables: - collection_season_number: "2" - collection_season_name: "{collection_season_2_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_2_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_2_url), %bilateral_url) }" variables: collection_season_number: "2" collection_season_name: "{collection_season_2_name}" @@ -2582,77 +958,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 0) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 1) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 2) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 3) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 4) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 5) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 6) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 7) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 8) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 9) ) }" - variables: - collection_season_number: "3" - collection_season_name: "{collection_season_3_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_3_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_3_url), %bilateral_url) }" variables: collection_season_number: "3" collection_season_name: "{collection_season_3_name}" @@ -2660,77 +966,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 0) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 1) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 2) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 3) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 4) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 5) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 6) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 7) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 8) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 9) ) }" - variables: - collection_season_number: "4" - collection_season_name: "{collection_season_4_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_4_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_4_url), %bilateral_url) }" variables: collection_season_number: "4" collection_season_name: "{collection_season_4_name}" @@ -2738,77 +974,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 0) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 1) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 2) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 3) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 4) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 5) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 6) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 7) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 8) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 9) ) }" - variables: - collection_season_number: "5" - collection_season_name: "{collection_season_5_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_5_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_5_url), %bilateral_url) }" variables: collection_season_number: "5" collection_season_name: "{collection_season_5_name}" @@ -2816,77 +982,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 0) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 1) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 2) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 3) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 4) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 5) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 6) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 7) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 8) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 9) ) }" - variables: - collection_season_number: "6" - collection_season_name: "{collection_season_6_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_6_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_6_url), %bilateral_url) }" variables: collection_season_number: "6" collection_season_name: "{collection_season_6_name}" @@ -2894,77 +990,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 0) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 1) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 2) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 3) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 4) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 5) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 6) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 7) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 8) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 9) ) }" - variables: - collection_season_number: "7" - collection_season_name: "{collection_season_7_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_7_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_7_url), %bilateral_url) }" variables: collection_season_number: "7" collection_season_name: "{collection_season_7_name}" @@ -2972,77 +998,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 0) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 1) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 2) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 3) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 4) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 5) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 6) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 7) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 8) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 9) ) }" - variables: - collection_season_number: "8" - collection_season_name: "{collection_season_8_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_8_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_8_url), %bilateral_url) }" variables: collection_season_number: "8" collection_season_name: "{collection_season_8_name}" @@ -3050,77 +1006,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 0) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 1) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 2) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 3) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 4) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 5) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 6) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 7) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 8) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 9) ) }" - variables: - collection_season_number: "9" - collection_season_name: "{collection_season_9_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_9_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_9_url), %bilateral_url) }" variables: collection_season_number: "9" collection_season_name: "{collection_season_9_name}" @@ -3128,77 +1014,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 0) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 1) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 2) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 3) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 4) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 5) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 6) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 7) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 8) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 9) ) }" - variables: - collection_season_number: "10" - collection_season_name: "{collection_season_10_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_10_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_10_url), %bilateral_url) }" variables: collection_season_number: "10" collection_season_name: "{collection_season_10_name}" @@ -3206,77 +1022,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 0) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 1) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 2) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 3) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 4) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 5) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 6) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 7) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 8) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 9) ) }" - variables: - collection_season_number: "11" - collection_season_name: "{collection_season_11_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_11_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_11_url), %bilateral_url) }" variables: collection_season_number: "11" collection_season_name: "{collection_season_11_name}" @@ -3284,77 +1030,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 0) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 1) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 2) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 3) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 4) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 5) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 6) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 7) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 8) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 9) ) }" - variables: - collection_season_number: "12" - collection_season_name: "{collection_season_12_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_12_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_12_url), %bilateral_url) }" variables: collection_season_number: "12" collection_season_name: "{collection_season_12_name}" @@ -3362,77 +1038,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 0) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 1) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 2) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 3) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 4) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 5) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 6) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 7) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 8) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 9) ) }" - variables: - collection_season_number: "13" - collection_season_name: "{collection_season_13_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_13_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_13_url), %bilateral_url) }" variables: collection_season_number: "13" collection_season_name: "{collection_season_13_name}" @@ -3440,77 +1046,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 0) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 1) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 2) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 3) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 4) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 5) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 6) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 7) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 8) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 9) ) }" - variables: - collection_season_number: "14" - collection_season_name: "{collection_season_14_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_14_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_14_url), %bilateral_url) }" variables: collection_season_number: "14" collection_season_name: "{collection_season_14_name}" @@ -3518,77 +1054,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 0) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 1) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 2) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 3) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 4) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 5) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 6) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 7) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 8) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 9) ) }" - variables: - collection_season_number: "15" - collection_season_name: "{collection_season_15_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_15_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_15_url), %bilateral_url) }" variables: collection_season_number: "15" collection_season_name: "{collection_season_15_name}" @@ -3596,78 +1062,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 0) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 1) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 2) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 3) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 4) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 5) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 6) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 7) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 8) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 9) ) }" - variables: - collection_season_number: "16" - collection_season_name: "{collection_season_16_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_16_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_16_url), %bilateral_url) }" variables: collection_season_number: "16" collection_season_name: "{collection_season_16_name}" @@ -3675,77 +1070,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 0) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 1) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 2) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 3) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 4) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 5) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 6) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 7) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 8) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 9) ) }" - variables: - collection_season_number: "17" - collection_season_name: "{collection_season_17_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_17_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_17_url), %bilateral_url) }" variables: collection_season_number: "17" collection_season_name: "{collection_season_17_name}" @@ -3753,77 +1078,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 0) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 1) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 2) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 3) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 4) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 5) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 6) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 7) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 8) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 9) ) }" - variables: - collection_season_number: "18" - collection_season_name: "{collection_season_18_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_18_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_18_url), %bilateral_url) }" variables: collection_season_number: "18" collection_season_name: "{collection_season_18_name}" @@ -3831,77 +1086,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 0) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 1) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 2) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 3) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 4) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 5) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 6) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 7) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 8) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 9) ) }" - variables: - collection_season_number: "19" - collection_season_name: "{collection_season_19_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_19_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_19_url), %bilateral_url) }" variables: collection_season_number: "19" collection_season_name: "{collection_season_19_name}" @@ -3909,77 +1094,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 0) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 1) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 2) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 3) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 4) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 5) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 6) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 7) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 8) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 9) ) }" - variables: - collection_season_number: "20" - collection_season_name: "{collection_season_20_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_20_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_20_url), %bilateral_url) }" variables: collection_season_number: "20" collection_season_name: "{collection_season_20_name}" @@ -3987,77 +1102,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 0) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 1) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 2) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 3) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 4) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 5) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 6) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 7) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 8) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 9) ) }" - variables: - collection_season_number: "21" - collection_season_name: "{collection_season_21_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_21_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_21_url), %bilateral_url) }" variables: collection_season_number: "21" collection_season_name: "{collection_season_21_name}" @@ -4065,77 +1110,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 0) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 1) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 2) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 3) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 4) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 5) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 6) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 7) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 8) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 9) ) }" - variables: - collection_season_number: "22" - collection_season_name: "{collection_season_22_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_22_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_22_url), %bilateral_url) }" variables: collection_season_number: "22" collection_season_name: "{collection_season_22_name}" @@ -4143,77 +1118,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 0) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 1) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 2) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 3) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 4) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 5) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 6) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 7) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 8) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 9) ) }" - variables: - collection_season_number: "23" - collection_season_name: "{collection_season_23_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_23_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_23_url), %bilateral_url) }" variables: collection_season_number: "23" collection_season_name: "{collection_season_23_name}" @@ -4221,77 +1126,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 0) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 1) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 2) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 3) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 4) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 5) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 6) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 7) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 8) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 9) ) }" - variables: - collection_season_number: "24" - collection_season_name: "{collection_season_24_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_24_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_24_url), %bilateral_url) }" variables: collection_season_number: "24" collection_season_name: "{collection_season_24_name}" @@ -4299,77 +1134,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 0) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 1) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 2) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 3) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 4) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 5) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 6) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 7) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 8) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 9) ) }" - variables: - collection_season_number: "25" - collection_season_name: "{collection_season_25_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_25_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_25_url), %bilateral_url) }" variables: collection_season_number: "25" collection_season_name: "{collection_season_25_name}" @@ -4377,77 +1142,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 0) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 1) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 2) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 3) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 4) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 5) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 6) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 7) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 8) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 9) ) }" - variables: - collection_season_number: "26" - collection_season_name: "{collection_season_26_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_26_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_26_url), %bilateral_url) }" variables: collection_season_number: "26" collection_season_name: "{collection_season_26_name}" @@ -4455,78 +1150,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 0) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 1) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 2) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 3) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 4) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 5) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 6) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 7) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 8) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 9) ) }" - variables: - collection_season_number: "27" - collection_season_name: "{collection_season_27_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_27_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_27_url), %bilateral_url) }" variables: collection_season_number: "27" collection_season_name: "{collection_season_27_name}" @@ -4534,78 +1158,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 0) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 1) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 2) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 3) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 4) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 5) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 6) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 7) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 8) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 9) ) }" - variables: - collection_season_number: "28" - collection_season_name: "{collection_season_28_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_28_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_28_url), %bilateral_url) }" variables: collection_season_number: "28" collection_season_name: "{collection_season_28_name}" @@ -4613,78 +1166,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 0) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 1) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 2) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 3) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 4) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 5) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 6) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 7) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 8) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 9) ) }" - variables: - collection_season_number: "29" - collection_season_name: "{collection_season_29_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_29_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_29_url), %bilateral_url) }" variables: collection_season_number: "29" collection_season_name: "{collection_season_29_name}" @@ -4692,78 +1174,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 0) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 1) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 2) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 3) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 4) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 5) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 6) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 7) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 8) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 9) ) }" - variables: - collection_season_number: "30" - collection_season_name: "{collection_season_30_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_30_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_30_url), %bilateral_url) }" variables: collection_season_number: "30" collection_season_name: "{collection_season_30_name}" @@ -4771,78 +1182,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 0) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 1) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 2) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 3) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 4) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 5) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 6) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 7) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 8) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 9) ) }" - variables: - collection_season_number: "31" - collection_season_name: "{collection_season_31_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_31_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_31_url), %bilateral_url) }" variables: collection_season_number: "31" collection_season_name: "{collection_season_31_name}" @@ -4850,78 +1190,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 0) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 1) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 2) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 3) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 4) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 5) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 6) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 7) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 8) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 9) ) }" - variables: - collection_season_number: "32" - collection_season_name: "{collection_season_32_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_32_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_32_url), %bilateral_url) }" variables: collection_season_number: "32" collection_season_name: "{collection_season_32_name}" @@ -4929,78 +1198,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 0) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 1) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 2) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 3) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 4) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 5) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 6) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 7) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 8) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 9) ) }" - variables: - collection_season_number: "33" - collection_season_name: "{collection_season_33_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_33_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_33_url), %bilateral_url) }" variables: collection_season_number: "33" collection_season_name: "{collection_season_33_name}" @@ -5008,78 +1206,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 0) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 1) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 2) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 3) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 4) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 5) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 6) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 7) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 8) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 9) ) }" - variables: - collection_season_number: "34" - collection_season_name: "{collection_season_34_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_34_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_34_url), %bilateral_url) }" variables: collection_season_number: "34" collection_season_name: "{collection_season_34_name}" @@ -5087,77 +1214,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 0) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 1) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 2) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 3) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 4) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 5) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 6) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 7) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 8) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 9) ) }" - variables: - collection_season_number: "35" - collection_season_name: "{collection_season_35_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_35_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_35_url), %bilateral_url) }" variables: collection_season_number: "35" collection_season_name: "{collection_season_35_name}" @@ -5165,78 +1222,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 0) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 1) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 2) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 3) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 4) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 5) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 6) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 7) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 8) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 9) ) }" - variables: - collection_season_number: "36" - collection_season_name: "{collection_season_36_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_36_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_36_url), %bilateral_url) }" variables: collection_season_number: "36" collection_season_name: "{collection_season_36_name}" @@ -5244,77 +1230,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 0) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 1) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 2) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 3) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 4) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 5) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 6) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 7) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 8) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 9) ) }" - variables: - collection_season_number: "37" - collection_season_name: "{collection_season_37_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_37_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_37_url), %bilateral_url) }" variables: collection_season_number: "37" collection_season_name: "{collection_season_37_name}" @@ -5322,78 +1238,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 0) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 1) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 2) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 3) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 4) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 5) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 6) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 7) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 8) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 9) ) }" - variables: - collection_season_number: "38" - collection_season_name: "{collection_season_38_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_38_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_38_url), %bilateral_url) }" variables: collection_season_number: "38" collection_season_name: "{collection_season_38_name}" @@ -5401,78 +1246,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 0) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 1) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 2) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 3) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 4) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 5) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 6) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 7) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 8) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 9) ) }" - variables: - collection_season_number: "39" - collection_season_name: "{collection_season_39_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_39_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_39_url), %bilateral_url) }" variables: collection_season_number: "39" collection_season_name: "{collection_season_39_name}" @@ -5480,77 +1254,7 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 0) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 1) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 2) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 3) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 4) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 5) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 6) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 7) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 8) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 9) ) }" - variables: - collection_season_number: "40" - collection_season_name: "{collection_season_40_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_40_url, 10) ) }" + - url: "{ %array_apply( %get_season_urls(collection_season_40_url), %bilateral_url) }" variables: collection_season_number: "40" collection_season_name: "{collection_season_40_name}" @@ -5558,84 +1262,14 @@ presets: ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 0) ) }" + # Season 0 at end (to download first) + - url: "{ %array_apply( %get_season_urls(collection_season_0_url), %bilateral_url) }" variables: collection_season_number: "0" collection_season_name: "{collection_season_0_name}" download_reverse: False ytdl_options: playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 1) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 2) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 3) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 4) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 5) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 6) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 7) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 8) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 9) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - - url: "{ %bilateral_url( %get_season_url(collection_season_0_url, 10) ) }" - variables: - collection_season_number: "0" - collection_season_name: "{collection_season_0_name}" - download_reverse: False - ytdl_options: - playlist_items: "-1:0:-1" - _tv_show_collection_asserts: overrides: diff --git a/src/ytdl_sub/validators/string_formatter_validators.py b/src/ytdl_sub/validators/string_formatter_validators.py index 5a44066e..1581c702 100644 --- a/src/ytdl_sub/validators/string_formatter_validators.py +++ b/src/ytdl_sub/validators/string_formatter_validators.py @@ -1,4 +1,5 @@ from datetime import datetime +from typing import Any from typing import Dict from typing import Set from typing import Union @@ -89,6 +90,14 @@ class StringFormatterValidator(StringValidator): """ return resolved + def post_process_native(self, resolved: Any) -> Any: + """ + Returns + ------- + Apply any post processing to the resolved native value. + """ + return resolved + class FloatFormatterValidator(StringFormatterValidator): _expected_value_type_name = "float" diff --git a/tests/unit/config/test_subscription.py b/tests/unit/config/test_subscription.py index 7e14fe05..c48f4f0e 100644 --- a/tests/unit/config/test_subscription.py +++ b/tests/unit/config/test_subscription.py @@ -1,4 +1,3 @@ -import json import re from contextlib import contextmanager from pathlib import Path @@ -473,23 +472,19 @@ def test_advanced_tv_show_subscriptions( overrides = subs[5].overrides assert overrides.script.get("subscription_name").native == "Gardening with Ciscoe" - assert ( - overrides.apply_formatter(overrides.dict["url"]) - == "https://www.youtube.com/@gardeningwithciscoe4430" - ) - assert ( - overrides.apply_formatter(overrides.dict["url2"]) - == "https://www.youtube.com/playlist?list=PLi8V8UemxeG6lo5if5H5g5EbsteELcb0_" - ) - assert overrides.apply_formatter(overrides.dict["subscription_array"]) == json.dumps( - [ - "https://www.youtube.com/@gardeningwithciscoe4430", - "https://www.youtube.com/playlist?list=PLi8V8UemxeG6lo5if5H5g5EbsteELcb0_", - "https://www.youtube.com/playlist?list=PLsJlQSR-KjmaQqqJ9jq18cF6XXXAR4kyn", - "https://www.youtube.com/watch?v=2vq-vPubS5I", - ] - ) + assert overrides.apply_overrides_formatter_to_native(overrides.dict["subscription_array"]) == [ + "https://www.youtube.com/@gardeningwithciscoe4430", + "https://www.youtube.com/playlist?list=PLi8V8UemxeG6lo5if5H5g5EbsteELcb0_", + "https://www.youtube.com/playlist?list=PLsJlQSR-KjmaQqqJ9jq18cF6XXXAR4kyn", + "https://www.youtube.com/watch?v=2vq-vPubS5I", + ] + assert overrides.apply_overrides_formatter_to_native(overrides.dict["urls"]) == [ + "https://www.youtube.com/@gardeningwithciscoe4430", + "https://www.youtube.com/playlist?list=PLi8V8UemxeG6lo5if5H5g5EbsteELcb0_", + "https://www.youtube.com/playlist?list=PLsJlQSR-KjmaQqqJ9jq18cF6XXXAR4kyn", + "https://www.youtube.com/watch?v=2vq-vPubS5I", + ] def test_music_subscriptions(default_config: ConfigFile, music_subscriptions_path: Path): @@ -525,7 +520,7 @@ def test_music_video_subscriptions(default_config: ConfigFile, music_video_subsc ) assert jackson.get("subscription_indent_1").native == "Pop" assert ( - jackson.get("url").native + jackson.get("urls").native[0] == "https://www.youtube.com/playlist?list=OLAK5uy_mnY03zP6abNWH929q2XhGzWD_2uKJ_n8E" ) @@ -533,12 +528,10 @@ def test_music_video_subscriptions(default_config: ConfigFile, music_video_subsc gnr = subs[3].overrides.script assert gnr.get("subscription_name").native == "Guns N' Roses" - assert ( - gnr.get("url").native - == "https://www.youtube.com/playlist?list=PLOTK54q5K4INNXaHKtmXYr6J7CajWjqeJ" - ) + gnr_urls = gnr.get("urls").native + assert gnr_urls[0] == "https://www.youtube.com/playlist?list=PLOTK54q5K4INNXaHKtmXYr6J7CajWjqeJ" assert gnr.get("subscription_indent_1").native == "Rock" - assert gnr.get("url2").native == "https://www.youtube.com/watch?v=OldpIhHPsbs" + assert gnr_urls[1] == "https://www.youtube.com/watch?v=OldpIhHPsbs" def test_default_docker_config_and_subscriptions( diff --git a/tests/unit/prebuilt_presets/test_tv_show_by_date.py b/tests/unit/prebuilt_presets/test_tv_show_by_date.py index f8da99a7..115a2a61 100644 --- a/tests/unit/prebuilt_presets/test_tv_show_by_date.py +++ b/tests/unit/prebuilt_presets/test_tv_show_by_date.py @@ -24,3 +24,58 @@ class TestTvShowByDatePreset: "overrides": {"tv_show_directory": "abc", "s01_url": "test"}, }, ) + + def test_backward_compatibility_single(self, default_config): + a = Subscription.from_dict( + config=default_config, + preset_name="a", + preset_dict={ + "preset": "Jellyfin TV Show by Date", + "overrides": {"tv_show_directory": "abc", "url": "test_1"}, + }, + ) + + b = Subscription.from_dict( + config=default_config, + preset_name="a", + preset_dict={ + "preset": "Jellyfin TV Show by Date", + "overrides": {"tv_show_directory": "abc", "subscription_value": "test_1"}, + }, + ) + + assert a.resolved_yaml() == b.resolved_yaml() + + def test_backward_compatibility_multi(self, default_config): + a = Subscription.from_dict( + config=default_config, + preset_name="a", + preset_dict={ + "preset": "Jellyfin TV Show by Date", + "overrides": {"tv_show_directory": "abc", "url": "test_1", "url2": "test_2"}, + }, + ) + + b = Subscription.from_dict( + config=default_config, + preset_name="a", + preset_dict={ + "preset": "Jellyfin TV Show by Date", + "overrides": { + "tv_show_directory": "abc", + "subscription_array": ["test_1", "test_2"], + }, + }, + ) + + c = Subscription.from_dict( + config=default_config, + preset_name="a", + preset_dict={ + "preset": "Jellyfin TV Show by Date", + "overrides": {"tv_show_directory": "abc", "urls": ["test_1", "test_2"]}, + }, + ) + + assert a.resolved_yaml() == b.resolved_yaml() + assert a.resolved_yaml() == c.resolved_yaml() diff --git a/tests/unit/prebuilt_presets/test_tv_show_collection.py b/tests/unit/prebuilt_presets/test_tv_show_collection.py index f56755b8..07e30006 100644 --- a/tests/unit/prebuilt_presets/test_tv_show_collection.py +++ b/tests/unit/prebuilt_presets/test_tv_show_collection.py @@ -44,7 +44,7 @@ class TestTvShowCollectionPreset: preset_dict={"preset": "Jellyfin TV Show Collection", "overrides": overrides}, ) - assert len(sub.downloader_options.urls.list) == (num_seasons + 1) * num_urls_per_season * 2 + assert len(sub.downloader_options.urls.list) == (num_seasons + 1) * 3 url_list = sub.downloader_options.urls.list itr = 0 @@ -55,16 +55,20 @@ class TestTvShowCollectionPreset: if season_num == num_seasons + 1: season_num = 0 - for i in range(num_urls_per_season): - url = sub.overrides.apply_formatter( + # is_bilateral + if i == 0: + url = sub.overrides.apply_overrides_formatter_to_native( url_list[itr].url, function_overrides={ # mock so bilateral url gets enabled "subscription_has_download_archive": "True" }, ) + assert url == [ + f"youtube.com/playlist?url_{season_num}_{i}" + for i in range(num_urls_per_season) + ] variables = url_list[itr].variables.dict - assert url == f"youtube.com/playlist?url_{season_num}_{i}" assert ( sub.overrides.apply_formatter(variables["collection_season_number"]) == f"{season_num}" @@ -73,5 +77,35 @@ class TestTvShowCollectionPreset: sub.overrides.apply_formatter(variables["collection_season_name"]) == f"The Season {season_num}" ) - itr += 1 + # not bilateral + else: + for j in range(2): + url = sub.overrides.apply_overrides_formatter_to_native( + url_list[itr + j].url, + function_overrides={ + # mock so bilateral url gets enabled + "subscription_has_download_archive": "True" + }, + ) + + # First instance is the first url to get thumbnails + if j == 0: + assert url == [f"youtube.com/playlist?url_{season_num}_0"] + # Next one contains remaining urls + else: + assert url == [ + f"youtube.com/playlist?url_{season_num}_{i}" + for i in range(1, num_urls_per_season) + ] + + variables = url_list[itr].variables.dict + assert ( + sub.overrides.apply_formatter(variables["collection_season_number"]) + == f"{season_num}" + ) + assert ( + sub.overrides.apply_formatter(variables["collection_season_name"]) + == f"The Season {season_num}" + ) + itr += 2