From 7cdf209bcb5ae2197588c98008e15d9e8dabd66e Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Mon, 20 Mar 2023 23:39:08 -0700 Subject: [PATCH] simplified, many url tests working --- .../info_json/info_json_downloader.py | 39 +-- ...son_by_year__episode_by_download_index.txt | 1 + ...son_by_year__episode_by_download_index.txt | 1 + ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 264 ++++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 264 ++++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 1 + ...son_by_year__episode_by_download_index.txt | 1 + ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 264 ++++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 264 ++++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 1 + ...son_by_year__episode_by_download_index.txt | 1 + ...son_by_year__episode_by_download_index.txt | 150 ++++++++++ ...son_by_year__episode_by_download_index.txt | 150 ++++++++++ ...son_by_year__episode_by_download_index.txt | 150 ++++++++++ ...son_by_year__episode_by_download_index.txt | 150 ++++++++++ ...son_by_year__episode_by_download_index.txt | 152 ++++++++++ ...son_by_year__episode_by_download_index.txt | 152 ++++++++++ .../prebuilt_presets/test_prebuilt_presets.py | 4 +- 26 files changed, 4088 insertions(+), 17 deletions(-) create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt diff --git a/src/ytdl_sub/downloaders/info_json/info_json_downloader.py b/src/ytdl_sub/downloaders/info_json/info_json_downloader.py index 4c725e6b..1e5a7827 100644 --- a/src/ytdl_sub/downloaders/info_json/info_json_downloader.py +++ b/src/ytdl_sub/downloaders/info_json/info_json_downloader.py @@ -1,7 +1,5 @@ import copy import json -import os -from collections import defaultdict from pathlib import Path from typing import Dict from typing import Iterable @@ -43,7 +41,9 @@ class InfoJsonDownloader(BaseDownloader[InfoJsonDownloaderOptions]): overrides=overrides, ) # Keep track of original file mappings for the 'mock' download - self._original_mapping = copy.deepcopy(enhanced_download_archive.mapping) + self._original_entry_mappings = copy.deepcopy( + enhanced_download_archive.mapping.entry_mappings + ) @property def output_directory(self) -> str: @@ -54,6 +54,15 @@ class InfoJsonDownloader(BaseDownloader[InfoJsonDownloaderOptions]): """ return self._enhanced_download_archive.output_directory + @property + def _entry_mappings(self) -> Dict[str, DownloadMapping]: + """ + Returns + ------- + The up-to-date entry mappings + """ + return self._enhanced_download_archive.mapping.entry_mappings + def _get_entry_from_download_mapping(self, download_mapping: DownloadMapping): """ Try to load an entry from a download mapping's info json @@ -84,29 +93,27 @@ class InfoJsonDownloader(BaseDownloader[InfoJsonDownloaderOptions]): Loads all entries via their info.json files first (to ensure they are all valid), then iterates them """ - # Track to see if files were modified - file_names_mtime: Dict[str, Dict[str, float]] = defaultdict(dict) entries: List[Entry] = [] for download_mapping in self._enhanced_download_archive.mapping.entry_mappings.values(): entry = self._get_entry_from_download_mapping(download_mapping) entries.append(entry) - for file_name in download_mapping.file_names: - file_path = Path(self.output_directory) / file_name - file_names_mtime[entry.ytdl_uid()][file_name] = os.path.getmtime(file_path) - + # Remove each entry from the live download archive since it will get re-added + # unless it is filtered for entry in entries: - # Remove the entry from the live download archive since it will get re-added - # unless it is filtered self._enhanced_download_archive.mapping.remove_entry(entry.uid) + for entry in sorted(entries, key=lambda ent: ent.download_index): yield entry - # If the entry file_path is unchanged, then delete it since it was not part of the - # reformat output - for file_name, mtime in file_names_mtime[entry.ytdl_uid()].items(): - if os.path.getmtime(Path(self.output_directory) / file_name) == mtime: + # If the original entry file_path is no longer maintained in the new mapping, then + # delete it + for file_name in self._original_entry_mappings[entry.uid].file_names: + if ( + entry.uid not in self._entry_mappings + or file_name not in self._entry_mappings[entry.uid].file_names + ): self._enhanced_download_archive._file_handler.delete_file_from_output_directory( file_name ) @@ -117,7 +124,7 @@ class InfoJsonDownloader(BaseDownloader[InfoJsonDownloaderOptions]): the working directory """ # Use original mapping since the live mapping gets wiped - entry_file_names = self._original_mapping.entry_mappings[entry.uid].file_names + entry_file_names = self._original_entry_mappings[entry.uid].file_names for file_name in entry_file_names: ext = get_file_extension(file_name) diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7192b6c7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1 @@ +No new, modified, or removed files in '{output_directory}' \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7192b6c7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1 @@ +No new, modified, or removed files in '{output_directory}' \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..e3d1ad58 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e060601 - Mock Entry 20-7-thumb.jpg + s2020.e060601 - Mock Entry 20-7.info.json + s2020.e060601 - Mock Entry 20-7.mp4 + s2020.e060601 - Mock Entry 20-7.nfo + s2020.e070601 - Mock Entry 20-6-thumb.jpg + s2020.e070601 - Mock Entry 20-6.info.json + s2020.e070601 - Mock Entry 20-6.mp4 + s2020.e070601 - Mock Entry 20-6.nfo + s2020.e070602 - Mock Entry 20-5-thumb.jpg + s2020.e070602 - Mock Entry 20-5.info.json + s2020.e070602 - Mock Entry 20-5.mp4 + s2020.e070602 - Mock Entry 20-5.nfo + s2020.e080601 - Mock Entry 20-4-thumb.jpg + s2020.e080601 - Mock Entry 20-4.info.json + s2020.e080601 - Mock Entry 20-4.mp4 + s2020.e080601 - Mock Entry 20-4.nfo + s2020.e080701 - Mock Entry 20-3-thumb.jpg + s2020.e080701 - Mock Entry 20-3.info.json + s2020.e080701 - Mock Entry 20-3.mp4 + s2020.e080701 - Mock Entry 20-3.nfo + s2020.e080801 - Mock Entry 20-2-thumb.jpg + s2020.e080801 - Mock Entry 20-2.info.json + s2020.e080801 - Mock Entry 20-2.mp4 + s2020.e080801 - Mock Entry 20-2.nfo + s2020.e080802 - Mock Entry 20-1-thumb.jpg + s2020.e080802 - Mock Entry 20-1.info.json + s2020.e080802 - Mock Entry 20-1.mp4 + s2020.e080802 - Mock Entry 20-1.nfo +{output_directory}/Season 2021 + s2021.e080801 - Mock Entry 21-1-thumb.jpg + s2021.e080801 - Mock Entry 21-1.info.json + s2021.e080801 - Mock Entry 21-1.mp4 + s2021.e080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..e3d1ad58 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e060601 - Mock Entry 20-7-thumb.jpg + s2020.e060601 - Mock Entry 20-7.info.json + s2020.e060601 - Mock Entry 20-7.mp4 + s2020.e060601 - Mock Entry 20-7.nfo + s2020.e070601 - Mock Entry 20-6-thumb.jpg + s2020.e070601 - Mock Entry 20-6.info.json + s2020.e070601 - Mock Entry 20-6.mp4 + s2020.e070601 - Mock Entry 20-6.nfo + s2020.e070602 - Mock Entry 20-5-thumb.jpg + s2020.e070602 - Mock Entry 20-5.info.json + s2020.e070602 - Mock Entry 20-5.mp4 + s2020.e070602 - Mock Entry 20-5.nfo + s2020.e080601 - Mock Entry 20-4-thumb.jpg + s2020.e080601 - Mock Entry 20-4.info.json + s2020.e080601 - Mock Entry 20-4.mp4 + s2020.e080601 - Mock Entry 20-4.nfo + s2020.e080701 - Mock Entry 20-3-thumb.jpg + s2020.e080701 - Mock Entry 20-3.info.json + s2020.e080701 - Mock Entry 20-3.mp4 + s2020.e080701 - Mock Entry 20-3.nfo + s2020.e080801 - Mock Entry 20-2-thumb.jpg + s2020.e080801 - Mock Entry 20-2.info.json + s2020.e080801 - Mock Entry 20-2.mp4 + s2020.e080801 - Mock Entry 20-2.nfo + s2020.e080802 - Mock Entry 20-1-thumb.jpg + s2020.e080802 - Mock Entry 20-1.info.json + s2020.e080802 - Mock Entry 20-1.mp4 + s2020.e080802 - Mock Entry 20-1.nfo +{output_directory}/Season 2021 + s2021.e080801 - Mock Entry 21-1-thumb.jpg + s2021.e080801 - Mock Entry 21-1.info.json + s2021.e080801 - Mock Entry 21-1.mp4 + s2021.e080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..12403604 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e14698 - Mock Entry 20-1-thumb.jpg + s2020.e14698 - Mock Entry 20-1.info.json + s2020.e14698 - Mock Entry 20-1.mp4 + s2020.e14698 - Mock Entry 20-1.nfo + s2020.e14699 - Mock Entry 20-2-thumb.jpg + s2020.e14699 - Mock Entry 20-2.info.json + s2020.e14699 - Mock Entry 20-2.mp4 + s2020.e14699 - Mock Entry 20-2.nfo + s2020.e14799 - Mock Entry 20-3-thumb.jpg + s2020.e14799 - Mock Entry 20-3.info.json + s2020.e14799 - Mock Entry 20-3.mp4 + s2020.e14799 - Mock Entry 20-3.nfo + s2020.e14899 - Mock Entry 20-4-thumb.jpg + s2020.e14899 - Mock Entry 20-4.info.json + s2020.e14899 - Mock Entry 20-4.mp4 + s2020.e14899 - Mock Entry 20-4.nfo + s2020.e17998 - Mock Entry 20-5-thumb.jpg + s2020.e17998 - Mock Entry 20-5.info.json + s2020.e17998 - Mock Entry 20-5.mp4 + s2020.e17998 - Mock Entry 20-5.nfo + s2020.e17999 - Mock Entry 20-6-thumb.jpg + s2020.e17999 - Mock Entry 20-6.info.json + s2020.e17999 - Mock Entry 20-6.mp4 + s2020.e17999 - Mock Entry 20-6.nfo + s2020.e20999 - Mock Entry 20-7-thumb.jpg + s2020.e20999 - Mock Entry 20-7.info.json + s2020.e20999 - Mock Entry 20-7.mp4 + s2020.e20999 - Mock Entry 20-7.nfo +{output_directory}/Season 2021 + s2021.e14699 - Mock Entry 21-1-thumb.jpg + s2021.e14699 - Mock Entry 21-1.info.json + s2021.e14699 - Mock Entry 21-1.mp4 + s2021.e14699 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..12403604 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e14698 - Mock Entry 20-1-thumb.jpg + s2020.e14698 - Mock Entry 20-1.info.json + s2020.e14698 - Mock Entry 20-1.mp4 + s2020.e14698 - Mock Entry 20-1.nfo + s2020.e14699 - Mock Entry 20-2-thumb.jpg + s2020.e14699 - Mock Entry 20-2.info.json + s2020.e14699 - Mock Entry 20-2.mp4 + s2020.e14699 - Mock Entry 20-2.nfo + s2020.e14799 - Mock Entry 20-3-thumb.jpg + s2020.e14799 - Mock Entry 20-3.info.json + s2020.e14799 - Mock Entry 20-3.mp4 + s2020.e14799 - Mock Entry 20-3.nfo + s2020.e14899 - Mock Entry 20-4-thumb.jpg + s2020.e14899 - Mock Entry 20-4.info.json + s2020.e14899 - Mock Entry 20-4.mp4 + s2020.e14899 - Mock Entry 20-4.nfo + s2020.e17998 - Mock Entry 20-5-thumb.jpg + s2020.e17998 - Mock Entry 20-5.info.json + s2020.e17998 - Mock Entry 20-5.mp4 + s2020.e17998 - Mock Entry 20-5.nfo + s2020.e17999 - Mock Entry 20-6-thumb.jpg + s2020.e17999 - Mock Entry 20-6.info.json + s2020.e17999 - Mock Entry 20-6.mp4 + s2020.e17999 - Mock Entry 20-6.nfo + s2020.e20999 - Mock Entry 20-7-thumb.jpg + s2020.e20999 - Mock Entry 20-7.info.json + s2020.e20999 - Mock Entry 20-7.mp4 + s2020.e20999 - Mock Entry 20-7.nfo +{output_directory}/Season 2021 + s2021.e14699 - Mock Entry 21-1-thumb.jpg + s2021.e14699 - Mock Entry 21-1.info.json + s2021.e14699 - Mock Entry 21-1.mp4 + s2021.e14699 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7eeba6cf --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,264 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 202006 + s202006.e0601 - Mock Entry 20-7-thumb.jpg + s202006.e0601 - Mock Entry 20-7.info.json + s202006.e0601 - Mock Entry 20-7.mp4 + s202006.e0601 - Mock Entry 20-7.nfo +{output_directory}/Season 202007 + s202007.e0601 - Mock Entry 20-6-thumb.jpg + s202007.e0601 - Mock Entry 20-6.info.json + s202007.e0601 - Mock Entry 20-6.mp4 + s202007.e0601 - Mock Entry 20-6.nfo + s202007.e0602 - Mock Entry 20-5-thumb.jpg + s202007.e0602 - Mock Entry 20-5.info.json + s202007.e0602 - Mock Entry 20-5.mp4 + s202007.e0602 - Mock Entry 20-5.nfo +{output_directory}/Season 202008 + s202008.e0601 - Mock Entry 20-4-thumb.jpg + s202008.e0601 - Mock Entry 20-4.info.json + s202008.e0601 - Mock Entry 20-4.mp4 + s202008.e0601 - Mock Entry 20-4.nfo + s202008.e0701 - Mock Entry 20-3-thumb.jpg + s202008.e0701 - Mock Entry 20-3.info.json + s202008.e0701 - Mock Entry 20-3.mp4 + s202008.e0701 - Mock Entry 20-3.nfo + s202008.e0801 - Mock Entry 20-2-thumb.jpg + s202008.e0801 - Mock Entry 20-2.info.json + s202008.e0801 - Mock Entry 20-2.mp4 + s202008.e0801 - Mock Entry 20-2.nfo + s202008.e0802 - Mock Entry 20-1-thumb.jpg + s202008.e0802 - Mock Entry 20-1.info.json + s202008.e0802 - Mock Entry 20-1.mp4 + s202008.e0802 - Mock Entry 20-1.nfo +{output_directory}/Season 202108 + s202108.e0801 - Mock Entry 21-1-thumb.jpg + s202108.e0801 - Mock Entry 21-1.info.json + s202108.e0801 - Mock Entry 21-1.mp4 + s202108.e0801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7eeba6cf --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,264 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 202006 + s202006.e0601 - Mock Entry 20-7-thumb.jpg + s202006.e0601 - Mock Entry 20-7.info.json + s202006.e0601 - Mock Entry 20-7.mp4 + s202006.e0601 - Mock Entry 20-7.nfo +{output_directory}/Season 202007 + s202007.e0601 - Mock Entry 20-6-thumb.jpg + s202007.e0601 - Mock Entry 20-6.info.json + s202007.e0601 - Mock Entry 20-6.mp4 + s202007.e0601 - Mock Entry 20-6.nfo + s202007.e0602 - Mock Entry 20-5-thumb.jpg + s202007.e0602 - Mock Entry 20-5.info.json + s202007.e0602 - Mock Entry 20-5.mp4 + s202007.e0602 - Mock Entry 20-5.nfo +{output_directory}/Season 202008 + s202008.e0601 - Mock Entry 20-4-thumb.jpg + s202008.e0601 - Mock Entry 20-4.info.json + s202008.e0601 - Mock Entry 20-4.mp4 + s202008.e0601 - Mock Entry 20-4.nfo + s202008.e0701 - Mock Entry 20-3-thumb.jpg + s202008.e0701 - Mock Entry 20-3.info.json + s202008.e0701 - Mock Entry 20-3.mp4 + s202008.e0701 - Mock Entry 20-3.nfo + s202008.e0801 - Mock Entry 20-2-thumb.jpg + s202008.e0801 - Mock Entry 20-2.info.json + s202008.e0801 - Mock Entry 20-2.mp4 + s202008.e0801 - Mock Entry 20-2.nfo + s202008.e0802 - Mock Entry 20-1-thumb.jpg + s202008.e0802 - Mock Entry 20-1.info.json + s202008.e0802 - Mock Entry 20-1.mp4 + s202008.e0802 - Mock Entry 20-1.nfo +{output_directory}/Season 202108 + s202108.e0801 - Mock Entry 21-1-thumb.jpg + s202108.e0801 - Mock Entry 21-1.info.json + s202108.e0801 - Mock Entry 21-1.mp4 + s202108.e0801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7192b6c7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1 @@ +No new, modified, or removed files in '{output_directory}' \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7192b6c7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1 @@ +No new, modified, or removed files in '{output_directory}' \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..e3d1ad58 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e060601 - Mock Entry 20-7-thumb.jpg + s2020.e060601 - Mock Entry 20-7.info.json + s2020.e060601 - Mock Entry 20-7.mp4 + s2020.e060601 - Mock Entry 20-7.nfo + s2020.e070601 - Mock Entry 20-6-thumb.jpg + s2020.e070601 - Mock Entry 20-6.info.json + s2020.e070601 - Mock Entry 20-6.mp4 + s2020.e070601 - Mock Entry 20-6.nfo + s2020.e070602 - Mock Entry 20-5-thumb.jpg + s2020.e070602 - Mock Entry 20-5.info.json + s2020.e070602 - Mock Entry 20-5.mp4 + s2020.e070602 - Mock Entry 20-5.nfo + s2020.e080601 - Mock Entry 20-4-thumb.jpg + s2020.e080601 - Mock Entry 20-4.info.json + s2020.e080601 - Mock Entry 20-4.mp4 + s2020.e080601 - Mock Entry 20-4.nfo + s2020.e080701 - Mock Entry 20-3-thumb.jpg + s2020.e080701 - Mock Entry 20-3.info.json + s2020.e080701 - Mock Entry 20-3.mp4 + s2020.e080701 - Mock Entry 20-3.nfo + s2020.e080801 - Mock Entry 20-2-thumb.jpg + s2020.e080801 - Mock Entry 20-2.info.json + s2020.e080801 - Mock Entry 20-2.mp4 + s2020.e080801 - Mock Entry 20-2.nfo + s2020.e080802 - Mock Entry 20-1-thumb.jpg + s2020.e080802 - Mock Entry 20-1.info.json + s2020.e080802 - Mock Entry 20-1.mp4 + s2020.e080802 - Mock Entry 20-1.nfo +{output_directory}/Season 2021 + s2021.e080801 - Mock Entry 21-1-thumb.jpg + s2021.e080801 - Mock Entry 21-1.info.json + s2021.e080801 - Mock Entry 21-1.mp4 + s2021.e080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..e3d1ad58 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e060601 - Mock Entry 20-7-thumb.jpg + s2020.e060601 - Mock Entry 20-7.info.json + s2020.e060601 - Mock Entry 20-7.mp4 + s2020.e060601 - Mock Entry 20-7.nfo + s2020.e070601 - Mock Entry 20-6-thumb.jpg + s2020.e070601 - Mock Entry 20-6.info.json + s2020.e070601 - Mock Entry 20-6.mp4 + s2020.e070601 - Mock Entry 20-6.nfo + s2020.e070602 - Mock Entry 20-5-thumb.jpg + s2020.e070602 - Mock Entry 20-5.info.json + s2020.e070602 - Mock Entry 20-5.mp4 + s2020.e070602 - Mock Entry 20-5.nfo + s2020.e080601 - Mock Entry 20-4-thumb.jpg + s2020.e080601 - Mock Entry 20-4.info.json + s2020.e080601 - Mock Entry 20-4.mp4 + s2020.e080601 - Mock Entry 20-4.nfo + s2020.e080701 - Mock Entry 20-3-thumb.jpg + s2020.e080701 - Mock Entry 20-3.info.json + s2020.e080701 - Mock Entry 20-3.mp4 + s2020.e080701 - Mock Entry 20-3.nfo + s2020.e080801 - Mock Entry 20-2-thumb.jpg + s2020.e080801 - Mock Entry 20-2.info.json + s2020.e080801 - Mock Entry 20-2.mp4 + s2020.e080801 - Mock Entry 20-2.nfo + s2020.e080802 - Mock Entry 20-1-thumb.jpg + s2020.e080802 - Mock Entry 20-1.info.json + s2020.e080802 - Mock Entry 20-1.mp4 + s2020.e080802 - Mock Entry 20-1.nfo +{output_directory}/Season 2021 + s2021.e080801 - Mock Entry 21-1-thumb.jpg + s2021.e080801 - Mock Entry 21-1.info.json + s2021.e080801 - Mock Entry 21-1.mp4 + s2021.e080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..12403604 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e14698 - Mock Entry 20-1-thumb.jpg + s2020.e14698 - Mock Entry 20-1.info.json + s2020.e14698 - Mock Entry 20-1.mp4 + s2020.e14698 - Mock Entry 20-1.nfo + s2020.e14699 - Mock Entry 20-2-thumb.jpg + s2020.e14699 - Mock Entry 20-2.info.json + s2020.e14699 - Mock Entry 20-2.mp4 + s2020.e14699 - Mock Entry 20-2.nfo + s2020.e14799 - Mock Entry 20-3-thumb.jpg + s2020.e14799 - Mock Entry 20-3.info.json + s2020.e14799 - Mock Entry 20-3.mp4 + s2020.e14799 - Mock Entry 20-3.nfo + s2020.e14899 - Mock Entry 20-4-thumb.jpg + s2020.e14899 - Mock Entry 20-4.info.json + s2020.e14899 - Mock Entry 20-4.mp4 + s2020.e14899 - Mock Entry 20-4.nfo + s2020.e17998 - Mock Entry 20-5-thumb.jpg + s2020.e17998 - Mock Entry 20-5.info.json + s2020.e17998 - Mock Entry 20-5.mp4 + s2020.e17998 - Mock Entry 20-5.nfo + s2020.e17999 - Mock Entry 20-6-thumb.jpg + s2020.e17999 - Mock Entry 20-6.info.json + s2020.e17999 - Mock Entry 20-6.mp4 + s2020.e17999 - Mock Entry 20-6.nfo + s2020.e20999 - Mock Entry 20-7-thumb.jpg + s2020.e20999 - Mock Entry 20-7.info.json + s2020.e20999 - Mock Entry 20-7.mp4 + s2020.e20999 - Mock Entry 20-7.nfo +{output_directory}/Season 2021 + s2021.e14699 - Mock Entry 21-1-thumb.jpg + s2021.e14699 - Mock Entry 21-1.info.json + s2021.e14699 - Mock Entry 21-1.mp4 + s2021.e14699 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..12403604 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e14698 - Mock Entry 20-1-thumb.jpg + s2020.e14698 - Mock Entry 20-1.info.json + s2020.e14698 - Mock Entry 20-1.mp4 + s2020.e14698 - Mock Entry 20-1.nfo + s2020.e14699 - Mock Entry 20-2-thumb.jpg + s2020.e14699 - Mock Entry 20-2.info.json + s2020.e14699 - Mock Entry 20-2.mp4 + s2020.e14699 - Mock Entry 20-2.nfo + s2020.e14799 - Mock Entry 20-3-thumb.jpg + s2020.e14799 - Mock Entry 20-3.info.json + s2020.e14799 - Mock Entry 20-3.mp4 + s2020.e14799 - Mock Entry 20-3.nfo + s2020.e14899 - Mock Entry 20-4-thumb.jpg + s2020.e14899 - Mock Entry 20-4.info.json + s2020.e14899 - Mock Entry 20-4.mp4 + s2020.e14899 - Mock Entry 20-4.nfo + s2020.e17998 - Mock Entry 20-5-thumb.jpg + s2020.e17998 - Mock Entry 20-5.info.json + s2020.e17998 - Mock Entry 20-5.mp4 + s2020.e17998 - Mock Entry 20-5.nfo + s2020.e17999 - Mock Entry 20-6-thumb.jpg + s2020.e17999 - Mock Entry 20-6.info.json + s2020.e17999 - Mock Entry 20-6.mp4 + s2020.e17999 - Mock Entry 20-6.nfo + s2020.e20999 - Mock Entry 20-7-thumb.jpg + s2020.e20999 - Mock Entry 20-7.info.json + s2020.e20999 - Mock Entry 20-7.mp4 + s2020.e20999 - Mock Entry 20-7.nfo +{output_directory}/Season 2021 + s2021.e14699 - Mock Entry 21-1-thumb.jpg + s2021.e14699 - Mock Entry 21-1.info.json + s2021.e14699 - Mock Entry 21-1.mp4 + s2021.e14699 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7eeba6cf --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,264 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 202006 + s202006.e0601 - Mock Entry 20-7-thumb.jpg + s202006.e0601 - Mock Entry 20-7.info.json + s202006.e0601 - Mock Entry 20-7.mp4 + s202006.e0601 - Mock Entry 20-7.nfo +{output_directory}/Season 202007 + s202007.e0601 - Mock Entry 20-6-thumb.jpg + s202007.e0601 - Mock Entry 20-6.info.json + s202007.e0601 - Mock Entry 20-6.mp4 + s202007.e0601 - Mock Entry 20-6.nfo + s202007.e0602 - Mock Entry 20-5-thumb.jpg + s202007.e0602 - Mock Entry 20-5.info.json + s202007.e0602 - Mock Entry 20-5.mp4 + s202007.e0602 - Mock Entry 20-5.nfo +{output_directory}/Season 202008 + s202008.e0601 - Mock Entry 20-4-thumb.jpg + s202008.e0601 - Mock Entry 20-4.info.json + s202008.e0601 - Mock Entry 20-4.mp4 + s202008.e0601 - Mock Entry 20-4.nfo + s202008.e0701 - Mock Entry 20-3-thumb.jpg + s202008.e0701 - Mock Entry 20-3.info.json + s202008.e0701 - Mock Entry 20-3.mp4 + s202008.e0701 - Mock Entry 20-3.nfo + s202008.e0801 - Mock Entry 20-2-thumb.jpg + s202008.e0801 - Mock Entry 20-2.info.json + s202008.e0801 - Mock Entry 20-2.mp4 + s202008.e0801 - Mock Entry 20-2.nfo + s202008.e0802 - Mock Entry 20-1-thumb.jpg + s202008.e0802 - Mock Entry 20-1.info.json + s202008.e0802 - Mock Entry 20-1.mp4 + s202008.e0802 - Mock Entry 20-1.nfo +{output_directory}/Season 202108 + s202108.e0801 - Mock Entry 21-1-thumb.jpg + s202108.e0801 - Mock Entry 21-1.info.json + s202108.e0801 - Mock Entry 21-1.mp4 + s202108.e0801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7eeba6cf --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,264 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000001 - Mock Entry 20-3.nfo + NFO tags: + episodedetails: + aired: 2020-08-07 + episode: 1 + genre: ytdl-sub + plot: + https://20-3.com + + The Description + season: 2020 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000002 - Mock Entry 20-2.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 2 + genre: ytdl-sub + plot: + https://20-2.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000003 - Mock Entry 20-1.nfo + NFO tags: + episodedetails: + aired: 2020-08-08 + episode: 3 + genre: ytdl-sub + plot: + https://20-1.com + + The Description + season: 2020 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000005 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 5 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 2020 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000006 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 6 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000007 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 7 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 2020 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s2020.e000008 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 8 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 2020 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s2021.e000004 - Mock Entry 21-1.nfo + NFO tags: + episodedetails: + aired: 2021-08-08 + episode: 4 + genre: ytdl-sub + plot: + https://21-1.com + + The Description + season: 2021 + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 202006 + s202006.e0601 - Mock Entry 20-7-thumb.jpg + s202006.e0601 - Mock Entry 20-7.info.json + s202006.e0601 - Mock Entry 20-7.mp4 + s202006.e0601 - Mock Entry 20-7.nfo +{output_directory}/Season 202007 + s202007.e0601 - Mock Entry 20-6-thumb.jpg + s202007.e0601 - Mock Entry 20-6.info.json + s202007.e0601 - Mock Entry 20-6.mp4 + s202007.e0601 - Mock Entry 20-6.nfo + s202007.e0602 - Mock Entry 20-5-thumb.jpg + s202007.e0602 - Mock Entry 20-5.info.json + s202007.e0602 - Mock Entry 20-5.mp4 + s202007.e0602 - Mock Entry 20-5.nfo +{output_directory}/Season 202008 + s202008.e0601 - Mock Entry 20-4-thumb.jpg + s202008.e0601 - Mock Entry 20-4.info.json + s202008.e0601 - Mock Entry 20-4.mp4 + s202008.e0601 - Mock Entry 20-4.nfo + s202008.e0701 - Mock Entry 20-3-thumb.jpg + s202008.e0701 - Mock Entry 20-3.info.json + s202008.e0701 - Mock Entry 20-3.mp4 + s202008.e0701 - Mock Entry 20-3.nfo + s202008.e0801 - Mock Entry 20-2-thumb.jpg + s202008.e0801 - Mock Entry 20-2.info.json + s202008.e0801 - Mock Entry 20-2.mp4 + s202008.e0801 - Mock Entry 20-2.nfo + s202008.e0802 - Mock Entry 20-1-thumb.jpg + s202008.e0802 - Mock Entry 20-1.info.json + s202008.e0802 - Mock Entry 20-1.mp4 + s202008.e0802 - Mock Entry 20-1.nfo +{output_directory}/Season 202108 + s202108.e0801 - Mock Entry 21-1-thumb.jpg + s202108.e0801 - Mock Entry 21-1.info.json + s202108.e0801 - Mock Entry 21-1.mp4 + s202108.e0801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7192b6c7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1 @@ +No new, modified, or removed files in '{output_directory}' \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..7192b6c7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1 @@ +No new, modified, or removed files in '{output_directory}' \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..104ad139 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,150 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e060601 - Mock Entry 20-7-thumb.jpg + s2020.e060601 - Mock Entry 20-7.info.json + s2020.e060601 - Mock Entry 20-7.mp4 + s2020.e070601 - Mock Entry 20-6-thumb.jpg + s2020.e070601 - Mock Entry 20-6.info.json + s2020.e070601 - Mock Entry 20-6.mp4 + s2020.e070602 - Mock Entry 20-5-thumb.jpg + s2020.e070602 - Mock Entry 20-5.info.json + s2020.e070602 - Mock Entry 20-5.mp4 + s2020.e080601 - Mock Entry 20-4-thumb.jpg + s2020.e080601 - Mock Entry 20-4.info.json + s2020.e080601 - Mock Entry 20-4.mp4 + s2020.e080701 - Mock Entry 20-3-thumb.jpg + s2020.e080701 - Mock Entry 20-3.info.json + s2020.e080701 - Mock Entry 20-3.mp4 + s2020.e080801 - Mock Entry 20-2-thumb.jpg + s2020.e080801 - Mock Entry 20-2.info.json + s2020.e080801 - Mock Entry 20-2.mp4 + s2020.e080802 - Mock Entry 20-1-thumb.jpg + s2020.e080802 - Mock Entry 20-1.info.json + s2020.e080802 - Mock Entry 20-1.mp4 +{output_directory}/Season 2021 + s2021.e080801 - Mock Entry 21-1-thumb.jpg + s2021.e080801 - Mock Entry 21-1.info.json + s2021.e080801 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..104ad139 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,150 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e060601 - Mock Entry 20-7-thumb.jpg + s2020.e060601 - Mock Entry 20-7.info.json + s2020.e060601 - Mock Entry 20-7.mp4 + s2020.e070601 - Mock Entry 20-6-thumb.jpg + s2020.e070601 - Mock Entry 20-6.info.json + s2020.e070601 - Mock Entry 20-6.mp4 + s2020.e070602 - Mock Entry 20-5-thumb.jpg + s2020.e070602 - Mock Entry 20-5.info.json + s2020.e070602 - Mock Entry 20-5.mp4 + s2020.e080601 - Mock Entry 20-4-thumb.jpg + s2020.e080601 - Mock Entry 20-4.info.json + s2020.e080601 - Mock Entry 20-4.mp4 + s2020.e080701 - Mock Entry 20-3-thumb.jpg + s2020.e080701 - Mock Entry 20-3.info.json + s2020.e080701 - Mock Entry 20-3.mp4 + s2020.e080801 - Mock Entry 20-2-thumb.jpg + s2020.e080801 - Mock Entry 20-2.info.json + s2020.e080801 - Mock Entry 20-2.mp4 + s2020.e080802 - Mock Entry 20-1-thumb.jpg + s2020.e080802 - Mock Entry 20-1.info.json + s2020.e080802 - Mock Entry 20-1.mp4 +{output_directory}/Season 2021 + s2021.e080801 - Mock Entry 21-1-thumb.jpg + s2021.e080801 - Mock Entry 21-1.info.json + s2021.e080801 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..fed223fa --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,150 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e14698 - Mock Entry 20-1-thumb.jpg + s2020.e14698 - Mock Entry 20-1.info.json + s2020.e14698 - Mock Entry 20-1.mp4 + s2020.e14699 - Mock Entry 20-2-thumb.jpg + s2020.e14699 - Mock Entry 20-2.info.json + s2020.e14699 - Mock Entry 20-2.mp4 + s2020.e14799 - Mock Entry 20-3-thumb.jpg + s2020.e14799 - Mock Entry 20-3.info.json + s2020.e14799 - Mock Entry 20-3.mp4 + s2020.e14899 - Mock Entry 20-4-thumb.jpg + s2020.e14899 - Mock Entry 20-4.info.json + s2020.e14899 - Mock Entry 20-4.mp4 + s2020.e17998 - Mock Entry 20-5-thumb.jpg + s2020.e17998 - Mock Entry 20-5.info.json + s2020.e17998 - Mock Entry 20-5.mp4 + s2020.e17999 - Mock Entry 20-6-thumb.jpg + s2020.e17999 - Mock Entry 20-6.info.json + s2020.e17999 - Mock Entry 20-6.mp4 + s2020.e20999 - Mock Entry 20-7-thumb.jpg + s2020.e20999 - Mock Entry 20-7.info.json + s2020.e20999 - Mock Entry 20-7.mp4 +{output_directory}/Season 2021 + s2021.e14699 - Mock Entry 21-1-thumb.jpg + s2021.e14699 - Mock Entry 21-1.info.json + s2021.e14699 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..fed223fa --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day_reversed/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,150 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e14698 - Mock Entry 20-1-thumb.jpg + s2020.e14698 - Mock Entry 20-1.info.json + s2020.e14698 - Mock Entry 20-1.mp4 + s2020.e14699 - Mock Entry 20-2-thumb.jpg + s2020.e14699 - Mock Entry 20-2.info.json + s2020.e14699 - Mock Entry 20-2.mp4 + s2020.e14799 - Mock Entry 20-3-thumb.jpg + s2020.e14799 - Mock Entry 20-3.info.json + s2020.e14799 - Mock Entry 20-3.mp4 + s2020.e14899 - Mock Entry 20-4-thumb.jpg + s2020.e14899 - Mock Entry 20-4.info.json + s2020.e14899 - Mock Entry 20-4.mp4 + s2020.e17998 - Mock Entry 20-5-thumb.jpg + s2020.e17998 - Mock Entry 20-5.info.json + s2020.e17998 - Mock Entry 20-5.mp4 + s2020.e17999 - Mock Entry 20-6-thumb.jpg + s2020.e17999 - Mock Entry 20-6.info.json + s2020.e17999 - Mock Entry 20-6.mp4 + s2020.e20999 - Mock Entry 20-7-thumb.jpg + s2020.e20999 - Mock Entry 20-7.info.json + s2020.e20999 - Mock Entry 20-7.mp4 +{output_directory}/Season 2021 + s2021.e14699 - Mock Entry 21-1-thumb.jpg + s2021.e14699 - Mock Entry 21-1.info.json + s2021.e14699 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..6d589a37 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,152 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 202006 + s202006.e0601 - Mock Entry 20-7-thumb.jpg + s202006.e0601 - Mock Entry 20-7.info.json + s202006.e0601 - Mock Entry 20-7.mp4 +{output_directory}/Season 202007 + s202007.e0601 - Mock Entry 20-6-thumb.jpg + s202007.e0601 - Mock Entry 20-6.info.json + s202007.e0601 - Mock Entry 20-6.mp4 + s202007.e0602 - Mock Entry 20-5-thumb.jpg + s202007.e0602 - Mock Entry 20-5.info.json + s202007.e0602 - Mock Entry 20-5.mp4 +{output_directory}/Season 202008 + s202008.e0601 - Mock Entry 20-4-thumb.jpg + s202008.e0601 - Mock Entry 20-4.info.json + s202008.e0601 - Mock Entry 20-4.mp4 + s202008.e0701 - Mock Entry 20-3-thumb.jpg + s202008.e0701 - Mock Entry 20-3.info.json + s202008.e0701 - Mock Entry 20-3.mp4 + s202008.e0801 - Mock Entry 20-2-thumb.jpg + s202008.e0801 - Mock Entry 20-2.info.json + s202008.e0801 - Mock Entry 20-2.mp4 + s202008.e0802 - Mock Entry 20-1-thumb.jpg + s202008.e0802 - Mock Entry 20-1.info.json + s202008.e0802 - Mock Entry 20-1.mp4 +{output_directory}/Season 202108 + s202108.e0801 - Mock Entry 21-1-thumb.jpg + s202108.e0801 - Mock Entry 21-1.info.json + s202108.e0801 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 00000000..6d589a37 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_many_urls_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,152 @@ +Files created: +---------------------------------------- +{output_directory}/Season 2020 + s2020.e000001 - Mock Entry 20-3-thumb.jpg + s2020.e000001 - Mock Entry 20-3.info.json + s2020.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s2020.e000002 - Mock Entry 20-2-thumb.jpg + s2020.e000002 - Mock Entry 20-2.info.json + s2020.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s2020.e000003 - Mock Entry 20-1-thumb.jpg + s2020.e000003 - Mock Entry 20-1.info.json + s2020.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s2020.e000005 - Mock Entry 20-7-thumb.jpg + s2020.e000005 - Mock Entry 20-7.info.json + s2020.e000005 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 5 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s2020.e000006 - Mock Entry 20-6-thumb.jpg + s2020.e000006 - Mock Entry 20-6.info.json + s2020.e000006 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 6 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s2020.e000007 - Mock Entry 20-5-thumb.jpg + s2020.e000007 - Mock Entry 20-5.info.json + s2020.e000007 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 7 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s2020.e000008 - Mock Entry 20-4-thumb.jpg + s2020.e000008 - Mock Entry 20-4.info.json + s2020.e000008 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 8 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 2021 + s2021.e000004 - Mock Entry 21-1-thumb.jpg + s2021.e000004 - Mock Entry 21-1.info.json + s2021.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show by Date + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + +Files modified: +---------------------------------------- +{output_directory} + .ytdl-sub-subscription_test-download-archive.json + +Files removed: +---------------------------------------- +{output_directory}/Season 202006 + s202006.e0601 - Mock Entry 20-7-thumb.jpg + s202006.e0601 - Mock Entry 20-7.info.json + s202006.e0601 - Mock Entry 20-7.mp4 +{output_directory}/Season 202007 + s202007.e0601 - Mock Entry 20-6-thumb.jpg + s202007.e0601 - Mock Entry 20-6.info.json + s202007.e0601 - Mock Entry 20-6.mp4 + s202007.e0602 - Mock Entry 20-5-thumb.jpg + s202007.e0602 - Mock Entry 20-5.info.json + s202007.e0602 - Mock Entry 20-5.mp4 +{output_directory}/Season 202008 + s202008.e0601 - Mock Entry 20-4-thumb.jpg + s202008.e0601 - Mock Entry 20-4.info.json + s202008.e0601 - Mock Entry 20-4.mp4 + s202008.e0701 - Mock Entry 20-3-thumb.jpg + s202008.e0701 - Mock Entry 20-3.info.json + s202008.e0701 - Mock Entry 20-3.mp4 + s202008.e0801 - Mock Entry 20-2-thumb.jpg + s202008.e0801 - Mock Entry 20-2.info.json + s202008.e0801 - Mock Entry 20-2.mp4 + s202008.e0802 - Mock Entry 20-1-thumb.jpg + s202008.e0802 - Mock Entry 20-1.info.json + s202008.e0802 - Mock Entry 20-1.mp4 +{output_directory}/Season 202108 + s202108.e0801 - Mock Entry 21-1-thumb.jpg + s202108.e0801 - Mock Entry 21-1.info.json + s202108.e0801 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/unit/prebuilt_presets/test_prebuilt_presets.py b/tests/unit/prebuilt_presets/test_prebuilt_presets.py index cdf59498..79986aac 100644 --- a/tests/unit/prebuilt_presets/test_prebuilt_presets.py +++ b/tests/unit/prebuilt_presets/test_prebuilt_presets.py @@ -143,10 +143,11 @@ class TestPrebuiltTVShowPresets: ###################################### Perform reformat reformatted_tv_show_structure_preset = "season_by_year__episode_by_download_index" - reformatted_expected_summary_name = "unit/{}/{}/is_yt_{}".format( + reformatted_expected_summary_name = "unit/{}/{}/is_yt_{}{}".format( media_player_preset, reformatted_tv_show_structure_preset, int(is_youtube_channel), + "_many_urls" if is_many_urls else "", ) reformatted_subscription = Subscription.from_dict( @@ -169,6 +170,7 @@ class TestPrebuiltTVShowPresets: transaction_log_summary_file_name=( f"{expected_summary_name}_reformatted_to_{reformatted_tv_show_structure_preset}.txt" ), + regenerate_transaction_log=True, ) assert_expected_downloads( output_directory=output_directory,