From 7385aac1ee5d982be8aa5d8eb814b61b37f240fb Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Tue, 21 Mar 2023 08:05:08 -0700 Subject: [PATCH] [FEATURE][EXPERIMENTAL] `--update-with-info-json` (#557) * [FEATURE ] Reformat existing downloads * working?!?! * reformat in output dir * close, need info json enabled by default * asdfadsfsaf * lint * closer * multi created variables do not exist for update command! * info json downloader * [REFACTOR] Shared plugin and download options class * more refactoring * lint * put in initialize plugins * changes * [REFACTOR] simplify enhanced download archive * working! * in main * simplified, many url tests working * ready? --- src/ytdl_sub/cli/main.py | 22 +- src/ytdl_sub/cli/main_args_parser.py | 15 + src/ytdl_sub/config/config_validator.py | 33 +++ .../downloaders/info_json/__init__.py | 0 .../info_json/info_json_downloader.py | 142 ++++++++++ .../subscriptions/subscription_download.py | 92 ++++-- src/ytdl_sub/utils/exceptions.py | 4 + src/ytdl_sub/utils/file_handler.py | 21 ++ .../validators/file_path_validators.py | 14 +- .../enhanced_download_archive.py | 20 ++ tests/conftest.py | 6 + ...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 | 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 | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 264 ++++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 264 ++++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 231 +++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 231 +++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 262 +++++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 262 +++++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 262 +++++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 262 +++++++++++++++++ ...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 | 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 | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 262 +++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 264 ++++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...son_by_year__episode_by_download_index.txt | 264 ++++++++++++++++++ ...son_by_year__episode_by_download_index.txt | 138 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 231 +++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 231 +++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 262 +++++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 262 +++++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 136 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 262 +++++++++++++++++ ...on__episode_by_playlist_index_reversed.txt | 262 +++++++++++++++++ ...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 | 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 | 82 ++++++ ...son_by_year__episode_by_download_index.txt | 150 ++++++++++ ...son_by_year__episode_by_download_index.txt | 82 ++++++ .../is_yt_1.txt | 82 ++++++ ...son_by_year__episode_by_download_index.txt | 150 ++++++++++ ...son_by_year__episode_by_download_index.txt | 82 ++++++ ...son_by_year__episode_by_download_index.txt | 150 ++++++++++ ...son_by_year__episode_by_download_index.txt | 82 ++++++ ...son_by_year__episode_by_download_index.txt | 152 ++++++++++ ...son_by_year__episode_by_download_index.txt | 82 ++++++ ...son_by_year__episode_by_download_index.txt | 152 ++++++++++ ...son_by_year__episode_by_download_index.txt | 82 ++++++ ...on__episode_by_playlist_index_reversed.txt | 80 ++++++ ...on__episode_by_playlist_index_reversed.txt | 80 ++++++ ...on__episode_by_playlist_index_reversed.txt | 133 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 133 +++++++++ ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 1 + ...on__episode_by_playlist_index_reversed.txt | 80 ++++++ ...on__episode_by_playlist_index_reversed.txt | 80 ++++++ ...on__episode_by_playlist_index_reversed.txt | 150 ++++++++++ ...on__episode_by_playlist_index_reversed.txt | 150 ++++++++++ ...on__episode_by_playlist_index_reversed.txt | 80 ++++++ ...on__episode_by_playlist_index_reversed.txt | 80 ++++++ ...on__episode_by_playlist_index_reversed.txt | 150 ++++++++++ ...on__episode_by_playlist_index_reversed.txt | 150 ++++++++++ tests/unit/cli/test_main.py | 25 +- .../prebuilt_presets/test_prebuilt_presets.py | 76 +++++ 110 files changed, 12746 insertions(+), 32 deletions(-) create mode 100644 src/ytdl_sub/downloaders/info_json/__init__.py create mode 100644 src/ytdl_sub/downloaders/info_json/info_json_downloader.py 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_0_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_download_index/is_yt_1_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_0_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/is_yt_1_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_0_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__episode_by_month_day_reversed/is_yt_1_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_0_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/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_0_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_download_index/is_yt_1_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_0_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/is_yt_1_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_0_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__episode_by_month_day_reversed/is_yt_1_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_0_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/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_0_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_download_index/is_yt_1_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_0_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/is_yt_1_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_reformatted_to_unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1.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_0_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__episode_by_month_day_reversed/is_yt_1_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_0_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 create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_reformatted_to_season_by_year__episode_by_download_index.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt create mode 100644 tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt diff --git a/src/ytdl_sub/cli/main.py b/src/ytdl_sub/cli/main.py index 2419c0b..a8491b5 100644 --- a/src/ytdl_sub/cli/main.py +++ b/src/ytdl_sub/cli/main.py @@ -14,6 +14,7 @@ from ytdl_sub.cli.download_args_parser import DownloadArgsParser from ytdl_sub.cli.main_args_parser import parser from ytdl_sub.config.config_file import ConfigFile from ytdl_sub.subscriptions.subscription import Subscription +from ytdl_sub.utils.exceptions import ExperimentalFeatureNotEnabled from ytdl_sub.utils.exceptions import ValidationException from ytdl_sub.utils.file_handler import FileHandler from ytdl_sub.utils.file_handler import FileHandlerTransactionLog @@ -62,7 +63,7 @@ def _maybe_write_subscription_log_file( def _download_subscriptions_from_yaml_files( - config: ConfigFile, subscription_paths: List[str], dry_run: bool + config: ConfigFile, subscription_paths: List[str], update_with_info_json: bool, dry_run: bool ) -> List[Tuple[Subscription, FileHandlerTransactionLog]]: """ Downloads all subscriptions from one or many subscription yaml files. @@ -73,6 +74,8 @@ def _download_subscriptions_from_yaml_files( Configuration file subscription_paths Path to subscription files to download + update_with_info_json + Whether to actually download or update using existing info json dry_run Whether to dry run or not @@ -101,7 +104,10 @@ def _download_subscriptions_from_yaml_files( logger.debug("Subscription full yaml:\n%s", subscription.as_yaml()) try: - transaction_log = subscription.download(dry_run=dry_run) + if update_with_info_json: + transaction_log = subscription.update_with_info_json(dry_run=dry_run) + else: + transaction_log = subscription.download(dry_run=dry_run) except Exception as exc: # pylint: disable=broad-except _maybe_write_subscription_log_file( config=config, subscription=subscription, dry_run=dry_run, exception=exc @@ -305,9 +311,21 @@ def main() -> List[Tuple[Subscription, FileHandlerTransactionLog]]: with working_directory_lock(config=config): if args.subparser == "sub": + if ( + args.update_with_info_json + and not config.config_options.experimental.enable_update_with_info_json + ): + raise ExperimentalFeatureNotEnabled( + "--update-with-info-json requires setting " + "configuration.experimental.update_with_info_json to True. This feature is ", + "still being tested and has the ability to destroy files. Ensure you have a ", + "full backup before usage. You have been warned!", + ) + transaction_logs = _download_subscriptions_from_yaml_files( config=config, subscription_paths=args.subscription_paths, + update_with_info_json=args.update_with_info_json, dry_run=args.dry_run, ) diff --git a/src/ytdl_sub/cli/main_args_parser.py b/src/ytdl_sub/cli/main_args_parser.py index e5879f9..35f6384 100644 --- a/src/ytdl_sub/cli/main_args_parser.py +++ b/src/ytdl_sub/cli/main_args_parser.py @@ -135,6 +135,13 @@ _add_shared_arguments(parser, suppress_defaults=False) subparsers = parser.add_subparsers(dest="subparser") ################################################################################################### # SUBSCRIPTION PARSER +class SubArguments: + UPDATE_WITH_INFO_JSON = CLIArgument( + short="-u", + long="--update-with-info-json", + ) + + subscription_parser = subparsers.add_parser("sub") _add_shared_arguments(subscription_parser, suppress_defaults=True) subscription_parser.add_argument( @@ -144,6 +151,14 @@ subscription_parser.add_argument( help="path to subscription files, uses subscriptions.yaml if not provided", default=["subscriptions.yaml"], ) +subscription_parser.add_argument( + SubArguments.UPDATE_WITH_INFO_JSON.short, + SubArguments.UPDATE_WITH_INFO_JSON.long, + action="store_true", + help="update all subscriptions with the current config using info.json files", + default=False, +) + ################################################################################################### # DOWNLOAD PARSER download_parser = subparsers.add_parser("dl") diff --git a/src/ytdl_sub/config/config_validator.py b/src/ytdl_sub/config/config_validator.py index 04510b3..4fb643c 100644 --- a/src/ytdl_sub/config/config_validator.py +++ b/src/ytdl_sub/config/config_validator.py @@ -24,6 +24,27 @@ else: _DEFAULT_FFPROBE_PATH = "/usr/bin/ffprobe" +class ExperimentalValidator(StrictDictValidator): + _optional_keys = {"enable_update_with_info_json"} + _allow_extra_keys = True + + def __init__(self, name: str, value: Any): + super().__init__(name, value) + + self._enable_update_with_info_json = self._validate_key( + key="enable_update_with_info_json", validator=BoolValidator, default=False + ) + + @property + def enable_update_with_info_json(self) -> bool: + """ + Enables modifying subscription files using info.json files using the argument + ``--update-with-info-json``. This feature is still being tested and has the ability to + destroy files. Ensure you have a full backup before usage. You have been warned! + """ + return self._enable_update_with_info_json.value + + class PersistLogsValidator(StrictDictValidator): _required_keys = {"logs_directory"} _optional_keys = {"keep_logs_after", "keep_successful_logs"} @@ -79,6 +100,7 @@ class PersistLogsValidator(StrictDictValidator): return self._keep_successful_logs.value +# pylint: disable=too-many-instance-attributes class ConfigOptions(StrictDictValidator): _required_keys = {"working_directory"} _optional_keys = { @@ -88,6 +110,7 @@ class ConfigOptions(StrictDictValidator): "lock_directory", "ffmpeg_path", "ffprobe_path", + "experimental", } def __init__(self, name: str, value: Any): @@ -114,6 +137,9 @@ class ConfigOptions(StrictDictValidator): self._ffprobe_path = self._validate_key( key="ffprobe_path", validator=FFprobeFileValidator, default=_DEFAULT_FFPROBE_PATH ) + self._experimental = self._validate_key( + key="experimental", validator=ExperimentalValidator, default={} + ) @property def working_directory(self) -> str: @@ -167,6 +193,13 @@ class ConfigOptions(StrictDictValidator): """ return self._persist_logs + @property + def experimental(self) -> ExperimentalValidator: + """ + Experimental validator. readthedocs in the validator itself! + """ + return self._experimental + @property def lock_directory(self) -> str: """ diff --git a/src/ytdl_sub/downloaders/info_json/__init__.py b/src/ytdl_sub/downloaders/info_json/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/ytdl_sub/downloaders/info_json/info_json_downloader.py b/src/ytdl_sub/downloaders/info_json/info_json_downloader.py new file mode 100644 index 0000000..244a97c --- /dev/null +++ b/src/ytdl_sub/downloaders/info_json/info_json_downloader.py @@ -0,0 +1,142 @@ +import copy +import json +from pathlib import Path +from typing import Dict +from typing import Iterable +from typing import List + +from ytdl_sub.config.preset_options import Overrides +from ytdl_sub.downloaders.base_downloader import BaseDownloader +from ytdl_sub.downloaders.base_downloader import BaseDownloaderOptionsT +from ytdl_sub.downloaders.base_downloader import BaseDownloaderValidator +from ytdl_sub.downloaders.ytdl_options_builder import YTDLOptionsBuilder +from ytdl_sub.entries.entry import Entry +from ytdl_sub.utils.exceptions import ValidationException +from ytdl_sub.utils.file_handler import FileHandler +from ytdl_sub.utils.file_handler import get_file_extension +from ytdl_sub.ytdl_additions.enhanced_download_archive import DownloadMapping +from ytdl_sub.ytdl_additions.enhanced_download_archive import EnhancedDownloadArchive + + +class InfoJsonDownloaderOptions(BaseDownloaderValidator): + _optional_keys = {"no-op"} + + +class InfoJsonDownloader(BaseDownloader[InfoJsonDownloaderOptions]): + downloader_options_type = InfoJsonDownloaderOptions + + def __init__( + self, + download_options: BaseDownloaderOptionsT, + enhanced_download_archive: EnhancedDownloadArchive, + download_ytdl_options: YTDLOptionsBuilder, + metadata_ytdl_options: YTDLOptionsBuilder, + overrides: Overrides, + ): + super().__init__( + download_options=download_options, + enhanced_download_archive=enhanced_download_archive, + download_ytdl_options=download_ytdl_options, + metadata_ytdl_options=metadata_ytdl_options, + overrides=overrides, + ) + # Keep track of original file mappings for the 'mock' download + self._original_entry_mappings = copy.deepcopy( + enhanced_download_archive.mapping.entry_mappings + ) + + @property + def output_directory(self) -> str: + """ + Returns + ------- + The output directory + """ + 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 + """ + for file_name in download_mapping.file_names: + if file_name.endswith(".info.json"): + try: + with open( + Path(self.output_directory) / file_name, "r", encoding="utf-8" + ) as maybe_info_json: + entry_dict = json.load(maybe_info_json) + except Exception as exc: + raise ValidationException( + "info.json file cannot be loaded - subscription cannot be reformatted" + ) from exc + + return Entry( + entry_dict=entry_dict, + working_directory=self.working_directory, + ) + + raise ValidationException( + "info.json file could not be found - subscription cannot be reformatted" + ) + + def download_metadata(self) -> Iterable[Entry]: + """ + Loads all entries via their info.json files first (to ensure they are all valid), then + iterates them + """ + 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) + + # Remove each entry from the live download archive since it will get re-added + # unless it is filtered + for entry in entries: + self._enhanced_download_archive.mapping.remove_entry(entry.uid) + + for entry in sorted(entries, key=lambda ent: ent.download_index): + yield entry + + # 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.delete_file_from_output_directory(file_name) + + def download(self, entry: Entry) -> Entry: + """ + Mock the download by copying the entry file from the output directory into + the working directory + """ + # Use original mapping since the live mapping gets wiped + entry_file_names = self._original_entry_mappings[entry.uid].file_names + + for file_name in entry_file_names: + ext = get_file_extension(file_name) + file_path = Path(self.output_directory) / file_name + working_directory_file_path = Path(self.working_directory) / f"{entry.uid}.{ext}" + + # NFO files will always get rewritten, so ignore + if ext == "nfo": + continue + + if not self.is_dry_run: + FileHandler.copy( + src_file_path=file_path, + dst_file_path=working_directory_file_path, + ) + + return entry diff --git a/src/ytdl_sub/subscriptions/subscription_download.py b/src/ytdl_sub/subscriptions/subscription_download.py index 7d28fd9..cf69f76 100644 --- a/src/ytdl_sub/subscriptions/subscription_download.py +++ b/src/ytdl_sub/subscriptions/subscription_download.py @@ -2,9 +2,14 @@ import contextlib import os import shutil from abc import ABC +from pathlib import Path from typing import List from typing import Optional +from ytdl_sub.downloaders.base_downloader import BaseDownloader +from ytdl_sub.downloaders.info_json.info_json_downloader import InfoJsonDownloader +from ytdl_sub.downloaders.info_json.info_json_downloader import InfoJsonDownloaderOptions +from ytdl_sub.downloaders.ytdl_options_builder import YTDLOptionsBuilder from ytdl_sub.entries.entry import Entry from ytdl_sub.plugins.plugin import Plugin from ytdl_sub.subscriptions.base_subscription import BaseSubscription @@ -142,11 +147,24 @@ class SubscriptionDownload(BaseSubscription, ABC): FileHandler.delete(self._enhanced_download_archive.archive_working_file_path) FileHandler.delete(self._enhanced_download_archive.mapping_working_file_path) + @contextlib.contextmanager + def _remove_empty_directories_in_output_directory(self): + try: + yield + finally: + if not self._enhanced_download_archive.is_dry_run: + for root, dir_names, _ in os.walk(Path(self.output_directory), topdown=False): + for dir_name in dir_names: + dir_path = Path(root) / dir_name + if len(os.listdir(dir_path)) == 0: + os.rmdir(dir_path) + @contextlib.contextmanager def _subscription_download_context_managers(self) -> None: with ( self._prepare_working_directory(), self._maintain_archive_file(), + self._remove_empty_directories_in_output_directory(), ): yield @@ -270,6 +288,36 @@ class SubscriptionDownload(BaseSubscription, ABC): self._cleanup_entry_files(entry) + def _process_subscription( + self, + plugins: List[Plugin], + downloader: BaseDownloader, + dry_run: bool, + ) -> FileHandlerTransactionLog: + with self._subscription_download_context_managers(): + for entry in downloader.download_metadata(): + if (entry := self._preprocess_entry(plugins=plugins, entry=entry)) is None: + continue + + entry = downloader.download(entry) + entry_metadata = FileMetadata() + if isinstance(entry, tuple): + entry, entry_metadata = entry + + if split_plugin := _get_split_plugin(plugins): + self._process_split_entry( + split_plugin=split_plugin, plugins=plugins, dry_run=dry_run, entry=entry + ) + else: + self._process_entry( + plugins=plugins, dry_run=dry_run, entry=entry, entry_metadata=entry_metadata + ) + + for plugin in plugins: + plugin.post_process_subscription() + + return self._enhanced_download_archive.get_file_handler_transaction_log() + def download(self, dry_run: bool = False) -> FileHandlerTransactionLog: """ Performs the subscription download @@ -299,24 +347,34 @@ class SubscriptionDownload(BaseSubscription, ABC): overrides=self.overrides, ) - with self._subscription_download_context_managers(): - for entry in downloader.download_metadata(): - if (entry := self._preprocess_entry(plugins=plugins, entry=entry)) is None: - continue + return self._process_subscription( + plugins=plugins, + downloader=downloader, + dry_run=dry_run, + ) - entry = downloader.download(entry) - entry_metadata = FileMetadata() + def update_with_info_json(self, dry_run: bool = False) -> FileHandlerTransactionLog: + """ + Performs the subscription update using local info json files. - if split_plugin := _get_split_plugin(plugins): - self._process_split_entry( - split_plugin=split_plugin, plugins=plugins, dry_run=dry_run, entry=entry - ) - else: - self._process_entry( - plugins=plugins, dry_run=dry_run, entry=entry, entry_metadata=entry_metadata - ) + Parameters + ---------- + dry_run + If true, do not modify any video/audio files or move anything to the output directory. + """ + self._enhanced_download_archive.reinitialize(dry_run=dry_run) + plugins = self._initialize_plugins() - for plugin in plugins: - plugin.post_process_subscription() + downloader = InfoJsonDownloader( + download_options=InfoJsonDownloaderOptions(name="no-op", value={}), + enhanced_download_archive=self._enhanced_download_archive, + download_ytdl_options=YTDLOptionsBuilder(), + metadata_ytdl_options=YTDLOptionsBuilder(), + overrides=self.overrides, + ) - return self._enhanced_download_archive.get_file_handler_transaction_log() + return self._process_subscription( + plugins=plugins, + downloader=downloader, + dry_run=dry_run, + ) diff --git a/src/ytdl_sub/utils/exceptions.py b/src/ytdl_sub/utils/exceptions.py index 1a545b6..bfc222e 100644 --- a/src/ytdl_sub/utils/exceptions.py +++ b/src/ytdl_sub/utils/exceptions.py @@ -36,3 +36,7 @@ class InvalidDlArguments(ValidationException): class FileNotDownloadedException(ValueError): """ytdlp failed to download something""" + + +class ExperimentalFeatureNotEnabled(ValidationException): + """Feature is not enabled for usage""" diff --git a/src/ytdl_sub/utils/file_handler.py b/src/ytdl_sub/utils/file_handler.py index 654e87c..7cf5ef2 100644 --- a/src/ytdl_sub/utils/file_handler.py +++ b/src/ytdl_sub/utils/file_handler.py @@ -11,6 +11,27 @@ from typing import Optional from typing import Set from typing import Union +from ytdl_sub.utils.subtitles import SUBTITLE_EXTENSIONS + + +def get_file_extension(file_name: Path | str) -> str: + """ + Returns the file extension from a file name. Tries to return .info.json and .lang.subtitle + extensions if detected, otherwise splits on the last `.` and returns the latter part + """ + if file_name.endswith(".info.json"): + return "info.json" + if any(file_name.endswith(f".{subtitle_ext}") for subtitle_ext in SUBTITLE_EXTENSIONS): + file_name_split = file_name.split(".") + ext = file_name_split[-1] + + # Try to capture .lang.ext + if len(file_name_split) > 2 and len(file_name_split[-2]) < 6: + ext = f"{file_name_split[-2]}.{file_name_split[-1]}" + + return ext + return file_name.rsplit(".", maxsplit=1)[-1] + def get_file_md5_hash(full_file_path: Path | str) -> str: """ diff --git a/src/ytdl_sub/validators/file_path_validators.py b/src/ytdl_sub/validators/file_path_validators.py index f0850c5..2c6b65c 100644 --- a/src/ytdl_sub/validators/file_path_validators.py +++ b/src/ytdl_sub/validators/file_path_validators.py @@ -4,6 +4,7 @@ from typing import Any from typing import Dict from typing import Tuple +from ytdl_sub.utils.file_handler import get_file_extension from ytdl_sub.utils.subtitles import SUBTITLE_EXTENSIONS from ytdl_sub.utils.system import IS_WINDOWS from ytdl_sub.validators.string_formatter_validators import OverridesStringFormatterValidator @@ -46,18 +47,7 @@ class FilePathValidatorMixin: @classmethod def _get_extension_split(cls, file_name: str) -> Tuple[str, str]: - if file_name.endswith(".info.json"): - ext = "info.json" - elif any(file_name.endswith(f".{subtitle_ext}") for subtitle_ext in SUBTITLE_EXTENSIONS): - file_name_split = file_name.split(".") - ext = file_name_split[-1] - - # Try to capture .lang.ext - if len(file_name_split) > 2 and len(file_name_split[-2]) < 6: - ext = f"{file_name_split[-2]}.{file_name_split[-1]}" - else: - ext = file_name.rsplit(".", maxsplit=1)[-1] - + ext = get_file_extension(file_name) return file_name[: -len(ext)], ext @classmethod diff --git a/src/ytdl_sub/ytdl_additions/enhanced_download_archive.py b/src/ytdl_sub/ytdl_additions/enhanced_download_archive.py index c04ce8f..822de1a 100644 --- a/src/ytdl_sub/ytdl_additions/enhanced_download_archive.py +++ b/src/ytdl_sub/ytdl_additions/enhanced_download_archive.py @@ -175,6 +175,15 @@ class DownloadMappings: download_mappings._entry_mappings = entry_mappings_json return download_mappings + @property + def entry_mappings(self) -> Dict[str, DownloadMapping]: + """ + Returns + ------- + Mapping of entries to files + """ + return self._entry_mappings + @property def entry_ids(self) -> List[str]: """ @@ -561,6 +570,17 @@ class EnhancedDownloadArchive: self.save_file_to_output_directory(file_name=self._mapping_file_name) return self + def delete_file_from_output_directory(self, file_name: str): + """ + Deletes a file from the output directory + + Parameters + ---------- + file_name + Name of the file, relative to the output directory + """ + return self._file_handler.delete_file_from_output_directory(file_name=file_name) + def save_file_to_output_directory( self, file_name: str, diff --git a/tests/conftest.py b/tests/conftest.py index e15d9e1..54fab74 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -71,6 +71,12 @@ def output_directory() -> Path: yield temp_dir +@pytest.fixture() +def reformat_directory() -> Path: + with tempfile.TemporaryDirectory() as temp_dir: + yield temp_dir + + @contextlib.contextmanager def assert_logs(logger: logging.Logger, expected_message: str, log_level: str = "debug"): """ 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 0000000..7192b6c --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_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 0000000..7192b6c --- /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_download_index/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_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 0000000..e3d1ad5 --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..978fc7b --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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.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 0000000..e3d1ad5 --- /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/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..978fc7b --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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.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 0000000..1240360 --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..43a7750 --- /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_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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 +{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 0000000..1240360 --- /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__episode_by_month_day_reversed/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..43a7750 --- /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_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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 +{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 0000000..7eeba6c --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..ce103a1 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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 202008 + 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 0000000..7eeba6c --- /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/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..ce103a1 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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 202008 + 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_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..f25898d --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e000001 - Mock Entry 21-1-thumb.jpg + s01.e000001 - Mock Entry 21-1.info.json + s01.e000001 - Mock Entry 21-1.mp4 + s01.e000001 - Mock Entry 21-1.nfo + s01.e000002 - Mock Entry 20-1-thumb.jpg + s01.e000002 - Mock Entry 20-1.info.json + s01.e000002 - Mock Entry 20-1.mp4 + s01.e000002 - Mock Entry 20-1.nfo + s01.e000003 - Mock Entry 20-2-thumb.jpg + s01.e000003 - Mock Entry 20-2.info.json + s01.e000003 - Mock Entry 20-2.mp4 + s01.e000003 - Mock Entry 20-2.nfo + s01.e000004 - Mock Entry 20-3-thumb.jpg + s01.e000004 - Mock Entry 20-3.info.json + s01.e000004 - Mock Entry 20-3.mp4 + s01.e000004 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..f25898d --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e000001 - Mock Entry 21-1-thumb.jpg + s01.e000001 - Mock Entry 21-1.info.json + s01.e000001 - Mock Entry 21-1.mp4 + s01.e000001 - Mock Entry 21-1.nfo + s01.e000002 - Mock Entry 20-1-thumb.jpg + s01.e000002 - Mock Entry 20-1.info.json + s01.e000002 - Mock Entry 20-1.mp4 + s01.e000002 - Mock Entry 20-1.nfo + s01.e000003 - Mock Entry 20-2-thumb.jpg + s01.e000003 - Mock Entry 20-2.info.json + s01.e000003 - Mock Entry 20-2.mp4 + s01.e000003 - Mock Entry 20-2.nfo + s01.e000004 - Mock Entry 20-3-thumb.jpg + s01.e000004 - Mock Entry 20-3.info.json + s01.e000004 - Mock Entry 20-3.mp4 + s01.e000004 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..e6aefd7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,231 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e000002 - Mock Entry 20-4-thumb.jpg + s01.e000002 - Mock Entry 20-4.info.json + s01.e000002 - Mock Entry 20-4.mp4 + s01.e000002 - Mock Entry 20-4.nfo + s01.e000004 - Mock Entry 20-6-thumb.jpg + s01.e000004 - Mock Entry 20-6.info.json + s01.e000004 - Mock Entry 20-6.mp4 + s01.e000004 - Mock Entry 20-6.nfo + s01.e000005 - Mock Entry 20-7-thumb.jpg + s01.e000005 - Mock Entry 20-7.info.json + s01.e000005 - Mock Entry 20-7.mp4 + s01.e000005 - Mock Entry 20-7.nfo +{output_directory}/Season 02 + s02.e000001 - Mock Entry 21-1-thumb.jpg + s02.e000001 - Mock Entry 21-1.info.json + s02.e000001 - Mock Entry 21-1.mp4 + s02.e000001 - Mock Entry 21-1.nfo + s02.e000002 - Mock Entry 20-1-thumb.jpg + s02.e000002 - Mock Entry 20-1.info.json + s02.e000002 - Mock Entry 20-1.mp4 + s02.e000002 - Mock Entry 20-1.nfo + s02.e000003 - Mock Entry 20-2-thumb.jpg + s02.e000003 - Mock Entry 20-2.info.json + s02.e000003 - Mock Entry 20-2.mp4 + s02.e000003 - Mock Entry 20-2.nfo + s02.e000004 - Mock Entry 20-3-thumb.jpg + s02.e000004 - Mock Entry 20-3.info.json + s02.e000004 - Mock Entry 20-3.mp4 + s02.e000004 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..e6aefd7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,231 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e000002 - Mock Entry 20-4-thumb.jpg + s01.e000002 - Mock Entry 20-4.info.json + s01.e000002 - Mock Entry 20-4.mp4 + s01.e000002 - Mock Entry 20-4.nfo + s01.e000004 - Mock Entry 20-6-thumb.jpg + s01.e000004 - Mock Entry 20-6.info.json + s01.e000004 - Mock Entry 20-6.mp4 + s01.e000004 - Mock Entry 20-6.nfo + s01.e000005 - Mock Entry 20-7-thumb.jpg + s01.e000005 - Mock Entry 20-7.info.json + s01.e000005 - Mock Entry 20-7.mp4 + s01.e000005 - Mock Entry 20-7.nfo +{output_directory}/Season 02 + s02.e000001 - Mock Entry 21-1-thumb.jpg + s02.e000001 - Mock Entry 21-1.info.json + s02.e000001 - Mock Entry 21-1.mp4 + s02.e000001 - Mock Entry 21-1.nfo + s02.e000002 - Mock Entry 20-1-thumb.jpg + s02.e000002 - Mock Entry 20-1.info.json + s02.e000002 - Mock Entry 20-1.mp4 + s02.e000002 - Mock Entry 20-1.nfo + s02.e000003 - Mock Entry 20-2-thumb.jpg + s02.e000003 - Mock Entry 20-2.info.json + s02.e000003 - Mock Entry 20-2.mp4 + s02.e000003 - Mock Entry 20-2.nfo + s02.e000004 - Mock Entry 20-3-thumb.jpg + s02.e000004 - Mock Entry 20-3.info.json + s02.e000004 - Mock Entry 20-3.mp4 + s02.e000004 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..8b3a14f --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e20080701 - Mock Entry 20-3-thumb.jpg + s01.e20080701 - Mock Entry 20-3.info.json + s01.e20080701 - Mock Entry 20-3.mp4 + s01.e20080701 - Mock Entry 20-3.nfo + s01.e20080801 - Mock Entry 20-2-thumb.jpg + s01.e20080801 - Mock Entry 20-2.info.json + s01.e20080801 - Mock Entry 20-2.mp4 + s01.e20080801 - Mock Entry 20-2.nfo + s01.e20080802 - Mock Entry 20-1-thumb.jpg + s01.e20080802 - Mock Entry 20-1.info.json + s01.e20080802 - Mock Entry 20-1.mp4 + s01.e20080802 - Mock Entry 20-1.nfo + s01.e21080801 - Mock Entry 21-1-thumb.jpg + s01.e21080801 - Mock Entry 21-1.info.json + s01.e21080801 - Mock Entry 21-1.mp4 + s01.e21080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..8b3a14f --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e20080701 - Mock Entry 20-3-thumb.jpg + s01.e20080701 - Mock Entry 20-3.info.json + s01.e20080701 - Mock Entry 20-3.mp4 + s01.e20080701 - Mock Entry 20-3.nfo + s01.e20080801 - Mock Entry 20-2-thumb.jpg + s01.e20080801 - Mock Entry 20-2.info.json + s01.e20080801 - Mock Entry 20-2.mp4 + s01.e20080801 - Mock Entry 20-2.nfo + s01.e20080802 - Mock Entry 20-1-thumb.jpg + s01.e20080802 - Mock Entry 20-1.info.json + s01.e20080802 - Mock Entry 20-1.mp4 + s01.e20080802 - Mock Entry 20-1.nfo + s01.e21080801 - Mock Entry 21-1-thumb.jpg + s01.e21080801 - Mock Entry 21-1.info.json + s01.e21080801 - Mock Entry 21-1.mp4 + s01.e21080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..4e60322 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000003 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 3 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e20060601 - Mock Entry 20-7-thumb.jpg + s01.e20060601 - Mock Entry 20-7.info.json + s01.e20060601 - Mock Entry 20-7.mp4 + s01.e20060601 - Mock Entry 20-7.nfo + s01.e20070601 - Mock Entry 20-6-thumb.jpg + s01.e20070601 - Mock Entry 20-6.info.json + s01.e20070601 - Mock Entry 20-6.mp4 + s01.e20070601 - Mock Entry 20-6.nfo + s01.e20070602 - Mock Entry 20-5-thumb.jpg + s01.e20070602 - Mock Entry 20-5.info.json + s01.e20070602 - Mock Entry 20-5.mp4 + s01.e20070602 - Mock Entry 20-5.nfo + s01.e20080601 - Mock Entry 20-4-thumb.jpg + s01.e20080601 - Mock Entry 20-4.info.json + s01.e20080601 - Mock Entry 20-4.mp4 + s01.e20080601 - Mock Entry 20-4.nfo +{output_directory}/Season 02 + s02.e20080701 - Mock Entry 20-3-thumb.jpg + s02.e20080701 - Mock Entry 20-3.info.json + s02.e20080701 - Mock Entry 20-3.mp4 + s02.e20080701 - Mock Entry 20-3.nfo + s02.e20080801 - Mock Entry 20-2-thumb.jpg + s02.e20080801 - Mock Entry 20-2.info.json + s02.e20080801 - Mock Entry 20-2.mp4 + s02.e20080801 - Mock Entry 20-2.nfo + s02.e20080802 - Mock Entry 20-1-thumb.jpg + s02.e20080802 - Mock Entry 20-1.info.json + s02.e20080802 - Mock Entry 20-1.mp4 + s02.e20080802 - Mock Entry 20-1.nfo + s02.e21080801 - Mock Entry 21-1-thumb.jpg + s02.e21080801 - Mock Entry 21-1.info.json + s02.e21080801 - Mock Entry 21-1.mp4 + s02.e21080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..4e60322 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000003 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 3 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e20060601 - Mock Entry 20-7-thumb.jpg + s01.e20060601 - Mock Entry 20-7.info.json + s01.e20060601 - Mock Entry 20-7.mp4 + s01.e20060601 - Mock Entry 20-7.nfo + s01.e20070601 - Mock Entry 20-6-thumb.jpg + s01.e20070601 - Mock Entry 20-6.info.json + s01.e20070601 - Mock Entry 20-6.mp4 + s01.e20070601 - Mock Entry 20-6.nfo + s01.e20070602 - Mock Entry 20-5-thumb.jpg + s01.e20070602 - Mock Entry 20-5.info.json + s01.e20070602 - Mock Entry 20-5.mp4 + s01.e20070602 - Mock Entry 20-5.nfo + s01.e20080601 - Mock Entry 20-4-thumb.jpg + s01.e20080601 - Mock Entry 20-4.info.json + s01.e20080601 - Mock Entry 20-4.mp4 + s01.e20080601 - Mock Entry 20-4.nfo +{output_directory}/Season 02 + s02.e20080701 - Mock Entry 20-3-thumb.jpg + s02.e20080701 - Mock Entry 20-3.info.json + s02.e20080701 - Mock Entry 20-3.mp4 + s02.e20080701 - Mock Entry 20-3.nfo + s02.e20080801 - Mock Entry 20-2-thumb.jpg + s02.e20080801 - Mock Entry 20-2.info.json + s02.e20080801 - Mock Entry 20-2.mp4 + s02.e20080801 - Mock Entry 20-2.nfo + s02.e20080802 - Mock Entry 20-1-thumb.jpg + s02.e20080802 - Mock Entry 20-1.info.json + s02.e20080802 - Mock Entry 20-1.mp4 + s02.e20080802 - Mock Entry 20-1.nfo + s02.e21080801 - Mock Entry 21-1-thumb.jpg + s02.e21080801 - Mock Entry 21-1.info.json + s02.e21080801 - Mock Entry 21-1.mp4 + s02.e21080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..8430d90 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e79052499 - Mock Entry 21-1-thumb.jpg + s01.e79052499 - Mock Entry 21-1.info.json + s01.e79052499 - Mock Entry 21-1.mp4 + s01.e79052499 - Mock Entry 21-1.nfo + s01.e80052498 - Mock Entry 20-1-thumb.jpg + s01.e80052498 - Mock Entry 20-1.info.json + s01.e80052498 - Mock Entry 20-1.mp4 + s01.e80052498 - Mock Entry 20-1.nfo + s01.e80052499 - Mock Entry 20-2-thumb.jpg + s01.e80052499 - Mock Entry 20-2.info.json + s01.e80052499 - Mock Entry 20-2.mp4 + s01.e80052499 - Mock Entry 20-2.nfo + s01.e80052599 - Mock Entry 20-3-thumb.jpg + s01.e80052599 - Mock Entry 20-3.info.json + s01.e80052599 - Mock Entry 20-3.mp4 + s01.e80052599 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..8430d90 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e79052499 - Mock Entry 21-1-thumb.jpg + s01.e79052499 - Mock Entry 21-1.info.json + s01.e79052499 - Mock Entry 21-1.mp4 + s01.e79052499 - Mock Entry 21-1.nfo + s01.e80052498 - Mock Entry 20-1-thumb.jpg + s01.e80052498 - Mock Entry 20-1.info.json + s01.e80052498 - Mock Entry 20-1.mp4 + s01.e80052498 - Mock Entry 20-1.nfo + s01.e80052499 - Mock Entry 20-2-thumb.jpg + s01.e80052499 - Mock Entry 20-2.info.json + s01.e80052499 - Mock Entry 20-2.mp4 + s01.e80052499 - Mock Entry 20-2.nfo + s01.e80052599 - Mock Entry 20-3-thumb.jpg + s01.e80052599 - Mock Entry 20-3.info.json + s01.e80052599 - Mock Entry 20-3.mp4 + s01.e80052599 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..c59bc37 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000003 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 3 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e80052699 - Mock Entry 20-4-thumb.jpg + s01.e80052699 - Mock Entry 20-4.info.json + s01.e80052699 - Mock Entry 20-4.mp4 + s01.e80052699 - Mock Entry 20-4.nfo + s01.e80062698 - Mock Entry 20-5-thumb.jpg + s01.e80062698 - Mock Entry 20-5.info.json + s01.e80062698 - Mock Entry 20-5.mp4 + s01.e80062698 - Mock Entry 20-5.nfo + s01.e80062699 - Mock Entry 20-6-thumb.jpg + s01.e80062699 - Mock Entry 20-6.info.json + s01.e80062699 - Mock Entry 20-6.mp4 + s01.e80062699 - Mock Entry 20-6.nfo + s01.e80072599 - Mock Entry 20-7-thumb.jpg + s01.e80072599 - Mock Entry 20-7.info.json + s01.e80072599 - Mock Entry 20-7.mp4 + s01.e80072599 - Mock Entry 20-7.nfo +{output_directory}/Season 02 + s02.e79052499 - Mock Entry 21-1-thumb.jpg + s02.e79052499 - Mock Entry 21-1.info.json + s02.e79052499 - Mock Entry 21-1.mp4 + s02.e79052499 - Mock Entry 21-1.nfo + s02.e80052498 - Mock Entry 20-1-thumb.jpg + s02.e80052498 - Mock Entry 20-1.info.json + s02.e80052498 - Mock Entry 20-1.mp4 + s02.e80052498 - Mock Entry 20-1.nfo + s02.e80052499 - Mock Entry 20-2-thumb.jpg + s02.e80052499 - Mock Entry 20-2.info.json + s02.e80052499 - Mock Entry 20-2.mp4 + s02.e80052499 - Mock Entry 20-2.nfo + s02.e80052599 - Mock Entry 20-3-thumb.jpg + s02.e80052599 - Mock Entry 20-3.info.json + s02.e80052599 - Mock Entry 20-3.mp4 + s02.e80052599 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..c59bc37 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/jellyfin_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000003 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 3 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e80052699 - Mock Entry 20-4-thumb.jpg + s01.e80052699 - Mock Entry 20-4.info.json + s01.e80052699 - Mock Entry 20-4.mp4 + s01.e80052699 - Mock Entry 20-4.nfo + s01.e80062698 - Mock Entry 20-5-thumb.jpg + s01.e80062698 - Mock Entry 20-5.info.json + s01.e80062698 - Mock Entry 20-5.mp4 + s01.e80062698 - Mock Entry 20-5.nfo + s01.e80062699 - Mock Entry 20-6-thumb.jpg + s01.e80062699 - Mock Entry 20-6.info.json + s01.e80062699 - Mock Entry 20-6.mp4 + s01.e80062699 - Mock Entry 20-6.nfo + s01.e80072599 - Mock Entry 20-7-thumb.jpg + s01.e80072599 - Mock Entry 20-7.info.json + s01.e80072599 - Mock Entry 20-7.mp4 + s01.e80072599 - Mock Entry 20-7.nfo +{output_directory}/Season 02 + s02.e79052499 - Mock Entry 21-1-thumb.jpg + s02.e79052499 - Mock Entry 21-1.info.json + s02.e79052499 - Mock Entry 21-1.mp4 + s02.e79052499 - Mock Entry 21-1.nfo + s02.e80052498 - Mock Entry 20-1-thumb.jpg + s02.e80052498 - Mock Entry 20-1.info.json + s02.e80052498 - Mock Entry 20-1.mp4 + s02.e80052498 - Mock Entry 20-1.nfo + s02.e80052499 - Mock Entry 20-2-thumb.jpg + s02.e80052499 - Mock Entry 20-2.info.json + s02.e80052499 - Mock Entry 20-2.mp4 + s02.e80052499 - Mock Entry 20-2.nfo + s02.e80052599 - Mock Entry 20-3-thumb.jpg + s02.e80052599 - Mock Entry 20-3.info.json + s02.e80052599 - Mock Entry 20-3.mp4 + s02.e80052599 - Mock Entry 20-3.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 0000000..7192b6c --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_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 0000000..7192b6c --- /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_download_index/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_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 0000000..e3d1ad5 --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..978fc7b --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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.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 0000000..e3d1ad5 --- /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/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..978fc7b --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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.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 0000000..1240360 --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..43a7750 --- /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_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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 +{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 0000000..1240360 --- /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__episode_by_month_day_reversed/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..43a7750 --- /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_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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 +{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 0000000..7eeba6c --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..ce103a1 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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 202008 + 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 0000000..7eeba6c --- /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/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..ce103a1 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,138 @@ +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 +{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 202008 + 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_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..f25898d --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e000001 - Mock Entry 21-1-thumb.jpg + s01.e000001 - Mock Entry 21-1.info.json + s01.e000001 - Mock Entry 21-1.mp4 + s01.e000001 - Mock Entry 21-1.nfo + s01.e000002 - Mock Entry 20-1-thumb.jpg + s01.e000002 - Mock Entry 20-1.info.json + s01.e000002 - Mock Entry 20-1.mp4 + s01.e000002 - Mock Entry 20-1.nfo + s01.e000003 - Mock Entry 20-2-thumb.jpg + s01.e000003 - Mock Entry 20-2.info.json + s01.e000003 - Mock Entry 20-2.mp4 + s01.e000003 - Mock Entry 20-2.nfo + s01.e000004 - Mock Entry 20-3-thumb.jpg + s01.e000004 - Mock Entry 20-3.info.json + s01.e000004 - Mock Entry 20-3.mp4 + s01.e000004 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..f25898d --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e000001 - Mock Entry 21-1-thumb.jpg + s01.e000001 - Mock Entry 21-1.info.json + s01.e000001 - Mock Entry 21-1.mp4 + s01.e000001 - Mock Entry 21-1.nfo + s01.e000002 - Mock Entry 20-1-thumb.jpg + s01.e000002 - Mock Entry 20-1.info.json + s01.e000002 - Mock Entry 20-1.mp4 + s01.e000002 - Mock Entry 20-1.nfo + s01.e000003 - Mock Entry 20-2-thumb.jpg + s01.e000003 - Mock Entry 20-2.info.json + s01.e000003 - Mock Entry 20-2.mp4 + s01.e000003 - Mock Entry 20-2.nfo + s01.e000004 - Mock Entry 20-3-thumb.jpg + s01.e000004 - Mock Entry 20-3.info.json + s01.e000004 - Mock Entry 20-3.mp4 + s01.e000004 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..e6aefd7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,231 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e000002 - Mock Entry 20-4-thumb.jpg + s01.e000002 - Mock Entry 20-4.info.json + s01.e000002 - Mock Entry 20-4.mp4 + s01.e000002 - Mock Entry 20-4.nfo + s01.e000004 - Mock Entry 20-6-thumb.jpg + s01.e000004 - Mock Entry 20-6.info.json + s01.e000004 - Mock Entry 20-6.mp4 + s01.e000004 - Mock Entry 20-6.nfo + s01.e000005 - Mock Entry 20-7-thumb.jpg + s01.e000005 - Mock Entry 20-7.info.json + s01.e000005 - Mock Entry 20-7.mp4 + s01.e000005 - Mock Entry 20-7.nfo +{output_directory}/Season 02 + s02.e000001 - Mock Entry 21-1-thumb.jpg + s02.e000001 - Mock Entry 21-1.info.json + s02.e000001 - Mock Entry 21-1.mp4 + s02.e000001 - Mock Entry 21-1.nfo + s02.e000002 - Mock Entry 20-1-thumb.jpg + s02.e000002 - Mock Entry 20-1.info.json + s02.e000002 - Mock Entry 20-1.mp4 + s02.e000002 - Mock Entry 20-1.nfo + s02.e000003 - Mock Entry 20-2-thumb.jpg + s02.e000003 - Mock Entry 20-2.info.json + s02.e000003 - Mock Entry 20-2.mp4 + s02.e000003 - Mock Entry 20-2.nfo + s02.e000004 - Mock Entry 20-3-thumb.jpg + s02.e000004 - Mock Entry 20-3.info.json + s02.e000004 - Mock Entry 20-3.mp4 + s02.e000004 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..e6aefd7 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,231 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e000002 - Mock Entry 20-4-thumb.jpg + s01.e000002 - Mock Entry 20-4.info.json + s01.e000002 - Mock Entry 20-4.mp4 + s01.e000002 - Mock Entry 20-4.nfo + s01.e000004 - Mock Entry 20-6-thumb.jpg + s01.e000004 - Mock Entry 20-6.info.json + s01.e000004 - Mock Entry 20-6.mp4 + s01.e000004 - Mock Entry 20-6.nfo + s01.e000005 - Mock Entry 20-7-thumb.jpg + s01.e000005 - Mock Entry 20-7.info.json + s01.e000005 - Mock Entry 20-7.mp4 + s01.e000005 - Mock Entry 20-7.nfo +{output_directory}/Season 02 + s02.e000001 - Mock Entry 21-1-thumb.jpg + s02.e000001 - Mock Entry 21-1.info.json + s02.e000001 - Mock Entry 21-1.mp4 + s02.e000001 - Mock Entry 21-1.nfo + s02.e000002 - Mock Entry 20-1-thumb.jpg + s02.e000002 - Mock Entry 20-1.info.json + s02.e000002 - Mock Entry 20-1.mp4 + s02.e000002 - Mock Entry 20-1.nfo + s02.e000003 - Mock Entry 20-2-thumb.jpg + s02.e000003 - Mock Entry 20-2.info.json + s02.e000003 - Mock Entry 20-2.mp4 + s02.e000003 - Mock Entry 20-2.nfo + s02.e000004 - Mock Entry 20-3-thumb.jpg + s02.e000004 - Mock Entry 20-3.info.json + s02.e000004 - Mock Entry 20-3.mp4 + s02.e000004 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..8b3a14f --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e20080701 - Mock Entry 20-3-thumb.jpg + s01.e20080701 - Mock Entry 20-3.info.json + s01.e20080701 - Mock Entry 20-3.mp4 + s01.e20080701 - Mock Entry 20-3.nfo + s01.e20080801 - Mock Entry 20-2-thumb.jpg + s01.e20080801 - Mock Entry 20-2.info.json + s01.e20080801 - Mock Entry 20-2.mp4 + s01.e20080801 - Mock Entry 20-2.nfo + s01.e20080802 - Mock Entry 20-1-thumb.jpg + s01.e20080802 - Mock Entry 20-1.info.json + s01.e20080802 - Mock Entry 20-1.mp4 + s01.e20080802 - Mock Entry 20-1.nfo + s01.e21080801 - Mock Entry 21-1-thumb.jpg + s01.e21080801 - Mock Entry 21-1.info.json + s01.e21080801 - Mock Entry 21-1.mp4 + s01.e21080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..8b3a14f --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e20080701 - Mock Entry 20-3-thumb.jpg + s01.e20080701 - Mock Entry 20-3.info.json + s01.e20080701 - Mock Entry 20-3.mp4 + s01.e20080701 - Mock Entry 20-3.nfo + s01.e20080801 - Mock Entry 20-2-thumb.jpg + s01.e20080801 - Mock Entry 20-2.info.json + s01.e20080801 - Mock Entry 20-2.mp4 + s01.e20080801 - Mock Entry 20-2.nfo + s01.e20080802 - Mock Entry 20-1-thumb.jpg + s01.e20080802 - Mock Entry 20-1.info.json + s01.e20080802 - Mock Entry 20-1.mp4 + s01.e20080802 - Mock Entry 20-1.nfo + s01.e21080801 - Mock Entry 21-1-thumb.jpg + s01.e21080801 - Mock Entry 21-1.info.json + s01.e21080801 - Mock Entry 21-1.mp4 + s01.e21080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..4e60322 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000003 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 3 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e20060601 - Mock Entry 20-7-thumb.jpg + s01.e20060601 - Mock Entry 20-7.info.json + s01.e20060601 - Mock Entry 20-7.mp4 + s01.e20060601 - Mock Entry 20-7.nfo + s01.e20070601 - Mock Entry 20-6-thumb.jpg + s01.e20070601 - Mock Entry 20-6.info.json + s01.e20070601 - Mock Entry 20-6.mp4 + s01.e20070601 - Mock Entry 20-6.nfo + s01.e20070602 - Mock Entry 20-5-thumb.jpg + s01.e20070602 - Mock Entry 20-5.info.json + s01.e20070602 - Mock Entry 20-5.mp4 + s01.e20070602 - Mock Entry 20-5.nfo + s01.e20080601 - Mock Entry 20-4-thumb.jpg + s01.e20080601 - Mock Entry 20-4.info.json + s01.e20080601 - Mock Entry 20-4.mp4 + s01.e20080601 - Mock Entry 20-4.nfo +{output_directory}/Season 02 + s02.e20080701 - Mock Entry 20-3-thumb.jpg + s02.e20080701 - Mock Entry 20-3.info.json + s02.e20080701 - Mock Entry 20-3.mp4 + s02.e20080701 - Mock Entry 20-3.nfo + s02.e20080801 - Mock Entry 20-2-thumb.jpg + s02.e20080801 - Mock Entry 20-2.info.json + s02.e20080801 - Mock Entry 20-2.mp4 + s02.e20080801 - Mock Entry 20-2.nfo + s02.e20080802 - Mock Entry 20-1-thumb.jpg + s02.e20080802 - Mock Entry 20-1.info.json + s02.e20080802 - Mock Entry 20-1.mp4 + s02.e20080802 - Mock Entry 20-1.nfo + s02.e21080801 - Mock Entry 21-1-thumb.jpg + s02.e21080801 - Mock Entry 21-1.info.json + s02.e21080801 - Mock Entry 21-1.mp4 + s02.e21080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..4e60322 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000003 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 3 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e20060601 - Mock Entry 20-7-thumb.jpg + s01.e20060601 - Mock Entry 20-7.info.json + s01.e20060601 - Mock Entry 20-7.mp4 + s01.e20060601 - Mock Entry 20-7.nfo + s01.e20070601 - Mock Entry 20-6-thumb.jpg + s01.e20070601 - Mock Entry 20-6.info.json + s01.e20070601 - Mock Entry 20-6.mp4 + s01.e20070601 - Mock Entry 20-6.nfo + s01.e20070602 - Mock Entry 20-5-thumb.jpg + s01.e20070602 - Mock Entry 20-5.info.json + s01.e20070602 - Mock Entry 20-5.mp4 + s01.e20070602 - Mock Entry 20-5.nfo + s01.e20080601 - Mock Entry 20-4-thumb.jpg + s01.e20080601 - Mock Entry 20-4.info.json + s01.e20080601 - Mock Entry 20-4.mp4 + s01.e20080601 - Mock Entry 20-4.nfo +{output_directory}/Season 02 + s02.e20080701 - Mock Entry 20-3-thumb.jpg + s02.e20080701 - Mock Entry 20-3.info.json + s02.e20080701 - Mock Entry 20-3.mp4 + s02.e20080701 - Mock Entry 20-3.nfo + s02.e20080801 - Mock Entry 20-2-thumb.jpg + s02.e20080801 - Mock Entry 20-2.info.json + s02.e20080801 - Mock Entry 20-2.mp4 + s02.e20080801 - Mock Entry 20-2.nfo + s02.e20080802 - Mock Entry 20-1-thumb.jpg + s02.e20080802 - Mock Entry 20-1.info.json + s02.e20080802 - Mock Entry 20-1.mp4 + s02.e20080802 - Mock Entry 20-1.nfo + s02.e21080801 - Mock Entry 21-1-thumb.jpg + s02.e21080801 - Mock Entry 21-1.info.json + s02.e21080801 - Mock Entry 21-1.mp4 + s02.e21080801 - Mock Entry 21-1.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..8430d90 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e79052499 - Mock Entry 21-1-thumb.jpg + s01.e79052499 - Mock Entry 21-1.info.json + s01.e79052499 - Mock Entry 21-1.mp4 + s01.e79052499 - Mock Entry 21-1.nfo + s01.e80052498 - Mock Entry 20-1-thumb.jpg + s01.e80052498 - Mock Entry 20-1.info.json + s01.e80052498 - Mock Entry 20-1.mp4 + s01.e80052498 - Mock Entry 20-1.nfo + s01.e80052499 - Mock Entry 20-2-thumb.jpg + s01.e80052499 - Mock Entry 20-2.info.json + s01.e80052499 - Mock Entry 20-2.mp4 + s01.e80052499 - Mock Entry 20-2.nfo + s01.e80052599 - Mock Entry 20-3-thumb.jpg + s01.e80052599 - Mock Entry 20-3.info.json + s01.e80052599 - Mock Entry 20-3.mp4 + s01.e80052599 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..8430d90 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,136 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.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: 1 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.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: 1 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s01.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: 1 + 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 01 + s01.e79052499 - Mock Entry 21-1-thumb.jpg + s01.e79052499 - Mock Entry 21-1.info.json + s01.e79052499 - Mock Entry 21-1.mp4 + s01.e79052499 - Mock Entry 21-1.nfo + s01.e80052498 - Mock Entry 20-1-thumb.jpg + s01.e80052498 - Mock Entry 20-1.info.json + s01.e80052498 - Mock Entry 20-1.mp4 + s01.e80052498 - Mock Entry 20-1.nfo + s01.e80052499 - Mock Entry 20-2-thumb.jpg + s01.e80052499 - Mock Entry 20-2.info.json + s01.e80052499 - Mock Entry 20-2.mp4 + s01.e80052499 - Mock Entry 20-2.nfo + s01.e80052599 - Mock Entry 20-3-thumb.jpg + s01.e80052599 - Mock Entry 20-3.info.json + s01.e80052599 - Mock Entry 20-3.mp4 + s01.e80052599 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..c59bc37 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000003 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 3 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e80052699 - Mock Entry 20-4-thumb.jpg + s01.e80052699 - Mock Entry 20-4.info.json + s01.e80052699 - Mock Entry 20-4.mp4 + s01.e80052699 - Mock Entry 20-4.nfo + s01.e80062698 - Mock Entry 20-5-thumb.jpg + s01.e80062698 - Mock Entry 20-5.info.json + s01.e80062698 - Mock Entry 20-5.mp4 + s01.e80062698 - Mock Entry 20-5.nfo + s01.e80062699 - Mock Entry 20-6-thumb.jpg + s01.e80062699 - Mock Entry 20-6.info.json + s01.e80062699 - Mock Entry 20-6.mp4 + s01.e80062699 - Mock Entry 20-6.nfo + s01.e80072599 - Mock Entry 20-7-thumb.jpg + s01.e80072599 - Mock Entry 20-7.info.json + s01.e80072599 - Mock Entry 20-7.mp4 + s01.e80072599 - Mock Entry 20-7.nfo +{output_directory}/Season 02 + s02.e79052499 - Mock Entry 21-1-thumb.jpg + s02.e79052499 - Mock Entry 21-1.info.json + s02.e79052499 - Mock Entry 21-1.mp4 + s02.e79052499 - Mock Entry 21-1.nfo + s02.e80052498 - Mock Entry 20-1-thumb.jpg + s02.e80052498 - Mock Entry 20-1.info.json + s02.e80052498 - Mock Entry 20-1.mp4 + s02.e80052498 - Mock Entry 20-1.nfo + s02.e80052499 - Mock Entry 20-2-thumb.jpg + s02.e80052499 - Mock Entry 20-2.info.json + s02.e80052499 - Mock Entry 20-2.mp4 + s02.e80052499 - Mock Entry 20-2.nfo + s02.e80052599 - Mock Entry 20-3-thumb.jpg + s02.e80052599 - Mock Entry 20-3.info.json + s02.e80052599 - Mock Entry 20-3.mp4 + s02.e80052599 - Mock Entry 20-3.nfo \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..c59bc37 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/kodi_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,262 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000001 - Mock Entry 20-7.nfo + NFO tags: + episodedetails: + aired: 2020-06-06 + episode: 1 + genre: ytdl-sub + plot: + https://20-7.com + + The Description + season: 1 + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000002 - Mock Entry 20-6.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 2 + genre: ytdl-sub + plot: + https://20-6.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000003 - Mock Entry 20-5.nfo + NFO tags: + episodedetails: + aired: 2020-07-06 + episode: 3 + genre: ytdl-sub + plot: + https://20-5.com + + The Description + season: 1 + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 + s01.e000004 - Mock Entry 20-4.nfo + NFO tags: + episodedetails: + aired: 2020-08-06 + episode: 4 + genre: ytdl-sub + plot: + https://20-4.com + + The Description + season: 1 + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.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: 2 + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.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: 2 + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://21-1.com + + The Description + title: 2021-08-08 - Mock Entry 21-1 + year: 2021 + s02.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: 2 + 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 01 + s01.e80052699 - Mock Entry 20-4-thumb.jpg + s01.e80052699 - Mock Entry 20-4.info.json + s01.e80052699 - Mock Entry 20-4.mp4 + s01.e80052699 - Mock Entry 20-4.nfo + s01.e80062698 - Mock Entry 20-5-thumb.jpg + s01.e80062698 - Mock Entry 20-5.info.json + s01.e80062698 - Mock Entry 20-5.mp4 + s01.e80062698 - Mock Entry 20-5.nfo + s01.e80062699 - Mock Entry 20-6-thumb.jpg + s01.e80062699 - Mock Entry 20-6.info.json + s01.e80062699 - Mock Entry 20-6.mp4 + s01.e80062699 - Mock Entry 20-6.nfo + s01.e80072599 - Mock Entry 20-7-thumb.jpg + s01.e80072599 - Mock Entry 20-7.info.json + s01.e80072599 - Mock Entry 20-7.mp4 + s01.e80072599 - Mock Entry 20-7.nfo +{output_directory}/Season 02 + s02.e79052499 - Mock Entry 21-1-thumb.jpg + s02.e79052499 - Mock Entry 21-1.info.json + s02.e79052499 - Mock Entry 21-1.mp4 + s02.e79052499 - Mock Entry 21-1.nfo + s02.e80052498 - Mock Entry 20-1-thumb.jpg + s02.e80052498 - Mock Entry 20-1.info.json + s02.e80052498 - Mock Entry 20-1.mp4 + s02.e80052498 - Mock Entry 20-1.nfo + s02.e80052499 - Mock Entry 20-2-thumb.jpg + s02.e80052499 - Mock Entry 20-2.info.json + s02.e80052499 - Mock Entry 20-2.mp4 + s02.e80052499 - Mock Entry 20-2.nfo + s02.e80052599 - Mock Entry 20-3-thumb.jpg + s02.e80052599 - Mock Entry 20-3.info.json + s02.e80052599 - Mock Entry 20-3.mp4 + s02.e80052599 - Mock Entry 20-3.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 0000000..7192b6c --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_0_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 0000000..7192b6c --- /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_download_index/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1_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 0000000..104ad13 --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..bc1defa --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_0_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,82 @@ +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 +{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.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 0000000..104ad13 --- /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/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..bc1defa --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,82 @@ +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 +{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.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_reformatted_to_unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_reformatted_to_unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1.txt new file mode 100644 index 0000000..bc1defa --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year__episode_by_month_day/is_yt_1_reformatted_to_unit/plex_tv_show_by_date/season_by_year__episode_by_download_index/is_yt_1.txt @@ -0,0 +1,82 @@ +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 +{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.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 0000000..fed223f --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..3fb0c1d --- /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_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,82 @@ +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 +{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 +{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 0000000..fed223f --- /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__episode_by_month_day_reversed/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..3fb0c1d --- /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_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,82 @@ +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 +{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 +{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 0000000..6d589a3 --- /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_0_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..14b7de1 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_0_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,82 @@ +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 +{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 202008 + 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 0000000..6d589a3 --- /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/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_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_reformatted_to_season_by_year__episode_by_download_index.txt new file mode 100644 index 0000000..14b7de1 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_by_date/season_by_year_month__episode_by_day/is_yt_1_reformatted_to_season_by_year__episode_by_download_index.txt @@ -0,0 +1,82 @@ +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 +{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 202008 + 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_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..a6bcebc --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,80 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e000001 - Mock Entry 21-1-thumb.jpg + s01.e000001 - Mock Entry 21-1.info.json + s01.e000001 - Mock Entry 21-1.mp4 + s01.e000002 - Mock Entry 20-1-thumb.jpg + s01.e000002 - Mock Entry 20-1.info.json + s01.e000002 - Mock Entry 20-1.mp4 + s01.e000003 - Mock Entry 20-2-thumb.jpg + s01.e000003 - Mock Entry 20-2.info.json + s01.e000003 - Mock Entry 20-2.mp4 + s01.e000004 - Mock Entry 20-3-thumb.jpg + s01.e000004 - Mock Entry 20-3.info.json + s01.e000004 - Mock Entry 20-3.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..a6bcebc --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,80 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e000001 - Mock Entry 21-1-thumb.jpg + s01.e000001 - Mock Entry 21-1.info.json + s01.e000001 - Mock Entry 21-1.mp4 + s01.e000002 - Mock Entry 20-1-thumb.jpg + s01.e000002 - Mock Entry 20-1.info.json + s01.e000002 - Mock Entry 20-1.mp4 + s01.e000003 - Mock Entry 20-2-thumb.jpg + s01.e000003 - Mock Entry 20-2.info.json + s01.e000003 - Mock Entry 20-2.mp4 + s01.e000004 - Mock Entry 20-3-thumb.jpg + s01.e000004 - Mock Entry 20-3.info.json + s01.e000004 - Mock Entry 20-3.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..e2bffc6 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,133 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e000002 - Mock Entry 20-4-thumb.jpg + s01.e000002 - Mock Entry 20-4.info.json + s01.e000002 - Mock Entry 20-4.mp4 + s01.e000004 - Mock Entry 20-6-thumb.jpg + s01.e000004 - Mock Entry 20-6.info.json + s01.e000004 - Mock Entry 20-6.mp4 + s01.e000005 - Mock Entry 20-7-thumb.jpg + s01.e000005 - Mock Entry 20-7.info.json + s01.e000005 - Mock Entry 20-7.mp4 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 21-1-thumb.jpg + s02.e000001 - Mock Entry 21-1.info.json + s02.e000001 - Mock Entry 21-1.mp4 + s02.e000002 - Mock Entry 20-1-thumb.jpg + s02.e000002 - Mock Entry 20-1.info.json + s02.e000002 - Mock Entry 20-1.mp4 + s02.e000003 - Mock Entry 20-2-thumb.jpg + s02.e000003 - Mock Entry 20-2.info.json + s02.e000003 - Mock Entry 20-2.mp4 + s02.e000004 - Mock Entry 20-3-thumb.jpg + s02.e000004 - Mock Entry 20-3.info.json + s02.e000004 - Mock Entry 20-3.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..e2bffc6 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,133 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e000002 - Mock Entry 20-4-thumb.jpg + s01.e000002 - Mock Entry 20-4.info.json + s01.e000002 - Mock Entry 20-4.mp4 + s01.e000004 - Mock Entry 20-6-thumb.jpg + s01.e000004 - Mock Entry 20-6.info.json + s01.e000004 - Mock Entry 20-6.mp4 + s01.e000005 - Mock Entry 20-7-thumb.jpg + s01.e000005 - Mock Entry 20-7.info.json + s01.e000005 - Mock Entry 20-7.mp4 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 21-1-thumb.jpg + s02.e000001 - Mock Entry 21-1.info.json + s02.e000001 - Mock Entry 21-1.mp4 + s02.e000002 - Mock Entry 20-1-thumb.jpg + s02.e000002 - Mock Entry 20-1.info.json + s02.e000002 - Mock Entry 20-1.mp4 + s02.e000003 - Mock Entry 20-2-thumb.jpg + s02.e000003 - Mock Entry 20-2.info.json + s02.e000003 - Mock Entry 20-2.mp4 + s02.e000004 - Mock Entry 20-3-thumb.jpg + s02.e000004 - Mock Entry 20-3.info.json + s02.e000004 - Mock Entry 20-3.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..7192b6c --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_playlist_index_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.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_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..e09274b --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,80 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e20080701 - Mock Entry 20-3-thumb.jpg + s01.e20080701 - Mock Entry 20-3.info.json + s01.e20080701 - Mock Entry 20-3.mp4 + s01.e20080801 - Mock Entry 20-2-thumb.jpg + s01.e20080801 - Mock Entry 20-2.info.json + s01.e20080801 - Mock Entry 20-2.mp4 + s01.e20080802 - Mock Entry 20-1-thumb.jpg + s01.e20080802 - Mock Entry 20-1.info.json + s01.e20080802 - Mock Entry 20-1.mp4 + s01.e21080801 - Mock Entry 21-1-thumb.jpg + s01.e21080801 - Mock Entry 21-1.info.json + s01.e21080801 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..e09274b --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,80 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e20080701 - Mock Entry 20-3-thumb.jpg + s01.e20080701 - Mock Entry 20-3.info.json + s01.e20080701 - Mock Entry 20-3.mp4 + s01.e20080801 - Mock Entry 20-2-thumb.jpg + s01.e20080801 - Mock Entry 20-2.info.json + s01.e20080801 - Mock Entry 20-2.mp4 + s01.e20080802 - Mock Entry 20-1-thumb.jpg + s01.e20080802 - Mock Entry 20-1.info.json + s01.e20080802 - Mock Entry 20-1.mp4 + s01.e21080801 - Mock Entry 21-1-thumb.jpg + s01.e21080801 - Mock Entry 21-1.info.json + s01.e21080801 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..1be344d --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,150 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e20060601 - Mock Entry 20-7-thumb.jpg + s01.e20060601 - Mock Entry 20-7.info.json + s01.e20060601 - Mock Entry 20-7.mp4 + s01.e20070601 - Mock Entry 20-6-thumb.jpg + s01.e20070601 - Mock Entry 20-6.info.json + s01.e20070601 - Mock Entry 20-6.mp4 + s01.e20070602 - Mock Entry 20-5-thumb.jpg + s01.e20070602 - Mock Entry 20-5.info.json + s01.e20070602 - Mock Entry 20-5.mp4 + s01.e20080601 - Mock Entry 20-4-thumb.jpg + s01.e20080601 - Mock Entry 20-4.info.json + s01.e20080601 - Mock Entry 20-4.mp4 +{output_directory}/Season 02 + s02.e20080701 - Mock Entry 20-3-thumb.jpg + s02.e20080701 - Mock Entry 20-3.info.json + s02.e20080701 - Mock Entry 20-3.mp4 + s02.e20080801 - Mock Entry 20-2-thumb.jpg + s02.e20080801 - Mock Entry 20-2.info.json + s02.e20080801 - Mock Entry 20-2.mp4 + s02.e20080802 - Mock Entry 20-1-thumb.jpg + s02.e20080802 - Mock Entry 20-1.info.json + s02.e20080802 - Mock Entry 20-1.mp4 + s02.e21080801 - Mock Entry 21-1-thumb.jpg + s02.e21080801 - Mock Entry 21-1.info.json + s02.e21080801 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..1be344d --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,150 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e20060601 - Mock Entry 20-7-thumb.jpg + s01.e20060601 - Mock Entry 20-7.info.json + s01.e20060601 - Mock Entry 20-7.mp4 + s01.e20070601 - Mock Entry 20-6-thumb.jpg + s01.e20070601 - Mock Entry 20-6.info.json + s01.e20070601 - Mock Entry 20-6.mp4 + s01.e20070602 - Mock Entry 20-5-thumb.jpg + s01.e20070602 - Mock Entry 20-5.info.json + s01.e20070602 - Mock Entry 20-5.mp4 + s01.e20080601 - Mock Entry 20-4-thumb.jpg + s01.e20080601 - Mock Entry 20-4.info.json + s01.e20080601 - Mock Entry 20-4.mp4 +{output_directory}/Season 02 + s02.e20080701 - Mock Entry 20-3-thumb.jpg + s02.e20080701 - Mock Entry 20-3.info.json + s02.e20080701 - Mock Entry 20-3.mp4 + s02.e20080801 - Mock Entry 20-2-thumb.jpg + s02.e20080801 - Mock Entry 20-2.info.json + s02.e20080801 - Mock Entry 20-2.mp4 + s02.e20080802 - Mock Entry 20-1-thumb.jpg + s02.e20080802 - Mock Entry 20-1.info.json + s02.e20080802 - Mock Entry 20-1.mp4 + s02.e21080801 - Mock Entry 21-1-thumb.jpg + s02.e21080801 - Mock Entry 21-1.info.json + s02.e21080801 - Mock Entry 21-1.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..521d0fd --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,80 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e79052499 - Mock Entry 21-1-thumb.jpg + s01.e79052499 - Mock Entry 21-1.info.json + s01.e79052499 - Mock Entry 21-1.mp4 + s01.e80052498 - Mock Entry 20-1-thumb.jpg + s01.e80052498 - Mock Entry 20-1.info.json + s01.e80052498 - Mock Entry 20-1.mp4 + s01.e80052499 - Mock Entry 20-2-thumb.jpg + s01.e80052499 - Mock Entry 20-2.info.json + s01.e80052499 - Mock Entry 20-2.mp4 + s01.e80052599 - Mock Entry 20-3-thumb.jpg + s01.e80052599 - Mock Entry 20-3.info.json + s01.e80052599 - Mock Entry 20-3.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..521d0fd --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_1/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,80 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-3-thumb.jpg + s01.e000001 - Mock Entry 20-3.info.json + s01.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s01.e000002 - Mock Entry 20-2-thumb.jpg + s01.e000002 - Mock Entry 20-2.info.json + s01.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s01.e000003 - Mock Entry 20-1-thumb.jpg + s01.e000003 - Mock Entry 20-1.info.json + s01.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s01.e000004 - Mock Entry 21-1-thumb.jpg + s01.e000004 - Mock Entry 21-1.info.json + s01.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e79052499 - Mock Entry 21-1-thumb.jpg + s01.e79052499 - Mock Entry 21-1.info.json + s01.e79052499 - Mock Entry 21-1.mp4 + s01.e80052498 - Mock Entry 20-1-thumb.jpg + s01.e80052498 - Mock Entry 20-1.info.json + s01.e80052498 - Mock Entry 20-1.mp4 + s01.e80052499 - Mock Entry 20-2-thumb.jpg + s01.e80052499 - Mock Entry 20-2.info.json + s01.e80052499 - Mock Entry 20-2.mp4 + s01.e80052599 - Mock Entry 20-3-thumb.jpg + s01.e80052599 - Mock Entry 20-3.info.json + s01.e80052599 - Mock Entry 20-3.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..93cf0e6 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_0_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,150 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e80052699 - Mock Entry 20-4-thumb.jpg + s01.e80052699 - Mock Entry 20-4.info.json + s01.e80052699 - Mock Entry 20-4.mp4 + s01.e80062698 - Mock Entry 20-5-thumb.jpg + s01.e80062698 - Mock Entry 20-5.info.json + s01.e80062698 - Mock Entry 20-5.mp4 + s01.e80062699 - Mock Entry 20-6-thumb.jpg + s01.e80062699 - Mock Entry 20-6.info.json + s01.e80062699 - Mock Entry 20-6.mp4 + s01.e80072599 - Mock Entry 20-7-thumb.jpg + s01.e80072599 - Mock Entry 20-7.info.json + s01.e80072599 - Mock Entry 20-7.mp4 +{output_directory}/Season 02 + s02.e79052499 - Mock Entry 21-1-thumb.jpg + s02.e79052499 - Mock Entry 21-1.info.json + s02.e79052499 - Mock Entry 21-1.mp4 + s02.e80052498 - Mock Entry 20-1-thumb.jpg + s02.e80052498 - Mock Entry 20-1.info.json + s02.e80052498 - Mock Entry 20-1.mp4 + s02.e80052499 - Mock Entry 20-2-thumb.jpg + s02.e80052499 - Mock Entry 20-2.info.json + s02.e80052499 - Mock Entry 20-2.mp4 + s02.e80052599 - Mock Entry 20-3-thumb.jpg + s02.e80052599 - Mock Entry 20-3.info.json + s02.e80052599 - Mock Entry 20-3.mp4 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt new file mode 100644 index 0000000..93cf0e6 --- /dev/null +++ b/tests/resources/transaction_log_summaries/unit/plex_tv_show_collection/season_by_collection__episode_by_year_month_day_reversed/s_2/is_yt_1_reformatted_to_season_by_collection__episode_by_playlist_index_reversed.txt @@ -0,0 +1,150 @@ +Files created: +---------------------------------------- +{output_directory}/Season 01 + s01.e000001 - Mock Entry 20-7-thumb.jpg + s01.e000001 - Mock Entry 20-7.info.json + s01.e000001 - Mock Entry 20-7.mp4 + Video Tags: + date: 2020-06-06 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-7.com + + The Description + title: 2020-06-06 - Mock Entry 20-7 + year: 2020 + s01.e000002 - Mock Entry 20-6-thumb.jpg + s01.e000002 - Mock Entry 20-6.info.json + s01.e000002 - Mock Entry 20-6.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-6.com + + The Description + title: 2020-07-06 - Mock Entry 20-6 + year: 2020 + s01.e000003 - Mock Entry 20-5-thumb.jpg + s01.e000003 - Mock Entry 20-5.info.json + s01.e000003 - Mock Entry 20-5.mp4 + Video Tags: + date: 2020-07-06 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-5.com + + The Description + title: 2020-07-06 - Mock Entry 20-5 + year: 2020 + s01.e000004 - Mock Entry 20-4-thumb.jpg + s01.e000004 - Mock Entry 20-4.info.json + s01.e000004 - Mock Entry 20-4.mp4 + Video Tags: + date: 2020-08-06 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-4.com + + The Description + title: 2020-08-06 - Mock Entry 20-4 + year: 2020 +{output_directory}/Season 02 + s02.e000001 - Mock Entry 20-3-thumb.jpg + s02.e000001 - Mock Entry 20-3.info.json + s02.e000001 - Mock Entry 20-3.mp4 + Video Tags: + date: 2020-08-07 + episode_id: 1 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-3.com + + The Description + title: 2020-08-07 - Mock Entry 20-3 + year: 2020 + s02.e000002 - Mock Entry 20-2-thumb.jpg + s02.e000002 - Mock Entry 20-2.info.json + s02.e000002 - Mock Entry 20-2.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 2 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-2.com + + The Description + title: 2020-08-08 - Mock Entry 20-2 + year: 2020 + s02.e000003 - Mock Entry 20-1-thumb.jpg + s02.e000003 - Mock Entry 20-1.info.json + s02.e000003 - Mock Entry 20-1.mp4 + Video Tags: + date: 2020-08-08 + episode_id: 3 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + synopsis: + https://20-1.com + + The Description + title: 2020-08-08 - Mock Entry 20-1 + year: 2020 + s02.e000004 - Mock Entry 21-1-thumb.jpg + s02.e000004 - Mock Entry 21-1.info.json + s02.e000004 - Mock Entry 21-1.mp4 + Video Tags: + date: 2021-08-08 + episode_id: 4 + genre: ytdl-sub + show: Best Prebuilt TV Show Collection + 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 01 + s01.e80052699 - Mock Entry 20-4-thumb.jpg + s01.e80052699 - Mock Entry 20-4.info.json + s01.e80052699 - Mock Entry 20-4.mp4 + s01.e80062698 - Mock Entry 20-5-thumb.jpg + s01.e80062698 - Mock Entry 20-5.info.json + s01.e80062698 - Mock Entry 20-5.mp4 + s01.e80062699 - Mock Entry 20-6-thumb.jpg + s01.e80062699 - Mock Entry 20-6.info.json + s01.e80062699 - Mock Entry 20-6.mp4 + s01.e80072599 - Mock Entry 20-7-thumb.jpg + s01.e80072599 - Mock Entry 20-7.info.json + s01.e80072599 - Mock Entry 20-7.mp4 +{output_directory}/Season 02 + s02.e79052499 - Mock Entry 21-1-thumb.jpg + s02.e79052499 - Mock Entry 21-1.info.json + s02.e79052499 - Mock Entry 21-1.mp4 + s02.e80052498 - Mock Entry 20-1-thumb.jpg + s02.e80052498 - Mock Entry 20-1.info.json + s02.e80052498 - Mock Entry 20-1.mp4 + s02.e80052499 - Mock Entry 20-2-thumb.jpg + s02.e80052499 - Mock Entry 20-2.info.json + s02.e80052499 - Mock Entry 20-2.mp4 + s02.e80052599 - Mock Entry 20-3-thumb.jpg + s02.e80052599 - Mock Entry 20-3.info.json + s02.e80052599 - Mock Entry 20-3.mp4 \ No newline at end of file diff --git a/tests/unit/cli/test_main.py b/tests/unit/cli/test_main.py index d7e93f9..b783843 100644 --- a/tests/unit/cli/test_main.py +++ b/tests/unit/cli/test_main.py @@ -23,6 +23,7 @@ from ytdl_sub.cli.main import logger as main_logger from ytdl_sub.cli.main import main from ytdl_sub.config.config_file import ConfigFile from ytdl_sub.subscriptions.subscription import Subscription +from ytdl_sub.utils.exceptions import ExperimentalFeatureNotEnabled from ytdl_sub.utils.file_handler import FileHandler from ytdl_sub.utils.file_handler import FileHandlerTransactionLog from ytdl_sub.utils.file_handler import FileMetadata @@ -127,7 +128,10 @@ def test_subscription_logs_write_to_file( ): try: _download_subscriptions_from_yaml_files( - config=config, subscription_paths=subscription_paths, dry_run=dry_run + config=config, + subscription_paths=subscription_paths, + update_with_info_json=False, + dry_run=dry_run, ) except ValueError: assert not mock_success_output @@ -275,3 +279,22 @@ def test_output_summary(): _ = _output_summary(transaction_logs=mock_subscriptions) assert True # Test used for manual inspection - too hard to test ansi color codes + + +def test_update_with_info_json_requires_experimental_flag( + music_video_config_path: Path, + music_video_subscription_path: Path, +) -> None: + with patch.object( + sys, + "argv", + [ + "ytdl-sub", + "--config", + str(music_video_config_path), + "sub", + str(music_video_subscription_path), + "--update-with-info-json", + ], + ), pytest.raises(ExperimentalFeatureNotEnabled): + _ = main() diff --git a/tests/unit/prebuilt_presets/test_prebuilt_presets.py b/tests/unit/prebuilt_presets/test_prebuilt_presets.py index c3cee0d..a8a02da 100644 --- a/tests/unit/prebuilt_presets/test_prebuilt_presets.py +++ b/tests/unit/prebuilt_presets/test_prebuilt_presets.py @@ -141,6 +141,42 @@ class TestPrebuiltTVShowPresets: expected_download_summary_file_name=f"{expected_summary_name}.json", ) + ###################################### Perform reformat + reformatted_tv_show_structure_preset = "season_by_year__episode_by_download_index" + 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( + config=config, + preset_name=subscription_name, + preset_dict={ + "preset": parent_presets + [reformatted_tv_show_structure_preset], + "overrides": { + "url": "https://your.name.here", + "tv_show_name": "Best Prebuilt TV Show by Date", + "tv_show_directory": output_directory, + }, + }, + ) + + reformatted_transaction_log = reformatted_subscription.update_with_info_json(dry_run=False) + assert_transaction_log_matches( + output_directory=output_directory, + transaction_log=reformatted_transaction_log, + transaction_log_summary_file_name=( + f"{expected_summary_name}_reformatted_to_{reformatted_tv_show_structure_preset}.txt" + ), + ) + assert_expected_downloads( + output_directory=output_directory, + dry_run=False, + expected_download_summary_file_name=f"{reformatted_expected_summary_name}.json", + ) + @pytest.mark.parametrize("media_player_preset", TvShowCollectionPresets.get_preset_names()) @pytest.mark.parametrize( @@ -262,3 +298,43 @@ class TestPrebuiltTvShowCollectionPresets: dry_run=False, expected_download_summary_file_name=f"{expected_summary_name}.json", ) + + ###################################### Perform reformat + reformatted_tv_show_structure_preset = ( + "season_by_collection__episode_by_playlist_index_reversed" + ) + reformatted_expected_summary_name = "unit/{}/{}/s_{}/is_yt_{}".format( + media_player_preset, + reformatted_tv_show_structure_preset, + len(season_indices), + int(is_youtube_channel), + ) + + reformatted_subscription = Subscription.from_dict( + config=config, + preset_name=subscription_name, + preset_dict={ + "preset": parent_presets + [reformatted_tv_show_structure_preset], + "overrides": dict( + overrides, + **{ + "tv_show_name": "Best Prebuilt TV Show Collection", + "tv_show_directory": output_directory, + }, + ), + }, + ) + + reformatted_transaction_log = reformatted_subscription.update_with_info_json(dry_run=False) + assert_transaction_log_matches( + output_directory=output_directory, + transaction_log=reformatted_transaction_log, + transaction_log_summary_file_name=( + f"{expected_summary_name}_reformatted_to_{reformatted_tv_show_structure_preset}.txt" + ), + ) + assert_expected_downloads( + output_directory=output_directory, + dry_run=False, + expected_download_summary_file_name=f"{reformatted_expected_summary_name}.json", + )