From a1ba09b0334829b18a66852161cf100b2d4d0b18 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Sat, 1 Oct 2022 02:13:05 -0700 Subject: [PATCH] looks good, smidge more testing --- .../prebuilt_presets/tv_show/episode.yaml | 8 +- .../prebuilt_presets/tv_show/players.yaml | 2 +- tests/conftest.py | 5 + .../s_1/is_yt_1.json | 3 +- .../s_2/is_yt_1.json | 3 +- .../s_1/is_yt_1.json | 3 +- .../s_2/is_yt_1.json | 3 +- .../season_by_year__episode_by_month_day.json | 3 +- ...y_year__episode_by_month_day_reversed.json | 3 +- .../season_by_year_month__episode_by_day.json | 3 +- .../s_1/is_yt_0.txt | 82 +++++----- .../s_1/is_yt_1.txt | 84 +++++----- .../s_2/is_yt_0.txt | 152 ++++++++--------- .../s_2/is_yt_1.txt | 154 ++++++++---------- .../s_1/is_yt_0.txt | 58 +++---- .../s_1/is_yt_1.txt | 60 +++---- .../s_2/is_yt_0.txt | 104 ++++++------ .../s_2/is_yt_1.txt | 106 ++++++------ .../season_by_year__episode_by_month_day.txt | 66 ++++---- ...by_year__episode_by_month_day_reversed.txt | 54 +++--- .../season_by_year_month__episode_by_day.txt | 66 ++++---- .../season_by_year__episode_by_month_day.txt | 67 ++++---- ...by_year__episode_by_month_day_reversed.txt | 55 +++---- .../season_by_year_month__episode_by_day.txt | 67 ++++---- .../s_1/is_yt_0.txt | 82 +++++----- .../s_1/is_yt_1.txt | 84 +++++----- .../s_2/is_yt_0.txt | 152 ++++++++--------- .../s_2/is_yt_1.txt | 154 ++++++++---------- .../s_1/is_yt_0.txt | 58 +++---- .../s_1/is_yt_1.txt | 60 +++---- .../s_2/is_yt_0.txt | 104 ++++++------ .../s_2/is_yt_1.txt | 106 ++++++------ .../season_by_year__episode_by_month_day.txt | 66 ++++---- ...by_year__episode_by_month_day_reversed.txt | 54 +++--- .../season_by_year_month__episode_by_day.txt | 66 ++++---- .../season_by_year__episode_by_month_day.txt | 67 ++++---- ...by_year__episode_by_month_day_reversed.txt | 55 +++---- .../season_by_year_month__episode_by_day.txt | 67 ++++---- .../s_1/is_yt_1.txt | 1 + .../s_2/is_yt_1.txt | 1 + .../s_1/is_yt_1.txt | 1 + .../s_2/is_yt_1.txt | 1 + .../season_by_year__episode_by_month_day.txt | 1 + ...by_year__episode_by_month_day_reversed.txt | 1 + .../season_by_year_month__episode_by_day.txt | 1 + tests/unit/prebuilt_presets/conftest.py | 14 +- .../prebuilt_presets/test_prebuilt_presets.py | 2 +- 47 files changed, 1114 insertions(+), 1295 deletions(-) diff --git a/src/ytdl_sub/prebuilt_presets/tv_show/episode.yaml b/src/ytdl_sub/prebuilt_presets/tv_show/episode.yaml index 77b0a5e6..8b0da879 100644 --- a/src/ytdl_sub/prebuilt_presets/tv_show/episode.yaml +++ b/src/ytdl_sub/prebuilt_presets/tv_show/episode.yaml @@ -24,7 +24,7 @@ presets: episode_title: "{upload_date_standardized} - {title}" episode_plot: "{webpage_url}" episode_year: "{upload_year}" - episode_air_date_standardized: "{upload_date_standardized}" + episode_date_standardized: "{upload_date_standardized}" episode_file_name: "s{season_number_padded}.e{episode_number_padded} - {uid_sanitized}" episode_file_path: "Season {season_number_padded}/{episode_file_name}" episode_number_suffix: "" @@ -32,11 +32,13 @@ presets: episode_video_tags: video_tags: tags: + show: "{tv_show_name}" season_number: "{season_number}" episode_id: "{episode_number}" title: "{episode_title}" synopsis: "{episode_plot}" - date: "{episode_air_date_standardized}" + year: "{episode_year}" + date: "{episode_date_standardized}" episode_nfo_tags: nfo_tags: @@ -48,7 +50,7 @@ presets: title: "{episode_title}" plot: "{episode_plot}" year: "{episode_year}" - aired: "{episode_air_date_standardized}" + aired: "{episode_date_standardized}" output_directory_nfo_tags: nfo_name: "tvshow.nfo" diff --git a/src/ytdl_sub/prebuilt_presets/tv_show/players.yaml b/src/ytdl_sub/prebuilt_presets/tv_show/players.yaml index f4fa8bc6..e7b50bb4 100644 --- a/src/ytdl_sub/prebuilt_presets/tv_show/players.yaml +++ b/src/ytdl_sub/prebuilt_presets/tv_show/players.yaml @@ -4,7 +4,7 @@ presets: preset: - "episode_video_tags" overrides: - tv_show_poster_file_name: "show.jpg" + tv_show_poster_file_name: "poster.jpg" tv_show_fanart_file_name: "fanart.jpg" season_poster_file_name: "Season{season_number_padded}.jpg" diff --git a/tests/conftest.py b/tests/conftest.py index 7fc72b9f..8aae4c8b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -21,6 +21,11 @@ def output_directory(): yield temp_dir +@pytest.fixture +def working_directory() -> str: + with tempfile.TemporaryDirectory() as temp_dir: + yield temp_dir + @contextlib.contextmanager def assert_debug_log(logger: logging.Logger, expected_message: str): """ diff --git a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.json b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.json index 770ecfc4..5f518fd6 100644 --- a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.json +++ b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.json @@ -9,5 +9,6 @@ "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_1/Season 01/s01.e21080801 - 21-1-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_1/Season 01/s01.e21080801 - 21-1.mp4": "2423c64e3dae35979437024994be9d7b", "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_1/Season01.jpg": "e80c508c4818454300133fe1dc1a9cd7", - "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_1/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61" + "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_1/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61", + "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_1/show.jpg": "0b0fdbe56bab3e3fdda18730588d742a" } \ No newline at end of file diff --git a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.json b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.json index eac56ad5..e5e73211 100644 --- a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.json +++ b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.json @@ -18,5 +18,6 @@ "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_1/Season 02/s02.e21080801 - 21-1.mp4": "02fe3e2203c54b6da8a6cc5f6358cb37", "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_1/Season01.jpg": "e80c508c4818454300133fe1dc1a9cd7", "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_1/Season02.jpg": "e80c508c4818454300133fe1dc1a9cd7", - "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_1/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61" + "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_1/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61", + "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_1/show.jpg": "0b0fdbe56bab3e3fdda18730588d742a" } \ No newline at end of file diff --git a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.json b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.json index 6e7e4f75..76422a8c 100644 --- a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.json +++ b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.json @@ -9,5 +9,6 @@ "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_1/Season 01/s01.e80052599 - 20-3-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_1/Season 01/s01.e80052599 - 20-3.mp4": "20e59f5dcfc7b02d7356293d44a8a164", "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_1/Season01.jpg": "e80c508c4818454300133fe1dc1a9cd7", - "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_1/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61" + "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_1/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61", + "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_1/show.jpg": "0b0fdbe56bab3e3fdda18730588d742a" } \ No newline at end of file diff --git a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.json b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.json index 4144d521..8f53e0ae 100644 --- a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.json +++ b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.json @@ -18,5 +18,6 @@ "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_1/Season 02/s02.e80052599 - 20-3.mp4": "5cd6fcf44cd9011d7fd73a34fbb3127d", "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_1/Season01.jpg": "e80c508c4818454300133fe1dc1a9cd7", "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_1/Season02.jpg": "e80c508c4818454300133fe1dc1a9cd7", - "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_1/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61" + "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_1/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61", + "unit_plex_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_1/show.jpg": "0b0fdbe56bab3e3fdda18730588d742a" } \ No newline at end of file diff --git a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day.json b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day.json index 796c366d..22509a10 100644 --- a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day.json +++ b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day.json @@ -8,5 +8,6 @@ "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day/Season 2020/s2020.e080802 - 20-1.mp4": "dc18dd10832dfd511ce4e0d96ffad90e", "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day/Season 2021/s2021.e080801 - 21-1-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day/Season 2021/s2021.e080801 - 21-1.mp4": "3f2f3027b3fedc266225f2a26b58c3a9", - "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61" + "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61", + "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day/show.jpg": "0b0fdbe56bab3e3fdda18730588d742a" } \ No newline at end of file diff --git a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.json b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.json index cfa1488d..6881e242 100644 --- a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.json +++ b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.json @@ -8,5 +8,6 @@ "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day_reversed/Season 2020/s2020.e14799 - 20-3.mp4": "590e7f605a12ba42e4ef152153243fa4", "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day_reversed/Season 2021/s2021.e14699 - 21-1-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day_reversed/Season 2021/s2021.e14699 - 21-1.mp4": "48b4b4f3e82eb49e428af7edc6cfd3b8", - "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day_reversed/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61" + "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day_reversed/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61", + "unit_plex_tv_show_youtube_channel_season_by_year__episode_by_month_day_reversed/show.jpg": "0b0fdbe56bab3e3fdda18730588d742a" } \ No newline at end of file diff --git a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year_month__episode_by_day.json b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year_month__episode_by_day.json index 16be39eb..28dfe903 100644 --- a/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year_month__episode_by_day.json +++ b/tests/resources/expected_downloads_summaries/unit/plex_tv_show_youtube_channel/season_by_year_month__episode_by_day.json @@ -8,5 +8,6 @@ "unit_plex_tv_show_youtube_channel_season_by_year_month__episode_by_day/Season 202008/s202008.e0802 - 20-1.mp4": "2338571a79a59fd253012a8b06749178", "unit_plex_tv_show_youtube_channel_season_by_year_month__episode_by_day/Season 202108/s202108.e0801 - 21-1-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", "unit_plex_tv_show_youtube_channel_season_by_year_month__episode_by_day/Season 202108/s202108.e0801 - 21-1.mp4": "49cdf6676ef2f5ce29d8c04e2a75d054", - "unit_plex_tv_show_youtube_channel_season_by_year_month__episode_by_day/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61" + "unit_plex_tv_show_youtube_channel_season_by_year_month__episode_by_day/fanart.jpg": "15c9a67b554f415a662fdf7a3340cd61", + "unit_plex_tv_show_youtube_channel_season_by_year_month__episode_by_day/show.jpg": "0b0fdbe56bab3e3fdda18730588d742a" } \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0.txt index c2a85889..3f704d35 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0.txt @@ -1,82 +1,76 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - season01-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - attributes: - number: 1 - tag: Season 1 - title: unit_jellyfin_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_0 {output_directory}/Season 01 - s01.e20080701 - 20-3-thumb.jpg - s01.e20080701 - 20-3.mp4 + s01.e20080702 - 20-3-thumb.jpg + s01.e20080702 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 20080701 + episode_id: 20080702 season_number: 1 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s01.e20080701 - 20-3.nfo + s01.e20080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 20080701 + episode: 20080702 plot: https://20-3.com season: 1 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s01.e20080801 - 20-2-thumb.jpg - s01.e20080801 - 20-2.mp4 + s01.e20080803 - 20-1-thumb.jpg + s01.e20080803 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 20080801 - season_number: 1 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s01.e20080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 20080801 - plot: https://20-2.com - season: 1 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s01.e20080802 - 20-1-thumb.jpg - s01.e20080802 - 20-1.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 20080802 + episode_id: 20080803 season_number: 1 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s01.e20080802 - 20-1.nfo + s01.e20080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 20080802 + episode: 20080803 plot: https://20-1.com season: 1 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s01.e21080801 - 21-1-thumb.jpg - s01.e21080801 - 21-1.mp4 + s01.e20080803 - 20-2-thumb.jpg + s01.e20080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 20080803 + season_number: 1 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s01.e20080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 20080803 + plot: https://20-2.com + season: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e21080802 - 21-1-thumb.jpg + s01.e21080802 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 21080801 + episode_id: 21080802 season_number: 1 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s01.e21080801 - 21-1.nfo + s01.e21080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 21080801 + episode: 21080802 plot: https://21-1.com season: 1 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt index 98aef104..3f704d35 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt @@ -1,84 +1,76 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - season01-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - attributes: - number: 1 - tag: Season 1 - title: unit_jellyfin_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_1 {output_directory}/Season 01 - s01.e20080701 - 20-3-thumb.jpg - s01.e20080701 - 20-3.mp4 + s01.e20080702 - 20-3-thumb.jpg + s01.e20080702 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 20080701 + episode_id: 20080702 season_number: 1 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s01.e20080701 - 20-3.nfo + s01.e20080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 20080701 + episode: 20080702 plot: https://20-3.com season: 1 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s01.e20080801 - 20-2-thumb.jpg - s01.e20080801 - 20-2.mp4 + s01.e20080803 - 20-1-thumb.jpg + s01.e20080803 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 20080801 - season_number: 1 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s01.e20080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 20080801 - plot: https://20-2.com - season: 1 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s01.e20080802 - 20-1-thumb.jpg - s01.e20080802 - 20-1.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 20080802 + episode_id: 20080803 season_number: 1 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s01.e20080802 - 20-1.nfo + s01.e20080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 20080802 + episode: 20080803 plot: https://20-1.com season: 1 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s01.e21080801 - 21-1-thumb.jpg - s01.e21080801 - 21-1.mp4 + s01.e20080803 - 20-2-thumb.jpg + s01.e20080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 20080803 + season_number: 1 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s01.e20080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 20080803 + plot: https://20-2.com + season: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e21080802 - 21-1-thumb.jpg + s01.e21080802 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 21080801 + episode_id: 21080802 season_number: 1 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s01.e21080801 - 21-1.nfo + s01.e21080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 21080801 + episode: 21080802 plot: https://21-1.com season: 1 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0.txt index 18237694..9ea8d0b1 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0.txt @@ -1,157 +1,145 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - season01-poster.jpg - season02-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - - - attributes: - number: 1 - tag: Season 1 - - - attributes: - number: 2 - tag: Season 2 - title: unit_jellyfin_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_0 {output_directory}/Season 01 - s01.e20060601 - 20-7-thumb.jpg - s01.e20060601 - 20-7.mp4 + s01.e20060602 - 20-7-thumb.jpg + s01.e20060602 - 20-7.mp4 Video Tags: date: 2020-06-06 - episode_id: 20060601 + episode_id: 20060602 season_number: 1 synopsis: https://20-7.com title: 2020-06-06 - Mock Entry 20-7 - s01.e20060601 - 20-7.nfo + s01.e20060602 - 20-7.nfo NFO tags: episodedetails: aired: 2020-06-06 - episode: 20060601 + episode: 20060602 plot: https://20-7.com season: 1 title: 2020-06-06 - Mock Entry 20-7 year: 2020 - s01.e20070601 - 20-6-thumb.jpg - s01.e20070601 - 20-6.mp4 + s01.e20070603 - 20-5-thumb.jpg + s01.e20070603 - 20-5.mp4 Video Tags: date: 2020-07-06 - episode_id: 20070601 - season_number: 1 - synopsis: https://20-6.com - title: 2020-07-06 - Mock Entry 20-6 - s01.e20070601 - 20-6.nfo - NFO tags: - episodedetails: - aired: 2020-07-06 - episode: 20070601 - plot: https://20-6.com - season: 1 - title: 2020-07-06 - Mock Entry 20-6 - year: 2020 - s01.e20070602 - 20-5-thumb.jpg - s01.e20070602 - 20-5.mp4 - Video Tags: - date: 2020-07-06 - episode_id: 20070602 + episode_id: 20070603 season_number: 1 synopsis: https://20-5.com title: 2020-07-06 - Mock Entry 20-5 - s01.e20070602 - 20-5.nfo + s01.e20070603 - 20-5.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 20070602 + episode: 20070603 plot: https://20-5.com season: 1 title: 2020-07-06 - Mock Entry 20-5 year: 2020 - s01.e20080601 - 20-4-thumb.jpg - s01.e20080601 - 20-4.mp4 + s01.e20070603 - 20-6-thumb.jpg + s01.e20070603 - 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 20070603 + season_number: 1 + synopsis: https://20-6.com + title: 2020-07-06 - Mock Entry 20-6 + s01.e20070603 - 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 20070603 + plot: https://20-6.com + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e20080602 - 20-4-thumb.jpg + s01.e20080602 - 20-4.mp4 Video Tags: date: 2020-08-06 - episode_id: 20080601 + episode_id: 20080602 season_number: 1 synopsis: https://20-4.com title: 2020-08-06 - Mock Entry 20-4 - s01.e20080601 - 20-4.nfo + s01.e20080602 - 20-4.nfo NFO tags: episodedetails: aired: 2020-08-06 - episode: 20080601 + episode: 20080602 plot: https://20-4.com season: 1 title: 2020-08-06 - Mock Entry 20-4 year: 2020 {output_directory}/Season 02 - s02.e20080701 - 20-3-thumb.jpg - s02.e20080701 - 20-3.mp4 + s02.e20080702 - 20-3-thumb.jpg + s02.e20080702 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 20080701 + episode_id: 20080702 season_number: 2 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s02.e20080701 - 20-3.nfo + s02.e20080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 20080701 + episode: 20080702 plot: https://20-3.com season: 2 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s02.e20080801 - 20-2-thumb.jpg - s02.e20080801 - 20-2.mp4 + s02.e20080803 - 20-1-thumb.jpg + s02.e20080803 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 20080801 - season_number: 2 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s02.e20080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 20080801 - plot: https://20-2.com - season: 2 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s02.e20080802 - 20-1-thumb.jpg - s02.e20080802 - 20-1.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 20080802 + episode_id: 20080803 season_number: 2 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s02.e20080802 - 20-1.nfo + s02.e20080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 20080802 + episode: 20080803 plot: https://20-1.com season: 2 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s02.e21080801 - 21-1-thumb.jpg - s02.e21080801 - 21-1.mp4 + s02.e20080803 - 20-2-thumb.jpg + s02.e20080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 20080803 + season_number: 2 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s02.e20080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 20080803 + plot: https://20-2.com + season: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e21080802 - 21-1-thumb.jpg + s02.e21080802 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 21080801 + episode_id: 21080802 season_number: 2 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s02.e21080801 - 21-1.nfo + s02.e21080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 21080801 + episode: 21080802 plot: https://21-1.com season: 2 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt index f6006025..9ea8d0b1 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt @@ -1,159 +1,145 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - season01-poster.jpg - season02-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - - - attributes: - number: 1 - tag: Season 1 - - - attributes: - number: 2 - tag: Season 2 - title: unit_jellyfin_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_1 {output_directory}/Season 01 - s01.e20060601 - 20-7-thumb.jpg - s01.e20060601 - 20-7.mp4 + s01.e20060602 - 20-7-thumb.jpg + s01.e20060602 - 20-7.mp4 Video Tags: date: 2020-06-06 - episode_id: 20060601 + episode_id: 20060602 season_number: 1 synopsis: https://20-7.com title: 2020-06-06 - Mock Entry 20-7 - s01.e20060601 - 20-7.nfo + s01.e20060602 - 20-7.nfo NFO tags: episodedetails: aired: 2020-06-06 - episode: 20060601 + episode: 20060602 plot: https://20-7.com season: 1 title: 2020-06-06 - Mock Entry 20-7 year: 2020 - s01.e20070601 - 20-6-thumb.jpg - s01.e20070601 - 20-6.mp4 + s01.e20070603 - 20-5-thumb.jpg + s01.e20070603 - 20-5.mp4 Video Tags: date: 2020-07-06 - episode_id: 20070601 - season_number: 1 - synopsis: https://20-6.com - title: 2020-07-06 - Mock Entry 20-6 - s01.e20070601 - 20-6.nfo - NFO tags: - episodedetails: - aired: 2020-07-06 - episode: 20070601 - plot: https://20-6.com - season: 1 - title: 2020-07-06 - Mock Entry 20-6 - year: 2020 - s01.e20070602 - 20-5-thumb.jpg - s01.e20070602 - 20-5.mp4 - Video Tags: - date: 2020-07-06 - episode_id: 20070602 + episode_id: 20070603 season_number: 1 synopsis: https://20-5.com title: 2020-07-06 - Mock Entry 20-5 - s01.e20070602 - 20-5.nfo + s01.e20070603 - 20-5.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 20070602 + episode: 20070603 plot: https://20-5.com season: 1 title: 2020-07-06 - Mock Entry 20-5 year: 2020 - s01.e20080601 - 20-4-thumb.jpg - s01.e20080601 - 20-4.mp4 + s01.e20070603 - 20-6-thumb.jpg + s01.e20070603 - 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 20070603 + season_number: 1 + synopsis: https://20-6.com + title: 2020-07-06 - Mock Entry 20-6 + s01.e20070603 - 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 20070603 + plot: https://20-6.com + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e20080602 - 20-4-thumb.jpg + s01.e20080602 - 20-4.mp4 Video Tags: date: 2020-08-06 - episode_id: 20080601 + episode_id: 20080602 season_number: 1 synopsis: https://20-4.com title: 2020-08-06 - Mock Entry 20-4 - s01.e20080601 - 20-4.nfo + s01.e20080602 - 20-4.nfo NFO tags: episodedetails: aired: 2020-08-06 - episode: 20080601 + episode: 20080602 plot: https://20-4.com season: 1 title: 2020-08-06 - Mock Entry 20-4 year: 2020 {output_directory}/Season 02 - s02.e20080701 - 20-3-thumb.jpg - s02.e20080701 - 20-3.mp4 + s02.e20080702 - 20-3-thumb.jpg + s02.e20080702 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 20080701 + episode_id: 20080702 season_number: 2 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s02.e20080701 - 20-3.nfo + s02.e20080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 20080701 + episode: 20080702 plot: https://20-3.com season: 2 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s02.e20080801 - 20-2-thumb.jpg - s02.e20080801 - 20-2.mp4 + s02.e20080803 - 20-1-thumb.jpg + s02.e20080803 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 20080801 - season_number: 2 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s02.e20080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 20080801 - plot: https://20-2.com - season: 2 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s02.e20080802 - 20-1-thumb.jpg - s02.e20080802 - 20-1.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 20080802 + episode_id: 20080803 season_number: 2 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s02.e20080802 - 20-1.nfo + s02.e20080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 20080802 + episode: 20080803 plot: https://20-1.com season: 2 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s02.e21080801 - 21-1-thumb.jpg - s02.e21080801 - 21-1.mp4 + s02.e20080803 - 20-2-thumb.jpg + s02.e20080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 20080803 + season_number: 2 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s02.e20080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 20080803 + plot: https://20-2.com + season: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e21080802 - 21-1-thumb.jpg + s02.e21080802 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 21080801 + episode_id: 21080802 season_number: 2 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s02.e21080801 - 21-1.nfo + s02.e21080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 21080801 + episode: 21080802 plot: https://21-1.com season: 2 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0.txt index 8afba67f..4559adc1 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0.txt @@ -1,82 +1,76 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - season01-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - attributes: - number: 1 - tag: Season 1 - title: unit_jellyfin_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_0 {output_directory}/Season 01 - s01.e79052499 - 21-1-thumb.jpg - s01.e79052499 - 21-1.mp4 + s01.e79052498 - 21-1-thumb.jpg + s01.e79052498 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 79052499 + episode_id: 79052498 season_number: 1 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s01.e79052499 - 21-1.nfo + s01.e79052498 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 79052499 + episode: 79052498 plot: https://21-1.com season: 1 title: 2021-08-08 - Mock Entry 21-1 year: 2021 - s01.e80052498 - 20-1-thumb.jpg - s01.e80052498 - 20-1.mp4 + s01.e80052497 - 20-1-thumb.jpg + s01.e80052497 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052498 + episode_id: 80052497 season_number: 1 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s01.e80052498 - 20-1.nfo + s01.e80052497 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052498 + episode: 80052497 plot: https://20-1.com season: 1 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s01.e80052499 - 20-2-thumb.jpg - s01.e80052499 - 20-2.mp4 + s01.e80052497 - 20-2-thumb.jpg + s01.e80052497 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052499 + episode_id: 80052497 season_number: 1 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s01.e80052499 - 20-2.nfo + s01.e80052497 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052499 + episode: 80052497 plot: https://20-2.com season: 1 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s01.e80052599 - 20-3-thumb.jpg - s01.e80052599 - 20-3.mp4 + s01.e80052598 - 20-3-thumb.jpg + s01.e80052598 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 80052599 + episode_id: 80052598 season_number: 1 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s01.e80052599 - 20-3.nfo + s01.e80052598 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 80052599 + episode: 80052598 plot: https://20-3.com season: 1 title: 2020-08-07 - Mock Entry 20-3 - year: 2020 \ No newline at end of file + year: 2020 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt index 1d8ea7b5..4559adc1 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt @@ -1,84 +1,76 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - season01-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - attributes: - number: 1 - tag: Season 1 - title: unit_jellyfin_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_1 {output_directory}/Season 01 - s01.e79052499 - 21-1-thumb.jpg - s01.e79052499 - 21-1.mp4 + s01.e79052498 - 21-1-thumb.jpg + s01.e79052498 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 79052499 + episode_id: 79052498 season_number: 1 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s01.e79052499 - 21-1.nfo + s01.e79052498 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 79052499 + episode: 79052498 plot: https://21-1.com season: 1 title: 2021-08-08 - Mock Entry 21-1 year: 2021 - s01.e80052498 - 20-1-thumb.jpg - s01.e80052498 - 20-1.mp4 + s01.e80052497 - 20-1-thumb.jpg + s01.e80052497 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052498 + episode_id: 80052497 season_number: 1 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s01.e80052498 - 20-1.nfo + s01.e80052497 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052498 + episode: 80052497 plot: https://20-1.com season: 1 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s01.e80052499 - 20-2-thumb.jpg - s01.e80052499 - 20-2.mp4 + s01.e80052497 - 20-2-thumb.jpg + s01.e80052497 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052499 + episode_id: 80052497 season_number: 1 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s01.e80052499 - 20-2.nfo + s01.e80052497 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052499 + episode: 80052497 plot: https://20-2.com season: 1 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s01.e80052599 - 20-3-thumb.jpg - s01.e80052599 - 20-3.mp4 + s01.e80052598 - 20-3-thumb.jpg + s01.e80052598 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 80052599 + episode_id: 80052598 season_number: 1 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s01.e80052599 - 20-3.nfo + s01.e80052598 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 80052599 + episode: 80052598 plot: https://20-3.com season: 1 title: 2020-08-07 - Mock Entry 20-3 - year: 2020 \ No newline at end of file + year: 2020 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0.txt index 6e7d34e5..303e5fd2 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0.txt @@ -1,157 +1,145 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - season01-poster.jpg - season02-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - - - attributes: - number: 1 - tag: Season 1 - - - attributes: - number: 2 - tag: Season 2 - title: unit_jellyfin_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_0 {output_directory}/Season 01 - s01.e80052699 - 20-4-thumb.jpg - s01.e80052699 - 20-4.mp4 + s01.e80052698 - 20-4-thumb.jpg + s01.e80052698 - 20-4.mp4 Video Tags: date: 2020-08-06 - episode_id: 80052699 + episode_id: 80052698 season_number: 1 synopsis: https://20-4.com title: 2020-08-06 - Mock Entry 20-4 - s01.e80052699 - 20-4.nfo + s01.e80052698 - 20-4.nfo NFO tags: episodedetails: aired: 2020-08-06 - episode: 80052699 + episode: 80052698 plot: https://20-4.com season: 1 title: 2020-08-06 - Mock Entry 20-4 year: 2020 - s01.e80062698 - 20-5-thumb.jpg - s01.e80062698 - 20-5.mp4 + s01.e80062697 - 20-5-thumb.jpg + s01.e80062697 - 20-5.mp4 Video Tags: date: 2020-07-06 - episode_id: 80062698 + episode_id: 80062697 season_number: 1 synopsis: https://20-5.com title: 2020-07-06 - Mock Entry 20-5 - s01.e80062698 - 20-5.nfo + s01.e80062697 - 20-5.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 80062698 + episode: 80062697 plot: https://20-5.com season: 1 title: 2020-07-06 - Mock Entry 20-5 year: 2020 - s01.e80062699 - 20-6-thumb.jpg - s01.e80062699 - 20-6.mp4 + s01.e80062697 - 20-6-thumb.jpg + s01.e80062697 - 20-6.mp4 Video Tags: date: 2020-07-06 - episode_id: 80062699 + episode_id: 80062697 season_number: 1 synopsis: https://20-6.com title: 2020-07-06 - Mock Entry 20-6 - s01.e80062699 - 20-6.nfo + s01.e80062697 - 20-6.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 80062699 + episode: 80062697 plot: https://20-6.com season: 1 title: 2020-07-06 - Mock Entry 20-6 year: 2020 - s01.e80072599 - 20-7-thumb.jpg - s01.e80072599 - 20-7.mp4 + s01.e80072598 - 20-7-thumb.jpg + s01.e80072598 - 20-7.mp4 Video Tags: date: 2020-06-06 - episode_id: 80072599 + episode_id: 80072598 season_number: 1 synopsis: https://20-7.com title: 2020-06-06 - Mock Entry 20-7 - s01.e80072599 - 20-7.nfo + s01.e80072598 - 20-7.nfo NFO tags: episodedetails: aired: 2020-06-06 - episode: 80072599 + episode: 80072598 plot: https://20-7.com season: 1 title: 2020-06-06 - Mock Entry 20-7 year: 2020 {output_directory}/Season 02 - s02.e79052499 - 21-1-thumb.jpg - s02.e79052499 - 21-1.mp4 + s02.e79052498 - 21-1-thumb.jpg + s02.e79052498 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 79052499 + episode_id: 79052498 season_number: 2 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s02.e79052499 - 21-1.nfo + s02.e79052498 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 79052499 + episode: 79052498 plot: https://21-1.com season: 2 title: 2021-08-08 - Mock Entry 21-1 year: 2021 - s02.e80052498 - 20-1-thumb.jpg - s02.e80052498 - 20-1.mp4 + s02.e80052497 - 20-1-thumb.jpg + s02.e80052497 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052498 + episode_id: 80052497 season_number: 2 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s02.e80052498 - 20-1.nfo + s02.e80052497 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052498 + episode: 80052497 plot: https://20-1.com season: 2 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s02.e80052499 - 20-2-thumb.jpg - s02.e80052499 - 20-2.mp4 + s02.e80052497 - 20-2-thumb.jpg + s02.e80052497 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052499 + episode_id: 80052497 season_number: 2 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s02.e80052499 - 20-2.nfo + s02.e80052497 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052499 + episode: 80052497 plot: https://20-2.com season: 2 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s02.e80052599 - 20-3-thumb.jpg - s02.e80052599 - 20-3.mp4 + s02.e80052598 - 20-3-thumb.jpg + s02.e80052598 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 80052599 + episode_id: 80052598 season_number: 2 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s02.e80052599 - 20-3.nfo + s02.e80052598 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 80052599 + episode: 80052598 plot: https://20-3.com season: 2 title: 2020-08-07 - Mock Entry 20-3 - year: 2020 \ No newline at end of file + year: 2020 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt index 4f2deb3d..303e5fd2 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt @@ -1,159 +1,145 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - season01-poster.jpg - season02-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - - - attributes: - number: 1 - tag: Season 1 - - - attributes: - number: 2 - tag: Season 2 - title: unit_jellyfin_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_1 {output_directory}/Season 01 - s01.e80052699 - 20-4-thumb.jpg - s01.e80052699 - 20-4.mp4 + s01.e80052698 - 20-4-thumb.jpg + s01.e80052698 - 20-4.mp4 Video Tags: date: 2020-08-06 - episode_id: 80052699 + episode_id: 80052698 season_number: 1 synopsis: https://20-4.com title: 2020-08-06 - Mock Entry 20-4 - s01.e80052699 - 20-4.nfo + s01.e80052698 - 20-4.nfo NFO tags: episodedetails: aired: 2020-08-06 - episode: 80052699 + episode: 80052698 plot: https://20-4.com season: 1 title: 2020-08-06 - Mock Entry 20-4 year: 2020 - s01.e80062698 - 20-5-thumb.jpg - s01.e80062698 - 20-5.mp4 + s01.e80062697 - 20-5-thumb.jpg + s01.e80062697 - 20-5.mp4 Video Tags: date: 2020-07-06 - episode_id: 80062698 + episode_id: 80062697 season_number: 1 synopsis: https://20-5.com title: 2020-07-06 - Mock Entry 20-5 - s01.e80062698 - 20-5.nfo + s01.e80062697 - 20-5.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 80062698 + episode: 80062697 plot: https://20-5.com season: 1 title: 2020-07-06 - Mock Entry 20-5 year: 2020 - s01.e80062699 - 20-6-thumb.jpg - s01.e80062699 - 20-6.mp4 + s01.e80062697 - 20-6-thumb.jpg + s01.e80062697 - 20-6.mp4 Video Tags: date: 2020-07-06 - episode_id: 80062699 + episode_id: 80062697 season_number: 1 synopsis: https://20-6.com title: 2020-07-06 - Mock Entry 20-6 - s01.e80062699 - 20-6.nfo + s01.e80062697 - 20-6.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 80062699 + episode: 80062697 plot: https://20-6.com season: 1 title: 2020-07-06 - Mock Entry 20-6 year: 2020 - s01.e80072599 - 20-7-thumb.jpg - s01.e80072599 - 20-7.mp4 + s01.e80072598 - 20-7-thumb.jpg + s01.e80072598 - 20-7.mp4 Video Tags: date: 2020-06-06 - episode_id: 80072599 + episode_id: 80072598 season_number: 1 synopsis: https://20-7.com title: 2020-06-06 - Mock Entry 20-7 - s01.e80072599 - 20-7.nfo + s01.e80072598 - 20-7.nfo NFO tags: episodedetails: aired: 2020-06-06 - episode: 80072599 + episode: 80072598 plot: https://20-7.com season: 1 title: 2020-06-06 - Mock Entry 20-7 year: 2020 {output_directory}/Season 02 - s02.e79052499 - 21-1-thumb.jpg - s02.e79052499 - 21-1.mp4 + s02.e79052498 - 21-1-thumb.jpg + s02.e79052498 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 79052499 + episode_id: 79052498 season_number: 2 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s02.e79052499 - 21-1.nfo + s02.e79052498 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 79052499 + episode: 79052498 plot: https://21-1.com season: 2 title: 2021-08-08 - Mock Entry 21-1 year: 2021 - s02.e80052498 - 20-1-thumb.jpg - s02.e80052498 - 20-1.mp4 + s02.e80052497 - 20-1-thumb.jpg + s02.e80052497 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052498 + episode_id: 80052497 season_number: 2 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s02.e80052498 - 20-1.nfo + s02.e80052497 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052498 + episode: 80052497 plot: https://20-1.com season: 2 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s02.e80052499 - 20-2-thumb.jpg - s02.e80052499 - 20-2.mp4 + s02.e80052497 - 20-2-thumb.jpg + s02.e80052497 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052499 + episode_id: 80052497 season_number: 2 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s02.e80052499 - 20-2.nfo + s02.e80052497 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052499 + episode: 80052497 plot: https://20-2.com season: 2 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s02.e80052599 - 20-3-thumb.jpg - s02.e80052599 - 20-3.mp4 + s02.e80052598 - 20-3-thumb.jpg + s02.e80052598 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 80052599 + episode_id: 80052598 season_number: 2 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s02.e80052599 - 20-3.nfo + s02.e80052598 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 80052599 + episode: 80052598 plot: https://20-3.com season: 2 title: 2020-08-07 - Mock Entry 20-3 - year: 2020 \ No newline at end of file + year: 2020 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year__episode_by_month_day.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year__episode_by_month_day.txt index f221b60c..80237f4e 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year__episode_by_month_day.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year__episode_by_month_day.txt @@ -1,22 +1,15 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_jellyfin_tv_show_url_season_by_year__episode_by_month_day {output_directory}/Season 2020 - s2020.e080701 - 20-3-thumb.jpg - s2020.e080701 - 20-3.mp4 + s2020.e080702 - 20-3-thumb.jpg + s2020.e080702 - 20-3.mp4 Video Tags: date: 2020-08-07 episode_id: 807 season_number: 2020 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s2020.e080701 - 20-3.nfo + s2020.e080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 @@ -25,32 +18,15 @@ Files created: season: 2020 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s2020.e080801 - 20-2-thumb.jpg - s2020.e080801 - 20-2.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 808 - season_number: 2020 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s2020.e080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 808 - plot: https://20-2.com - season: 2020 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s2020.e080802 - 20-1-thumb.jpg - s2020.e080802 - 20-1.mp4 + s2020.e080803 - 20-1-thumb.jpg + s2020.e080803 - 20-1.mp4 Video Tags: date: 2020-08-08 episode_id: 808 season_number: 2020 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s2020.e080802 - 20-1.nfo + s2020.e080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 @@ -59,16 +35,33 @@ Files created: season: 2020 title: 2020-08-08 - Mock Entry 20-1 year: 2020 + s2020.e080803 - 20-2-thumb.jpg + s2020.e080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 808 + season_number: 2020 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s2020.e080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 808 + plot: https://20-2.com + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 {output_directory}/Season 2021 - s2021.e080801 - 21-1-thumb.jpg - s2021.e080801 - 21-1.mp4 + s2021.e080802 - 21-1-thumb.jpg + s2021.e080802 - 21-1.mp4 Video Tags: date: 2021-08-08 episode_id: 808 season_number: 2021 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s2021.e080801 - 21-1.nfo + s2021.e080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 @@ -76,4 +69,9 @@ Files created: plot: https://21-1.com season: 2021 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year__episode_by_month_day_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year__episode_by_month_day_reversed.txt index df75c2ee..81f0d272 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year__episode_by_month_day_reversed.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year__episode_by_month_day_reversed.txt @@ -1,79 +1,77 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_jellyfin_tv_show_url_season_by_year__episode_by_month_day_reversed {output_directory}/Season 2020 - s2020.e14698 - 20-1-thumb.jpg - s2020.e14698 - 20-1.mp4 + s2020.e14697 - 20-1-thumb.jpg + s2020.e14697 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 14698 + episode_id: 14697 season_number: 2020 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s2020.e14698 - 20-1.nfo + s2020.e14697 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 14698 + episode: 14697 plot: https://20-1.com season: 2020 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s2020.e14699 - 20-2-thumb.jpg - s2020.e14699 - 20-2.mp4 + s2020.e14697 - 20-2-thumb.jpg + s2020.e14697 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 14699 + episode_id: 14697 season_number: 2020 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s2020.e14699 - 20-2.nfo + s2020.e14697 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 14699 + episode: 14697 plot: https://20-2.com season: 2020 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s2020.e14799 - 20-3-thumb.jpg - s2020.e14799 - 20-3.mp4 + s2020.e14798 - 20-3-thumb.jpg + s2020.e14798 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 14799 + episode_id: 14798 season_number: 2020 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s2020.e14799 - 20-3.nfo + s2020.e14798 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 14799 + episode: 14798 plot: https://20-3.com season: 2020 title: 2020-08-07 - Mock Entry 20-3 year: 2020 {output_directory}/Season 2021 - s2021.e14699 - 21-1-thumb.jpg - s2021.e14699 - 21-1.mp4 + s2021.e14698 - 21-1-thumb.jpg + s2021.e14698 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 14699 + episode_id: 14698 season_number: 2021 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s2021.e14699 - 21-1.nfo + s2021.e14698 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 14699 + episode: 14698 plot: https://21-1.com season: 2021 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year_month__episode_by_day.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year_month__episode_by_day.txt index cbf99a2e..9f9c1b33 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year_month__episode_by_day.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_url/season_by_year_month__episode_by_day.txt @@ -1,22 +1,15 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_jellyfin_tv_show_url_season_by_year_month__episode_by_day {output_directory}/Season 202008 - s202008.e0701 - 20-3-thumb.jpg - s202008.e0701 - 20-3.mp4 + s202008.e0702 - 20-3-thumb.jpg + s202008.e0702 - 20-3.mp4 Video Tags: date: 2020-08-07 episode_id: 7 season_number: 202008 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s202008.e0701 - 20-3.nfo + s202008.e0702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 @@ -25,32 +18,15 @@ Files created: season: 202008 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s202008.e0801 - 20-2-thumb.jpg - s202008.e0801 - 20-2.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 8 - season_number: 202008 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s202008.e0801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 8 - plot: https://20-2.com - season: 202008 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s202008.e0802 - 20-1-thumb.jpg - s202008.e0802 - 20-1.mp4 + s202008.e0803 - 20-1-thumb.jpg + s202008.e0803 - 20-1.mp4 Video Tags: date: 2020-08-08 episode_id: 8 season_number: 202008 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s202008.e0802 - 20-1.nfo + s202008.e0803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 @@ -59,16 +35,33 @@ Files created: season: 202008 title: 2020-08-08 - Mock Entry 20-1 year: 2020 + s202008.e0803 - 20-2-thumb.jpg + s202008.e0803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 8 + season_number: 202008 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s202008.e0803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 8 + plot: https://20-2.com + season: 202008 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 {output_directory}/Season 202108 - s202108.e0801 - 21-1-thumb.jpg - s202108.e0801 - 21-1.mp4 + s202108.e0802 - 21-1-thumb.jpg + s202108.e0802 - 21-1.mp4 Video Tags: date: 2021-08-08 episode_id: 8 season_number: 202108 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s202108.e0801 - 21-1.nfo + s202108.e0802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 @@ -76,4 +69,9 @@ Files created: plot: https://21-1.com season: 202108 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt index 38100967..80237f4e 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt @@ -1,23 +1,15 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_jellyfin_tv_show_youtube_channel_season_by_year__episode_by_month_day {output_directory}/Season 2020 - s2020.e080701 - 20-3-thumb.jpg - s2020.e080701 - 20-3.mp4 + s2020.e080702 - 20-3-thumb.jpg + s2020.e080702 - 20-3.mp4 Video Tags: date: 2020-08-07 episode_id: 807 season_number: 2020 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s2020.e080701 - 20-3.nfo + s2020.e080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 @@ -26,32 +18,15 @@ Files created: season: 2020 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s2020.e080801 - 20-2-thumb.jpg - s2020.e080801 - 20-2.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 808 - season_number: 2020 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s2020.e080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 808 - plot: https://20-2.com - season: 2020 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s2020.e080802 - 20-1-thumb.jpg - s2020.e080802 - 20-1.mp4 + s2020.e080803 - 20-1-thumb.jpg + s2020.e080803 - 20-1.mp4 Video Tags: date: 2020-08-08 episode_id: 808 season_number: 2020 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s2020.e080802 - 20-1.nfo + s2020.e080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 @@ -60,16 +35,33 @@ Files created: season: 2020 title: 2020-08-08 - Mock Entry 20-1 year: 2020 + s2020.e080803 - 20-2-thumb.jpg + s2020.e080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 808 + season_number: 2020 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s2020.e080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 808 + plot: https://20-2.com + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 {output_directory}/Season 2021 - s2021.e080801 - 21-1-thumb.jpg - s2021.e080801 - 21-1.mp4 + s2021.e080802 - 21-1-thumb.jpg + s2021.e080802 - 21-1.mp4 Video Tags: date: 2021-08-08 episode_id: 808 season_number: 2021 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s2021.e080801 - 21-1.nfo + s2021.e080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 @@ -77,4 +69,9 @@ Files created: plot: https://21-1.com season: 2021 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt index 7a2f2f8d..81f0d272 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt @@ -1,80 +1,77 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_jellyfin_tv_show_youtube_channel_season_by_year__episode_by_month_day_reversed {output_directory}/Season 2020 - s2020.e14698 - 20-1-thumb.jpg - s2020.e14698 - 20-1.mp4 + s2020.e14697 - 20-1-thumb.jpg + s2020.e14697 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 14698 + episode_id: 14697 season_number: 2020 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s2020.e14698 - 20-1.nfo + s2020.e14697 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 14698 + episode: 14697 plot: https://20-1.com season: 2020 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s2020.e14699 - 20-2-thumb.jpg - s2020.e14699 - 20-2.mp4 + s2020.e14697 - 20-2-thumb.jpg + s2020.e14697 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 14699 + episode_id: 14697 season_number: 2020 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s2020.e14699 - 20-2.nfo + s2020.e14697 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 14699 + episode: 14697 plot: https://20-2.com season: 2020 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s2020.e14799 - 20-3-thumb.jpg - s2020.e14799 - 20-3.mp4 + s2020.e14798 - 20-3-thumb.jpg + s2020.e14798 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 14799 + episode_id: 14798 season_number: 2020 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s2020.e14799 - 20-3.nfo + s2020.e14798 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 14799 + episode: 14798 plot: https://20-3.com season: 2020 title: 2020-08-07 - Mock Entry 20-3 year: 2020 {output_directory}/Season 2021 - s2021.e14699 - 21-1-thumb.jpg - s2021.e14699 - 21-1.mp4 + s2021.e14698 - 21-1-thumb.jpg + s2021.e14698 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 14699 + episode_id: 14698 season_number: 2021 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s2021.e14699 - 21-1.nfo + s2021.e14698 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 14699 + episode: 14698 plot: https://21-1.com season: 2021 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt index dbeb9868..9f9c1b33 100644 --- a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt @@ -1,23 +1,15 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_jellyfin_tv_show_youtube_channel_season_by_year_month__episode_by_day {output_directory}/Season 202008 - s202008.e0701 - 20-3-thumb.jpg - s202008.e0701 - 20-3.mp4 + s202008.e0702 - 20-3-thumb.jpg + s202008.e0702 - 20-3.mp4 Video Tags: date: 2020-08-07 episode_id: 7 season_number: 202008 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s202008.e0701 - 20-3.nfo + s202008.e0702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 @@ -26,32 +18,15 @@ Files created: season: 202008 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s202008.e0801 - 20-2-thumb.jpg - s202008.e0801 - 20-2.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 8 - season_number: 202008 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s202008.e0801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 8 - plot: https://20-2.com - season: 202008 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s202008.e0802 - 20-1-thumb.jpg - s202008.e0802 - 20-1.mp4 + s202008.e0803 - 20-1-thumb.jpg + s202008.e0803 - 20-1.mp4 Video Tags: date: 2020-08-08 episode_id: 8 season_number: 202008 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s202008.e0802 - 20-1.nfo + s202008.e0803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 @@ -60,16 +35,33 @@ Files created: season: 202008 title: 2020-08-08 - Mock Entry 20-1 year: 2020 + s202008.e0803 - 20-2-thumb.jpg + s202008.e0803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 8 + season_number: 202008 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s202008.e0803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 8 + plot: https://20-2.com + season: 202008 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 {output_directory}/Season 202108 - s202108.e0801 - 21-1-thumb.jpg - s202108.e0801 - 21-1.mp4 + s202108.e0802 - 21-1-thumb.jpg + s202108.e0802 - 21-1.mp4 Video Tags: date: 2021-08-08 episode_id: 8 season_number: 202108 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s202108.e0801 - 21-1.nfo + s202108.e0802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 @@ -77,4 +69,9 @@ Files created: plot: https://21-1.com season: 202108 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0.txt index 5861e38f..3f704d35 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0.txt @@ -1,82 +1,76 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - season01-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - attributes: - number: 1 - tag: Season 1 - title: unit_kodi_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_0 {output_directory}/Season 01 - s01.e20080701 - 20-3-thumb.jpg - s01.e20080701 - 20-3.mp4 + s01.e20080702 - 20-3-thumb.jpg + s01.e20080702 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 20080701 + episode_id: 20080702 season_number: 1 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s01.e20080701 - 20-3.nfo + s01.e20080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 20080701 + episode: 20080702 plot: https://20-3.com season: 1 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s01.e20080801 - 20-2-thumb.jpg - s01.e20080801 - 20-2.mp4 + s01.e20080803 - 20-1-thumb.jpg + s01.e20080803 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 20080801 - season_number: 1 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s01.e20080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 20080801 - plot: https://20-2.com - season: 1 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s01.e20080802 - 20-1-thumb.jpg - s01.e20080802 - 20-1.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 20080802 + episode_id: 20080803 season_number: 1 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s01.e20080802 - 20-1.nfo + s01.e20080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 20080802 + episode: 20080803 plot: https://20-1.com season: 1 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s01.e21080801 - 21-1-thumb.jpg - s01.e21080801 - 21-1.mp4 + s01.e20080803 - 20-2-thumb.jpg + s01.e20080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 20080803 + season_number: 1 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s01.e20080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 20080803 + plot: https://20-2.com + season: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e21080802 - 21-1-thumb.jpg + s01.e21080802 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 21080801 + episode_id: 21080802 season_number: 1 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s01.e21080801 - 21-1.nfo + s01.e21080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 21080801 + episode: 21080802 plot: https://21-1.com season: 1 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt index 6e20f7c9..3f704d35 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt @@ -1,84 +1,76 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - season01-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - attributes: - number: 1 - tag: Season 1 - title: unit_kodi_tv_show_collection_season_by_collection__episode_by_year_month_day_s_1_is_yt_1 {output_directory}/Season 01 - s01.e20080701 - 20-3-thumb.jpg - s01.e20080701 - 20-3.mp4 + s01.e20080702 - 20-3-thumb.jpg + s01.e20080702 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 20080701 + episode_id: 20080702 season_number: 1 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s01.e20080701 - 20-3.nfo + s01.e20080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 20080701 + episode: 20080702 plot: https://20-3.com season: 1 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s01.e20080801 - 20-2-thumb.jpg - s01.e20080801 - 20-2.mp4 + s01.e20080803 - 20-1-thumb.jpg + s01.e20080803 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 20080801 - season_number: 1 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s01.e20080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 20080801 - plot: https://20-2.com - season: 1 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s01.e20080802 - 20-1-thumb.jpg - s01.e20080802 - 20-1.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 20080802 + episode_id: 20080803 season_number: 1 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s01.e20080802 - 20-1.nfo + s01.e20080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 20080802 + episode: 20080803 plot: https://20-1.com season: 1 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s01.e21080801 - 21-1-thumb.jpg - s01.e21080801 - 21-1.mp4 + s01.e20080803 - 20-2-thumb.jpg + s01.e20080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 20080803 + season_number: 1 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s01.e20080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 20080803 + plot: https://20-2.com + season: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e21080802 - 21-1-thumb.jpg + s01.e21080802 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 21080801 + episode_id: 21080802 season_number: 1 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s01.e21080801 - 21-1.nfo + s01.e21080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 21080801 + episode: 21080802 plot: https://21-1.com season: 1 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0.txt index fa295d7a..9ea8d0b1 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0.txt @@ -1,157 +1,145 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - season01-poster.jpg - season02-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - - - attributes: - number: 1 - tag: Season 1 - - - attributes: - number: 2 - tag: Season 2 - title: unit_kodi_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_0 {output_directory}/Season 01 - s01.e20060601 - 20-7-thumb.jpg - s01.e20060601 - 20-7.mp4 + s01.e20060602 - 20-7-thumb.jpg + s01.e20060602 - 20-7.mp4 Video Tags: date: 2020-06-06 - episode_id: 20060601 + episode_id: 20060602 season_number: 1 synopsis: https://20-7.com title: 2020-06-06 - Mock Entry 20-7 - s01.e20060601 - 20-7.nfo + s01.e20060602 - 20-7.nfo NFO tags: episodedetails: aired: 2020-06-06 - episode: 20060601 + episode: 20060602 plot: https://20-7.com season: 1 title: 2020-06-06 - Mock Entry 20-7 year: 2020 - s01.e20070601 - 20-6-thumb.jpg - s01.e20070601 - 20-6.mp4 + s01.e20070603 - 20-5-thumb.jpg + s01.e20070603 - 20-5.mp4 Video Tags: date: 2020-07-06 - episode_id: 20070601 - season_number: 1 - synopsis: https://20-6.com - title: 2020-07-06 - Mock Entry 20-6 - s01.e20070601 - 20-6.nfo - NFO tags: - episodedetails: - aired: 2020-07-06 - episode: 20070601 - plot: https://20-6.com - season: 1 - title: 2020-07-06 - Mock Entry 20-6 - year: 2020 - s01.e20070602 - 20-5-thumb.jpg - s01.e20070602 - 20-5.mp4 - Video Tags: - date: 2020-07-06 - episode_id: 20070602 + episode_id: 20070603 season_number: 1 synopsis: https://20-5.com title: 2020-07-06 - Mock Entry 20-5 - s01.e20070602 - 20-5.nfo + s01.e20070603 - 20-5.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 20070602 + episode: 20070603 plot: https://20-5.com season: 1 title: 2020-07-06 - Mock Entry 20-5 year: 2020 - s01.e20080601 - 20-4-thumb.jpg - s01.e20080601 - 20-4.mp4 + s01.e20070603 - 20-6-thumb.jpg + s01.e20070603 - 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 20070603 + season_number: 1 + synopsis: https://20-6.com + title: 2020-07-06 - Mock Entry 20-6 + s01.e20070603 - 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 20070603 + plot: https://20-6.com + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e20080602 - 20-4-thumb.jpg + s01.e20080602 - 20-4.mp4 Video Tags: date: 2020-08-06 - episode_id: 20080601 + episode_id: 20080602 season_number: 1 synopsis: https://20-4.com title: 2020-08-06 - Mock Entry 20-4 - s01.e20080601 - 20-4.nfo + s01.e20080602 - 20-4.nfo NFO tags: episodedetails: aired: 2020-08-06 - episode: 20080601 + episode: 20080602 plot: https://20-4.com season: 1 title: 2020-08-06 - Mock Entry 20-4 year: 2020 {output_directory}/Season 02 - s02.e20080701 - 20-3-thumb.jpg - s02.e20080701 - 20-3.mp4 + s02.e20080702 - 20-3-thumb.jpg + s02.e20080702 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 20080701 + episode_id: 20080702 season_number: 2 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s02.e20080701 - 20-3.nfo + s02.e20080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 20080701 + episode: 20080702 plot: https://20-3.com season: 2 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s02.e20080801 - 20-2-thumb.jpg - s02.e20080801 - 20-2.mp4 + s02.e20080803 - 20-1-thumb.jpg + s02.e20080803 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 20080801 - season_number: 2 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s02.e20080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 20080801 - plot: https://20-2.com - season: 2 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s02.e20080802 - 20-1-thumb.jpg - s02.e20080802 - 20-1.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 20080802 + episode_id: 20080803 season_number: 2 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s02.e20080802 - 20-1.nfo + s02.e20080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 20080802 + episode: 20080803 plot: https://20-1.com season: 2 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s02.e21080801 - 21-1-thumb.jpg - s02.e21080801 - 21-1.mp4 + s02.e20080803 - 20-2-thumb.jpg + s02.e20080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 20080803 + season_number: 2 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s02.e20080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 20080803 + plot: https://20-2.com + season: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e21080802 - 21-1-thumb.jpg + s02.e21080802 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 21080801 + episode_id: 21080802 season_number: 2 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s02.e21080801 - 21-1.nfo + s02.e21080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 21080801 + episode: 21080802 plot: https://21-1.com season: 2 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt index 379aef5f..9ea8d0b1 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt @@ -1,159 +1,145 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - season01-poster.jpg - season02-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - - - attributes: - number: 1 - tag: Season 1 - - - attributes: - number: 2 - tag: Season 2 - title: unit_kodi_tv_show_collection_season_by_collection__episode_by_year_month_day_s_2_is_yt_1 {output_directory}/Season 01 - s01.e20060601 - 20-7-thumb.jpg - s01.e20060601 - 20-7.mp4 + s01.e20060602 - 20-7-thumb.jpg + s01.e20060602 - 20-7.mp4 Video Tags: date: 2020-06-06 - episode_id: 20060601 + episode_id: 20060602 season_number: 1 synopsis: https://20-7.com title: 2020-06-06 - Mock Entry 20-7 - s01.e20060601 - 20-7.nfo + s01.e20060602 - 20-7.nfo NFO tags: episodedetails: aired: 2020-06-06 - episode: 20060601 + episode: 20060602 plot: https://20-7.com season: 1 title: 2020-06-06 - Mock Entry 20-7 year: 2020 - s01.e20070601 - 20-6-thumb.jpg - s01.e20070601 - 20-6.mp4 + s01.e20070603 - 20-5-thumb.jpg + s01.e20070603 - 20-5.mp4 Video Tags: date: 2020-07-06 - episode_id: 20070601 - season_number: 1 - synopsis: https://20-6.com - title: 2020-07-06 - Mock Entry 20-6 - s01.e20070601 - 20-6.nfo - NFO tags: - episodedetails: - aired: 2020-07-06 - episode: 20070601 - plot: https://20-6.com - season: 1 - title: 2020-07-06 - Mock Entry 20-6 - year: 2020 - s01.e20070602 - 20-5-thumb.jpg - s01.e20070602 - 20-5.mp4 - Video Tags: - date: 2020-07-06 - episode_id: 20070602 + episode_id: 20070603 season_number: 1 synopsis: https://20-5.com title: 2020-07-06 - Mock Entry 20-5 - s01.e20070602 - 20-5.nfo + s01.e20070603 - 20-5.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 20070602 + episode: 20070603 plot: https://20-5.com season: 1 title: 2020-07-06 - Mock Entry 20-5 year: 2020 - s01.e20080601 - 20-4-thumb.jpg - s01.e20080601 - 20-4.mp4 + s01.e20070603 - 20-6-thumb.jpg + s01.e20070603 - 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 20070603 + season_number: 1 + synopsis: https://20-6.com + title: 2020-07-06 - Mock Entry 20-6 + s01.e20070603 - 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 20070603 + plot: https://20-6.com + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e20080602 - 20-4-thumb.jpg + s01.e20080602 - 20-4.mp4 Video Tags: date: 2020-08-06 - episode_id: 20080601 + episode_id: 20080602 season_number: 1 synopsis: https://20-4.com title: 2020-08-06 - Mock Entry 20-4 - s01.e20080601 - 20-4.nfo + s01.e20080602 - 20-4.nfo NFO tags: episodedetails: aired: 2020-08-06 - episode: 20080601 + episode: 20080602 plot: https://20-4.com season: 1 title: 2020-08-06 - Mock Entry 20-4 year: 2020 {output_directory}/Season 02 - s02.e20080701 - 20-3-thumb.jpg - s02.e20080701 - 20-3.mp4 + s02.e20080702 - 20-3-thumb.jpg + s02.e20080702 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 20080701 + episode_id: 20080702 season_number: 2 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s02.e20080701 - 20-3.nfo + s02.e20080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 20080701 + episode: 20080702 plot: https://20-3.com season: 2 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s02.e20080801 - 20-2-thumb.jpg - s02.e20080801 - 20-2.mp4 + s02.e20080803 - 20-1-thumb.jpg + s02.e20080803 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 20080801 - season_number: 2 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s02.e20080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 20080801 - plot: https://20-2.com - season: 2 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s02.e20080802 - 20-1-thumb.jpg - s02.e20080802 - 20-1.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 20080802 + episode_id: 20080803 season_number: 2 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s02.e20080802 - 20-1.nfo + s02.e20080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 20080802 + episode: 20080803 plot: https://20-1.com season: 2 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s02.e21080801 - 21-1-thumb.jpg - s02.e21080801 - 21-1.mp4 + s02.e20080803 - 20-2-thumb.jpg + s02.e20080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 20080803 + season_number: 2 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s02.e20080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 20080803 + plot: https://20-2.com + season: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e21080802 - 21-1-thumb.jpg + s02.e21080802 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 21080801 + episode_id: 21080802 season_number: 2 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s02.e21080801 - 21-1.nfo + s02.e21080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 21080801 + episode: 21080802 plot: https://21-1.com season: 2 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0.txt index b8530e45..4559adc1 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0.txt @@ -1,82 +1,76 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - season01-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - attributes: - number: 1 - tag: Season 1 - title: unit_kodi_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_0 {output_directory}/Season 01 - s01.e79052499 - 21-1-thumb.jpg - s01.e79052499 - 21-1.mp4 + s01.e79052498 - 21-1-thumb.jpg + s01.e79052498 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 79052499 + episode_id: 79052498 season_number: 1 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s01.e79052499 - 21-1.nfo + s01.e79052498 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 79052499 + episode: 79052498 plot: https://21-1.com season: 1 title: 2021-08-08 - Mock Entry 21-1 year: 2021 - s01.e80052498 - 20-1-thumb.jpg - s01.e80052498 - 20-1.mp4 + s01.e80052497 - 20-1-thumb.jpg + s01.e80052497 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052498 + episode_id: 80052497 season_number: 1 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s01.e80052498 - 20-1.nfo + s01.e80052497 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052498 + episode: 80052497 plot: https://20-1.com season: 1 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s01.e80052499 - 20-2-thumb.jpg - s01.e80052499 - 20-2.mp4 + s01.e80052497 - 20-2-thumb.jpg + s01.e80052497 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052499 + episode_id: 80052497 season_number: 1 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s01.e80052499 - 20-2.nfo + s01.e80052497 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052499 + episode: 80052497 plot: https://20-2.com season: 1 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s01.e80052599 - 20-3-thumb.jpg - s01.e80052599 - 20-3.mp4 + s01.e80052598 - 20-3-thumb.jpg + s01.e80052598 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 80052599 + episode_id: 80052598 season_number: 1 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s01.e80052599 - 20-3.nfo + s01.e80052598 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 80052599 + episode: 80052598 plot: https://20-3.com season: 1 title: 2020-08-07 - Mock Entry 20-3 - year: 2020 \ No newline at end of file + year: 2020 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt index 876f99d3..4559adc1 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt @@ -1,84 +1,76 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - season01-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - attributes: - number: 1 - tag: Season 1 - title: unit_kodi_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_1_is_yt_1 {output_directory}/Season 01 - s01.e79052499 - 21-1-thumb.jpg - s01.e79052499 - 21-1.mp4 + s01.e79052498 - 21-1-thumb.jpg + s01.e79052498 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 79052499 + episode_id: 79052498 season_number: 1 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s01.e79052499 - 21-1.nfo + s01.e79052498 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 79052499 + episode: 79052498 plot: https://21-1.com season: 1 title: 2021-08-08 - Mock Entry 21-1 year: 2021 - s01.e80052498 - 20-1-thumb.jpg - s01.e80052498 - 20-1.mp4 + s01.e80052497 - 20-1-thumb.jpg + s01.e80052497 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052498 + episode_id: 80052497 season_number: 1 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s01.e80052498 - 20-1.nfo + s01.e80052497 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052498 + episode: 80052497 plot: https://20-1.com season: 1 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s01.e80052499 - 20-2-thumb.jpg - s01.e80052499 - 20-2.mp4 + s01.e80052497 - 20-2-thumb.jpg + s01.e80052497 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052499 + episode_id: 80052497 season_number: 1 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s01.e80052499 - 20-2.nfo + s01.e80052497 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052499 + episode: 80052497 plot: https://20-2.com season: 1 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s01.e80052599 - 20-3-thumb.jpg - s01.e80052599 - 20-3.mp4 + s01.e80052598 - 20-3-thumb.jpg + s01.e80052598 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 80052599 + episode_id: 80052598 season_number: 1 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s01.e80052599 - 20-3.nfo + s01.e80052598 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 80052599 + episode: 80052598 plot: https://20-3.com season: 1 title: 2020-08-07 - Mock Entry 20-3 - year: 2020 \ No newline at end of file + year: 2020 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0.txt index 3aa036c3..303e5fd2 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0.txt @@ -1,157 +1,145 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - season01-poster.jpg - season02-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - - - attributes: - number: 1 - tag: Season 1 - - - attributes: - number: 2 - tag: Season 2 - title: unit_kodi_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_0 {output_directory}/Season 01 - s01.e80052699 - 20-4-thumb.jpg - s01.e80052699 - 20-4.mp4 + s01.e80052698 - 20-4-thumb.jpg + s01.e80052698 - 20-4.mp4 Video Tags: date: 2020-08-06 - episode_id: 80052699 + episode_id: 80052698 season_number: 1 synopsis: https://20-4.com title: 2020-08-06 - Mock Entry 20-4 - s01.e80052699 - 20-4.nfo + s01.e80052698 - 20-4.nfo NFO tags: episodedetails: aired: 2020-08-06 - episode: 80052699 + episode: 80052698 plot: https://20-4.com season: 1 title: 2020-08-06 - Mock Entry 20-4 year: 2020 - s01.e80062698 - 20-5-thumb.jpg - s01.e80062698 - 20-5.mp4 + s01.e80062697 - 20-5-thumb.jpg + s01.e80062697 - 20-5.mp4 Video Tags: date: 2020-07-06 - episode_id: 80062698 + episode_id: 80062697 season_number: 1 synopsis: https://20-5.com title: 2020-07-06 - Mock Entry 20-5 - s01.e80062698 - 20-5.nfo + s01.e80062697 - 20-5.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 80062698 + episode: 80062697 plot: https://20-5.com season: 1 title: 2020-07-06 - Mock Entry 20-5 year: 2020 - s01.e80062699 - 20-6-thumb.jpg - s01.e80062699 - 20-6.mp4 + s01.e80062697 - 20-6-thumb.jpg + s01.e80062697 - 20-6.mp4 Video Tags: date: 2020-07-06 - episode_id: 80062699 + episode_id: 80062697 season_number: 1 synopsis: https://20-6.com title: 2020-07-06 - Mock Entry 20-6 - s01.e80062699 - 20-6.nfo + s01.e80062697 - 20-6.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 80062699 + episode: 80062697 plot: https://20-6.com season: 1 title: 2020-07-06 - Mock Entry 20-6 year: 2020 - s01.e80072599 - 20-7-thumb.jpg - s01.e80072599 - 20-7.mp4 + s01.e80072598 - 20-7-thumb.jpg + s01.e80072598 - 20-7.mp4 Video Tags: date: 2020-06-06 - episode_id: 80072599 + episode_id: 80072598 season_number: 1 synopsis: https://20-7.com title: 2020-06-06 - Mock Entry 20-7 - s01.e80072599 - 20-7.nfo + s01.e80072598 - 20-7.nfo NFO tags: episodedetails: aired: 2020-06-06 - episode: 80072599 + episode: 80072598 plot: https://20-7.com season: 1 title: 2020-06-06 - Mock Entry 20-7 year: 2020 {output_directory}/Season 02 - s02.e79052499 - 21-1-thumb.jpg - s02.e79052499 - 21-1.mp4 + s02.e79052498 - 21-1-thumb.jpg + s02.e79052498 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 79052499 + episode_id: 79052498 season_number: 2 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s02.e79052499 - 21-1.nfo + s02.e79052498 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 79052499 + episode: 79052498 plot: https://21-1.com season: 2 title: 2021-08-08 - Mock Entry 21-1 year: 2021 - s02.e80052498 - 20-1-thumb.jpg - s02.e80052498 - 20-1.mp4 + s02.e80052497 - 20-1-thumb.jpg + s02.e80052497 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052498 + episode_id: 80052497 season_number: 2 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s02.e80052498 - 20-1.nfo + s02.e80052497 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052498 + episode: 80052497 plot: https://20-1.com season: 2 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s02.e80052499 - 20-2-thumb.jpg - s02.e80052499 - 20-2.mp4 + s02.e80052497 - 20-2-thumb.jpg + s02.e80052497 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052499 + episode_id: 80052497 season_number: 2 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s02.e80052499 - 20-2.nfo + s02.e80052497 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052499 + episode: 80052497 plot: https://20-2.com season: 2 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s02.e80052599 - 20-3-thumb.jpg - s02.e80052599 - 20-3.mp4 + s02.e80052598 - 20-3-thumb.jpg + s02.e80052598 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 80052599 + episode_id: 80052598 season_number: 2 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s02.e80052599 - 20-3.nfo + s02.e80052598 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 80052599 + episode: 80052598 plot: https://20-3.com season: 2 title: 2020-08-07 - Mock Entry 20-3 - year: 2020 \ No newline at end of file + year: 2020 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt index ac716b71..303e5fd2 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt @@ -1,159 +1,145 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - season01-poster.jpg - season02-poster.jpg - tvshow.nfo - NFO tags: - tvshow: - namedseason: - - - attributes: - number: 1 - tag: Season 1 - - - attributes: - number: 2 - tag: Season 2 - title: unit_kodi_tv_show_collection_season_by_collection__episode_by_year_month_day_reversed_s_2_is_yt_1 {output_directory}/Season 01 - s01.e80052699 - 20-4-thumb.jpg - s01.e80052699 - 20-4.mp4 + s01.e80052698 - 20-4-thumb.jpg + s01.e80052698 - 20-4.mp4 Video Tags: date: 2020-08-06 - episode_id: 80052699 + episode_id: 80052698 season_number: 1 synopsis: https://20-4.com title: 2020-08-06 - Mock Entry 20-4 - s01.e80052699 - 20-4.nfo + s01.e80052698 - 20-4.nfo NFO tags: episodedetails: aired: 2020-08-06 - episode: 80052699 + episode: 80052698 plot: https://20-4.com season: 1 title: 2020-08-06 - Mock Entry 20-4 year: 2020 - s01.e80062698 - 20-5-thumb.jpg - s01.e80062698 - 20-5.mp4 + s01.e80062697 - 20-5-thumb.jpg + s01.e80062697 - 20-5.mp4 Video Tags: date: 2020-07-06 - episode_id: 80062698 + episode_id: 80062697 season_number: 1 synopsis: https://20-5.com title: 2020-07-06 - Mock Entry 20-5 - s01.e80062698 - 20-5.nfo + s01.e80062697 - 20-5.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 80062698 + episode: 80062697 plot: https://20-5.com season: 1 title: 2020-07-06 - Mock Entry 20-5 year: 2020 - s01.e80062699 - 20-6-thumb.jpg - s01.e80062699 - 20-6.mp4 + s01.e80062697 - 20-6-thumb.jpg + s01.e80062697 - 20-6.mp4 Video Tags: date: 2020-07-06 - episode_id: 80062699 + episode_id: 80062697 season_number: 1 synopsis: https://20-6.com title: 2020-07-06 - Mock Entry 20-6 - s01.e80062699 - 20-6.nfo + s01.e80062697 - 20-6.nfo NFO tags: episodedetails: aired: 2020-07-06 - episode: 80062699 + episode: 80062697 plot: https://20-6.com season: 1 title: 2020-07-06 - Mock Entry 20-6 year: 2020 - s01.e80072599 - 20-7-thumb.jpg - s01.e80072599 - 20-7.mp4 + s01.e80072598 - 20-7-thumb.jpg + s01.e80072598 - 20-7.mp4 Video Tags: date: 2020-06-06 - episode_id: 80072599 + episode_id: 80072598 season_number: 1 synopsis: https://20-7.com title: 2020-06-06 - Mock Entry 20-7 - s01.e80072599 - 20-7.nfo + s01.e80072598 - 20-7.nfo NFO tags: episodedetails: aired: 2020-06-06 - episode: 80072599 + episode: 80072598 plot: https://20-7.com season: 1 title: 2020-06-06 - Mock Entry 20-7 year: 2020 {output_directory}/Season 02 - s02.e79052499 - 21-1-thumb.jpg - s02.e79052499 - 21-1.mp4 + s02.e79052498 - 21-1-thumb.jpg + s02.e79052498 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 79052499 + episode_id: 79052498 season_number: 2 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s02.e79052499 - 21-1.nfo + s02.e79052498 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 79052499 + episode: 79052498 plot: https://21-1.com season: 2 title: 2021-08-08 - Mock Entry 21-1 year: 2021 - s02.e80052498 - 20-1-thumb.jpg - s02.e80052498 - 20-1.mp4 + s02.e80052497 - 20-1-thumb.jpg + s02.e80052497 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052498 + episode_id: 80052497 season_number: 2 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s02.e80052498 - 20-1.nfo + s02.e80052497 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052498 + episode: 80052497 plot: https://20-1.com season: 2 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s02.e80052499 - 20-2-thumb.jpg - s02.e80052499 - 20-2.mp4 + s02.e80052497 - 20-2-thumb.jpg + s02.e80052497 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 80052499 + episode_id: 80052497 season_number: 2 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s02.e80052499 - 20-2.nfo + s02.e80052497 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 80052499 + episode: 80052497 plot: https://20-2.com season: 2 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s02.e80052599 - 20-3-thumb.jpg - s02.e80052599 - 20-3.mp4 + s02.e80052598 - 20-3-thumb.jpg + s02.e80052598 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 80052599 + episode_id: 80052598 season_number: 2 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s02.e80052599 - 20-3.nfo + s02.e80052598 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 80052599 + episode: 80052598 plot: https://20-3.com season: 2 title: 2020-08-07 - Mock Entry 20-3 - year: 2020 \ No newline at end of file + year: 2020 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year__episode_by_month_day.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year__episode_by_month_day.txt index eb6d64ff..80237f4e 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year__episode_by_month_day.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year__episode_by_month_day.txt @@ -1,22 +1,15 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_kodi_tv_show_url_season_by_year__episode_by_month_day {output_directory}/Season 2020 - s2020.e080701 - 20-3-thumb.jpg - s2020.e080701 - 20-3.mp4 + s2020.e080702 - 20-3-thumb.jpg + s2020.e080702 - 20-3.mp4 Video Tags: date: 2020-08-07 episode_id: 807 season_number: 2020 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s2020.e080701 - 20-3.nfo + s2020.e080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 @@ -25,32 +18,15 @@ Files created: season: 2020 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s2020.e080801 - 20-2-thumb.jpg - s2020.e080801 - 20-2.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 808 - season_number: 2020 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s2020.e080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 808 - plot: https://20-2.com - season: 2020 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s2020.e080802 - 20-1-thumb.jpg - s2020.e080802 - 20-1.mp4 + s2020.e080803 - 20-1-thumb.jpg + s2020.e080803 - 20-1.mp4 Video Tags: date: 2020-08-08 episode_id: 808 season_number: 2020 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s2020.e080802 - 20-1.nfo + s2020.e080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 @@ -59,16 +35,33 @@ Files created: season: 2020 title: 2020-08-08 - Mock Entry 20-1 year: 2020 + s2020.e080803 - 20-2-thumb.jpg + s2020.e080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 808 + season_number: 2020 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s2020.e080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 808 + plot: https://20-2.com + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 {output_directory}/Season 2021 - s2021.e080801 - 21-1-thumb.jpg - s2021.e080801 - 21-1.mp4 + s2021.e080802 - 21-1-thumb.jpg + s2021.e080802 - 21-1.mp4 Video Tags: date: 2021-08-08 episode_id: 808 season_number: 2021 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s2021.e080801 - 21-1.nfo + s2021.e080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 @@ -76,4 +69,9 @@ Files created: plot: https://21-1.com season: 2021 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year__episode_by_month_day_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year__episode_by_month_day_reversed.txt index 42c012c0..81f0d272 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year__episode_by_month_day_reversed.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year__episode_by_month_day_reversed.txt @@ -1,79 +1,77 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_kodi_tv_show_url_season_by_year__episode_by_month_day_reversed {output_directory}/Season 2020 - s2020.e14698 - 20-1-thumb.jpg - s2020.e14698 - 20-1.mp4 + s2020.e14697 - 20-1-thumb.jpg + s2020.e14697 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 14698 + episode_id: 14697 season_number: 2020 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s2020.e14698 - 20-1.nfo + s2020.e14697 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 14698 + episode: 14697 plot: https://20-1.com season: 2020 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s2020.e14699 - 20-2-thumb.jpg - s2020.e14699 - 20-2.mp4 + s2020.e14697 - 20-2-thumb.jpg + s2020.e14697 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 14699 + episode_id: 14697 season_number: 2020 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s2020.e14699 - 20-2.nfo + s2020.e14697 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 14699 + episode: 14697 plot: https://20-2.com season: 2020 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s2020.e14799 - 20-3-thumb.jpg - s2020.e14799 - 20-3.mp4 + s2020.e14798 - 20-3-thumb.jpg + s2020.e14798 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 14799 + episode_id: 14798 season_number: 2020 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s2020.e14799 - 20-3.nfo + s2020.e14798 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 14799 + episode: 14798 plot: https://20-3.com season: 2020 title: 2020-08-07 - Mock Entry 20-3 year: 2020 {output_directory}/Season 2021 - s2021.e14699 - 21-1-thumb.jpg - s2021.e14699 - 21-1.mp4 + s2021.e14698 - 21-1-thumb.jpg + s2021.e14698 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 14699 + episode_id: 14698 season_number: 2021 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s2021.e14699 - 21-1.nfo + s2021.e14698 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 14699 + episode: 14698 plot: https://21-1.com season: 2021 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year_month__episode_by_day.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year_month__episode_by_day.txt index 1d24b6be..9f9c1b33 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year_month__episode_by_day.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_url/season_by_year_month__episode_by_day.txt @@ -1,22 +1,15 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_kodi_tv_show_url_season_by_year_month__episode_by_day {output_directory}/Season 202008 - s202008.e0701 - 20-3-thumb.jpg - s202008.e0701 - 20-3.mp4 + s202008.e0702 - 20-3-thumb.jpg + s202008.e0702 - 20-3.mp4 Video Tags: date: 2020-08-07 episode_id: 7 season_number: 202008 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s202008.e0701 - 20-3.nfo + s202008.e0702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 @@ -25,32 +18,15 @@ Files created: season: 202008 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s202008.e0801 - 20-2-thumb.jpg - s202008.e0801 - 20-2.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 8 - season_number: 202008 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s202008.e0801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 8 - plot: https://20-2.com - season: 202008 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s202008.e0802 - 20-1-thumb.jpg - s202008.e0802 - 20-1.mp4 + s202008.e0803 - 20-1-thumb.jpg + s202008.e0803 - 20-1.mp4 Video Tags: date: 2020-08-08 episode_id: 8 season_number: 202008 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s202008.e0802 - 20-1.nfo + s202008.e0803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 @@ -59,16 +35,33 @@ Files created: season: 202008 title: 2020-08-08 - Mock Entry 20-1 year: 2020 + s202008.e0803 - 20-2-thumb.jpg + s202008.e0803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 8 + season_number: 202008 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s202008.e0803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 8 + plot: https://20-2.com + season: 202008 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 {output_directory}/Season 202108 - s202108.e0801 - 21-1-thumb.jpg - s202108.e0801 - 21-1.mp4 + s202108.e0802 - 21-1-thumb.jpg + s202108.e0802 - 21-1.mp4 Video Tags: date: 2021-08-08 episode_id: 8 season_number: 202108 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s202108.e0801 - 21-1.nfo + s202108.e0802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 @@ -76,4 +69,9 @@ Files created: plot: https://21-1.com season: 202108 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt index 287cd77b..80237f4e 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt @@ -1,23 +1,15 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_kodi_tv_show_youtube_channel_season_by_year__episode_by_month_day {output_directory}/Season 2020 - s2020.e080701 - 20-3-thumb.jpg - s2020.e080701 - 20-3.mp4 + s2020.e080702 - 20-3-thumb.jpg + s2020.e080702 - 20-3.mp4 Video Tags: date: 2020-08-07 episode_id: 807 season_number: 2020 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s2020.e080701 - 20-3.nfo + s2020.e080702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 @@ -26,32 +18,15 @@ Files created: season: 2020 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s2020.e080801 - 20-2-thumb.jpg - s2020.e080801 - 20-2.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 808 - season_number: 2020 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s2020.e080801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 808 - plot: https://20-2.com - season: 2020 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s2020.e080802 - 20-1-thumb.jpg - s2020.e080802 - 20-1.mp4 + s2020.e080803 - 20-1-thumb.jpg + s2020.e080803 - 20-1.mp4 Video Tags: date: 2020-08-08 episode_id: 808 season_number: 2020 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s2020.e080802 - 20-1.nfo + s2020.e080803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 @@ -60,16 +35,33 @@ Files created: season: 2020 title: 2020-08-08 - Mock Entry 20-1 year: 2020 + s2020.e080803 - 20-2-thumb.jpg + s2020.e080803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 808 + season_number: 2020 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s2020.e080803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 808 + plot: https://20-2.com + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 {output_directory}/Season 2021 - s2021.e080801 - 21-1-thumb.jpg - s2021.e080801 - 21-1.mp4 + s2021.e080802 - 21-1-thumb.jpg + s2021.e080802 - 21-1.mp4 Video Tags: date: 2021-08-08 episode_id: 808 season_number: 2021 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s2021.e080801 - 21-1.nfo + s2021.e080802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 @@ -77,4 +69,9 @@ Files created: plot: https://21-1.com season: 2021 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt index 987a756c..81f0d272 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt @@ -1,80 +1,77 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_kodi_tv_show_youtube_channel_season_by_year__episode_by_month_day_reversed {output_directory}/Season 2020 - s2020.e14698 - 20-1-thumb.jpg - s2020.e14698 - 20-1.mp4 + s2020.e14697 - 20-1-thumb.jpg + s2020.e14697 - 20-1.mp4 Video Tags: date: 2020-08-08 - episode_id: 14698 + episode_id: 14697 season_number: 2020 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s2020.e14698 - 20-1.nfo + s2020.e14697 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 14698 + episode: 14697 plot: https://20-1.com season: 2020 title: 2020-08-08 - Mock Entry 20-1 year: 2020 - s2020.e14699 - 20-2-thumb.jpg - s2020.e14699 - 20-2.mp4 + s2020.e14697 - 20-2-thumb.jpg + s2020.e14697 - 20-2.mp4 Video Tags: date: 2020-08-08 - episode_id: 14699 + episode_id: 14697 season_number: 2020 synopsis: https://20-2.com title: 2020-08-08 - Mock Entry 20-2 - s2020.e14699 - 20-2.nfo + s2020.e14697 - 20-2.nfo NFO tags: episodedetails: aired: 2020-08-08 - episode: 14699 + episode: 14697 plot: https://20-2.com season: 2020 title: 2020-08-08 - Mock Entry 20-2 year: 2020 - s2020.e14799 - 20-3-thumb.jpg - s2020.e14799 - 20-3.mp4 + s2020.e14798 - 20-3-thumb.jpg + s2020.e14798 - 20-3.mp4 Video Tags: date: 2020-08-07 - episode_id: 14799 + episode_id: 14798 season_number: 2020 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s2020.e14799 - 20-3.nfo + s2020.e14798 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 - episode: 14799 + episode: 14798 plot: https://20-3.com season: 2020 title: 2020-08-07 - Mock Entry 20-3 year: 2020 {output_directory}/Season 2021 - s2021.e14699 - 21-1-thumb.jpg - s2021.e14699 - 21-1.mp4 + s2021.e14698 - 21-1-thumb.jpg + s2021.e14698 - 21-1.mp4 Video Tags: date: 2021-08-08 - episode_id: 14699 + episode_id: 14698 season_number: 2021 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s2021.e14699 - 21-1.nfo + s2021.e14698 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 - episode: 14699 + episode: 14698 plot: https://21-1.com season: 2021 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt index 489a2375..9f9c1b33 100644 --- a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt @@ -1,23 +1,15 @@ Files created: ---------------------------------------- -{output_directory} - .ytdl-sub-subscription_test-download-archive.json - fanart.jpg - poster.jpg - tvshow.nfo - NFO tags: - tvshow: - title: unit_kodi_tv_show_youtube_channel_season_by_year_month__episode_by_day {output_directory}/Season 202008 - s202008.e0701 - 20-3-thumb.jpg - s202008.e0701 - 20-3.mp4 + s202008.e0702 - 20-3-thumb.jpg + s202008.e0702 - 20-3.mp4 Video Tags: date: 2020-08-07 episode_id: 7 season_number: 202008 synopsis: https://20-3.com title: 2020-08-07 - Mock Entry 20-3 - s202008.e0701 - 20-3.nfo + s202008.e0702 - 20-3.nfo NFO tags: episodedetails: aired: 2020-08-07 @@ -26,32 +18,15 @@ Files created: season: 202008 title: 2020-08-07 - Mock Entry 20-3 year: 2020 - s202008.e0801 - 20-2-thumb.jpg - s202008.e0801 - 20-2.mp4 - Video Tags: - date: 2020-08-08 - episode_id: 8 - season_number: 202008 - synopsis: https://20-2.com - title: 2020-08-08 - Mock Entry 20-2 - s202008.e0801 - 20-2.nfo - NFO tags: - episodedetails: - aired: 2020-08-08 - episode: 8 - plot: https://20-2.com - season: 202008 - title: 2020-08-08 - Mock Entry 20-2 - year: 2020 - s202008.e0802 - 20-1-thumb.jpg - s202008.e0802 - 20-1.mp4 + s202008.e0803 - 20-1-thumb.jpg + s202008.e0803 - 20-1.mp4 Video Tags: date: 2020-08-08 episode_id: 8 season_number: 202008 synopsis: https://20-1.com title: 2020-08-08 - Mock Entry 20-1 - s202008.e0802 - 20-1.nfo + s202008.e0803 - 20-1.nfo NFO tags: episodedetails: aired: 2020-08-08 @@ -60,16 +35,33 @@ Files created: season: 202008 title: 2020-08-08 - Mock Entry 20-1 year: 2020 + s202008.e0803 - 20-2-thumb.jpg + s202008.e0803 - 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 8 + season_number: 202008 + synopsis: https://20-2.com + title: 2020-08-08 - Mock Entry 20-2 + s202008.e0803 - 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 8 + plot: https://20-2.com + season: 202008 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 {output_directory}/Season 202108 - s202108.e0801 - 21-1-thumb.jpg - s202108.e0801 - 21-1.mp4 + s202108.e0802 - 21-1-thumb.jpg + s202108.e0802 - 21-1.mp4 Video Tags: date: 2021-08-08 episode_id: 8 season_number: 202108 synopsis: https://21-1.com title: 2021-08-08 - Mock Entry 21-1 - s202108.e0801 - 21-1.nfo + s202108.e0802 - 21-1.nfo NFO tags: episodedetails: aired: 2021-08-08 @@ -77,4 +69,9 @@ Files created: plot: https://21-1.com season: 202108 title: 2021-08-08 - Mock Entry 21-1 - year: 2021 \ No newline at end of file + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt index ac6f294b..e55d36e9 100644 --- a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1.txt @@ -4,6 +4,7 @@ Files created: .ytdl-sub-subscription_test-download-archive.json Season01.jpg fanart.jpg + show.jpg {output_directory}/Season 01 s01.e20080701 - 20-3-thumb.jpg s01.e20080701 - 20-3.mp4 diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt index d2d4a4b2..b7d834c7 100644 --- a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1.txt @@ -5,6 +5,7 @@ Files created: Season01.jpg Season02.jpg fanart.jpg + show.jpg {output_directory}/Season 01 s01.e20060601 - 20-7-thumb.jpg s01.e20060601 - 20-7.mp4 diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt index bc6f4688..aa96c470 100644 --- a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1.txt @@ -4,6 +4,7 @@ Files created: .ytdl-sub-subscription_test-download-archive.json Season01.jpg fanart.jpg + show.jpg {output_directory}/Season 01 s01.e79052499 - 21-1-thumb.jpg s01.e79052499 - 21-1.mp4 diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt index 49bffb08..674e8795 100644 --- a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1.txt @@ -5,6 +5,7 @@ Files created: Season01.jpg Season02.jpg fanart.jpg + show.jpg {output_directory}/Season 01 s01.e80052699 - 20-4-thumb.jpg s01.e80052699 - 20-4.mp4 diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt index e33e6343..a2209457 100644 --- a/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day.txt @@ -3,6 +3,7 @@ Files created: {output_directory} .ytdl-sub-subscription_test-download-archive.json fanart.jpg + show.jpg {output_directory}/Season 2020 s2020.e080701 - 20-3-thumb.jpg s2020.e080701 - 20-3.mp4 diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt index 74140a8e..332d6b7a 100644 --- a/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year__episode_by_month_day_reversed.txt @@ -3,6 +3,7 @@ Files created: {output_directory} .ytdl-sub-subscription_test-download-archive.json fanart.jpg + show.jpg {output_directory}/Season 2020 s2020.e14698 - 20-1-thumb.jpg s2020.e14698 - 20-1.mp4 diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt index cc5540c0..618c0e96 100644 --- a/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_youtube_channel/season_by_year_month__episode_by_day.txt @@ -3,6 +3,7 @@ Files created: {output_directory} .ytdl-sub-subscription_test-download-archive.json fanart.jpg + show.jpg {output_directory}/Season 202008 s202008.e0701 - 20-3-thumb.jpg s202008.e0701 - 20-3.mp4 diff --git a/tests/unit/prebuilt_presets/conftest.py b/tests/unit/prebuilt_presets/conftest.py index d61e1c66..18861961 100644 --- a/tests/unit/prebuilt_presets/conftest.py +++ b/tests/unit/prebuilt_presets/conftest.py @@ -22,12 +22,6 @@ from ytdl_sub.entries.variables.kwargs import UPLOAD_DATE from ytdl_sub.entries.variables.kwargs import WEBPAGE_URL -@pytest.fixture -def working_directory() -> str: - with tempfile.TemporaryDirectory() as temp_dir: - yield temp_dir - - @pytest.fixture def subscription_name(working_directory) -> str: name = "subscription_test" @@ -35,12 +29,6 @@ def subscription_name(working_directory) -> str: return name -@pytest.fixture -def output_directory() -> str: - with tempfile.TemporaryDirectory() as temp_dir: - yield temp_dir - - @pytest.fixture def config(working_directory) -> ConfigFile: return ConfigFile( @@ -103,7 +91,7 @@ def mock_download_collection_thumbnail(mock_downloaded_file_path): def _mock_download_thumbnail(output_path: str) -> bool: # mock_file_factory(file_name=output_path.split("/")[-1]) output_name = os.path.basename(output_path) - if "poster" in output_name: + if "poster" in output_name or "show" in output_name: copy_file_fixture(fixture_name="poster.jpg", output_file_path=output_path) return True elif "fanart" in output_name: diff --git a/tests/unit/prebuilt_presets/test_prebuilt_presets.py b/tests/unit/prebuilt_presets/test_prebuilt_presets.py index 624d997e..26c9974c 100644 --- a/tests/unit/prebuilt_presets/test_prebuilt_presets.py +++ b/tests/unit/prebuilt_presets/test_prebuilt_presets.py @@ -112,7 +112,7 @@ class TestPrebuiltTVShowPresets: overrides = dict( overrides, **{ - f"collection_season_{season_index}_name": f"Season {season_index}", + f"collection_season_{season_index}_name": f"Named Season {season_index}", f"collection_season_{season_index}_url": f"https://season.{season_index}.com", }, )