From 7348ecd5c587094c1d108542eaecdc7df0b85297 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Thu, 8 May 2025 21:26:32 -0700 Subject: [PATCH] fix tv show by date --- .../prebuilt_presets/tv_show/tv_show_by_date.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/ytdl_sub/prebuilt_presets/tv_show/tv_show_by_date.yaml b/src/ytdl_sub/prebuilt_presets/tv_show/tv_show_by_date.yaml index 3f54c33e..74d27ea7 100644 --- a/src/ytdl_sub/prebuilt_presets/tv_show/tv_show_by_date.yaml +++ b/src/ytdl_sub/prebuilt_presets/tv_show/tv_show_by_date.yaml @@ -109,11 +109,13 @@ presets: episode_number: "{ %array_at(episode_number_and_padded_, 0) }" episode_number_padded: "{ %pad_zero( %int(episode_number), %int(%array_at(episode_number_and_padded_, 1))) }" episode_date_standardized: >- - %if( - %contains(tv_show_by_date_episode_ordering, "release"), - release_date_standardized, - upload_date_standardized - ) + { + %if( + %contains(tv_show_by_date_episode_ordering, "release"), + release_date_standardized, + upload_date_standardized + ) + } #################################################################################################### # LEGACY PRESETS