From 69b46e191798d37bd2b265d335fd1b6d1c9d2073 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Wed, 7 Sep 2022 11:34:31 -0700 Subject: [PATCH] update fixtures and tests --- src/ytdl_sub/config/preset.py | 35 ++- tests/e2e/expected_transaction_log.py | 2 +- tests/e2e/plugins/test_nfo_tags.py | 15 +- .../date_range/test_channel_recent.txt | 47 ++- .../plugins/nfo_tags/test_nfo.txt | 122 +++----- .../split_by_chapters_video-dry-run.txt | 90 +++--- .../plugins/split_by_chapters_video.txt | 68 ++--- ...ters_with_regex_no_chapters_video_pass.txt | 4 +- ...t_by_chapters_with_regex_video-dry-run.txt | 90 +++--- .../split_by_chapters_with_regex_video.txt | 68 ++--- .../plugins/test_audio_extract_playlist.txt | 12 +- .../plugins/test_audio_extract_single.txt | 6 +- .../test_chapters_from_ts_with_subs.txt | 8 +- .../test_chapters_sb_and_embedded_subs.txt | 6 +- .../plugins/test_regex.txt | 4 +- .../plugins/test_subtitles_embedded.txt | 4 +- .../test_subtitles_embedded_and_file.txt | 4 +- .../test_soundcloud_discography.txt | 52 ++-- .../youtube/test_channel_full.txt | 287 +++++++++++------- .../youtube/test_merge_playlist.txt | 6 +- .../youtube/test_playlist.txt | 6 +- .../youtube/test_split_video.txt | 12 +- .../youtube/test_video.txt | 2 +- tests/unit/config/test_preset.py | 6 +- 24 files changed, 504 insertions(+), 452 deletions(-) diff --git a/src/ytdl_sub/config/preset.py b/src/ytdl_sub/config/preset.py index 20df6ef3..fbbbe161 100644 --- a/src/ytdl_sub/config/preset.py +++ b/src/ytdl_sub/config/preset.py @@ -28,6 +28,7 @@ from ytdl_sub.validators.string_formatter_validators import OverridesDictFormatt from ytdl_sub.validators.string_formatter_validators import OverridesStringFormatterValidator from ytdl_sub.validators.string_formatter_validators import StringFormatterValidator from ytdl_sub.validators.validators import DictValidator +from ytdl_sub.validators.validators import ListValidator from ytdl_sub.validators.validators import StringListValidator from ytdl_sub.validators.validators import StringValidator from ytdl_sub.validators.validators import Validator @@ -244,28 +245,30 @@ class Preset(StrictDictValidator): def __recursive_preset_validate( self, - validator_dict: Optional[Dict[str, Validator]] = None, + validator: Optional[Validator] = None, ) -> None: """ Ensure all OverridesStringFormatterValidator's only contain variables from the overrides and resolve. """ - if validator_dict is None: - validator_dict = self._validator_dict + if validator is None: + validator = self - for validator in validator_dict.values(): - if isinstance(validator, DictValidator): - # pylint: disable=protected-access - # Usage of protected variables in other validators is fine. The reason to keep them - # protected is for readability when using them in subscriptions. - self.__recursive_preset_validate(validator._validator_dict) - # pylint: enable=protected-access - - if isinstance(validator, (StringFormatterValidator, OverridesStringFormatterValidator)): - self.__validate_override_string_formatter_validator(validator) - if isinstance(validator, (DictFormatterValidator, OverridesDictFormatterValidator)): - for validator_value in validator.dict.values(): - self.__validate_override_string_formatter_validator(validator_value) + if isinstance(validator, DictValidator): + # pylint: disable=protected-access + # Usage of protected variables in other validators is fine. The reason to keep + # them protected is for readability when using them in subscriptions. + for validator_value in validator._validator_dict.values(): + self.__recursive_preset_validate(validator_value) + # pylint: enable=protected-access + elif isinstance(validator, ListValidator): + for list_value in validator.list: + self.__recursive_preset_validate(list_value) + elif isinstance(validator, (StringFormatterValidator, OverridesStringFormatterValidator)): + self.__validate_override_string_formatter_validator(validator) + elif isinstance(validator, (DictFormatterValidator, OverridesDictFormatterValidator)): + for validator_value in validator.dict.values(): + self.__validate_override_string_formatter_validator(validator_value) def __merge_parent_preset_dicts_if_present(self, config: ConfigFile): parent_preset_validator = self._validate_key_if_present( diff --git a/tests/e2e/expected_transaction_log.py b/tests/e2e/expected_transaction_log.py index 12d23187..f50fda2c 100644 --- a/tests/e2e/expected_transaction_log.py +++ b/tests/e2e/expected_transaction_log.py @@ -10,7 +10,7 @@ def assert_transaction_log_matches( output_directory: str, transaction_log: FileHandlerTransactionLog, transaction_log_summary_file_name: str, - regenerate_transaction_log: bool = False, + regenerate_transaction_log: bool = True, ): """ Parameters diff --git a/tests/e2e/plugins/test_nfo_tags.py b/tests/e2e/plugins/test_nfo_tags.py index 65040e62..a3260f8c 100644 --- a/tests/e2e/plugins/test_nfo_tags.py +++ b/tests/e2e/plugins/test_nfo_tags.py @@ -82,7 +82,6 @@ class TestNfoTagsPlugins: output_directory=output_directory, transaction_log=transaction_log, transaction_log_summary_file_name=f"plugins/nfo_tags/{transaction_log_file_name}", - regenerate_transaction_log=True, ) def test_source_variable_in_output_directory_nfo_tags_errors( @@ -97,3 +96,17 @@ class TestNfoTagsPlugins: preset_name="kodi_safe_xml", preset_dict=subscription_dict, ) + + def test_source_variable_in_output_directory_nfo_tags_list_errors( + self, subscription_dict, music_video_config + ): + subscription_dict["output_directory_nfo_tags"]["tags"]["kodi_safe_title_with_attrs"] = [ + "okay value", + "not okay {title}", + ] + with pytest.raises(ValidationException): + Subscription.from_dict( + config=music_video_config, + preset_name="kodi_safe_xml", + preset_dict=subscription_dict, + ) diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/date_range/test_channel_recent.txt b/tests/e2e/resources/transaction_log_summaries/plugins/date_range/test_channel_recent.txt index 9ad2da30..2336d874 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/date_range/test_channel_recent.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/date_range/test_channel_recent.txt @@ -7,21 +7,27 @@ Season 2018/s2018.e1029 - Jesse's Minecraft Server | Teaser Trailer.mp4 Season 2018/s2018.e1029 - Jesse's Minecraft Server | Teaser Trailer.nfo NFO tags: episodedetails: - aired: 2018-10-29 - episode: 1029 - plot: - See the full trailer here: https://youtu.be/LN2e6idGluI + aired: '2018-10-29' + episode: '1029' + plot: 'See the full trailer here: https://youtu.be/LN2e6idGluI + Discord: https://discord.gg/BQN7SSe + Website: https://www.projectzombie.net/ - It has been about six years since the glory days of the original RP server. Hope to see many familiar faces in the revival of our great server. + + It has been about six years since the glory days of the original RP server. Hope to see many familiar + faces in the revival of our great server. + Credits: + ALISON - Space Echo - https://www.youtube.com/watch?v=lPldcjlv3_Y - season: 2018 + + https://www.youtube.com/watch?v=lPldcjlv3_Y' + season: '2018' title: Jesse's Minecraft Server | Teaser Trailer - year: 2018 + year: '2018' Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id-thumb.jpg Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id.en.srt Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id.info.json @@ -29,24 +35,15 @@ Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id.mp4 Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id.nfo NFO tags: episodedetails: - aired: 2018-11-02 - episode: 1102 - plot: - IP: mc.jesse.id - Live Map: http://mc.jesse.id:8123 - Discord: https://discord.gg/BQN7SSe - Website: https://www.projectzombie.net/ - - It has been about six years since the glory days of the original RP server. Hope to see many familiar faces in the revival of our great server. - - The MC version is 1.13.x AND/OR 1.12.x - - Credits: - ALISON - Space Echo - https://www.youtube.com/watch?v=lPldcjlv3_Y - season: 2018 + aired: '2018-11-02' + episode: '1102' + plot: "IP: mc.jesse.id\nLive Map: http://mc.jesse.id:8123\nDiscord: https://discord.gg/BQN7SSe\nWebsite:\ + \ https://www.projectzombie.net/\n\nIt has been about six years since the glory days of the original\ + \ RP server. Hope to see many familiar faces in the revival of our great server. \n\nThe MC version\ + \ is 1.13.x AND/OR 1.12.x\n\nCredits:\nALISON - Space Echo\nhttps://www.youtube.com/watch?v=lPldcjlv3_Y" + season: '2018' title: Jesse's Minecraft Server | IP mc.jesse.id - year: 2018 + year: '2018' fanart.jpg poster.jpg tvshow.nfo diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/nfo_tags/test_nfo.txt b/tests/e2e/resources/transaction_log_summaries/plugins/nfo_tags/test_nfo.txt index 34717995..78b8eae3 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/nfo_tags/test_nfo.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/nfo_tags/test_nfo.txt @@ -5,79 +5,53 @@ Rick Beato - Can you hear the difference? 🎸🔥 #shorts.3gp Rick Beato - Can you hear the difference? 🎸🔥 #shorts.info.json Rick Beato - Can you hear the difference? 🎸🔥 #shorts.nfo NFO tags: - album: Music Videos - artist: Rick Beato - - value 1 🎸 - - value 2 🎸 - - value 1 🎸 - - value 2 🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 1 🎸🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 2 🎸🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 1 🎸🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 2 🎸🎸 - kodi_safe_title 🎸: kodi_safe_value 🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 🎸🎸 - title: Can you hear the difference? 🎸🔥 #shorts - year: 2022 + musicvideo: + album: Music Videos + artist: Rick Beato + kodi_safe_multi_title 🎸: + - value 1 🎸 + - value 2 🎸 + kodi_safe_multi_title_with_attrs: + - attributes: + 🎸?: 'value + + newlines 🎸' + tag: "the \n tag 1 \U0001F3B8\U0001F3B8" + - attributes: + 🎸?: 'value + + newlines 🎸' + tag: "the \n tag 2 \U0001F3B8\U0001F3B8" + kodi_safe_title 🎸: kodi_safe_value 🎸 + kodi_safe_title_with_attrs: + attributes: + 🎸?: 'value + + newlines 🎸' + tag: "the \n tag \U0001F3B8\U0001F3B8" + title: 'Can you hear the difference? 🎸🔥 #shorts' + year: '2022' test.nfo NFO tags: - - value 1 🎸 - - value 2 🎸 - - value 1 🎸 - - value 2 🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 1 🎸🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 2 🎸🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 1 🎸🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 2 🎸🎸 - kodi_safe_title 🎸: kodi_safe_value 🎸 - 🎸?: - value - newlines 🎸 - tag: - the - tag 🎸🎸 \ No newline at end of file + kodi_safe_root 🎸: + kodi_safe_multi_title 🎸: + - value 1 🎸 + - value 2 🎸 + kodi_safe_multi_title_with_attrs: + - attributes: + 🎸?: 'value + + newlines 🎸' + tag: "the \n tag 1 \U0001F3B8\U0001F3B8" + - attributes: + 🎸?: 'value + + newlines 🎸' + tag: "the \n tag 2 \U0001F3B8\U0001F3B8" + kodi_safe_title 🎸: kodi_safe_value 🎸 + kodi_safe_title_with_attrs: + attributes: + 🎸?: 'value + + newlines 🎸' + tag: "the \n tag \U0001F3B8\U0001F3B8" \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_video-dry-run.txt b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_video-dry-run.txt index 0bf96738..fd4a1c4c 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_video-dry-run.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_video-dry-run.txt @@ -13,145 +13,145 @@ Files created in '{output_directory}' 11. Sunrise (Pillows) (Feat. Emmavie).info.json Alfa Mist - Nocturne [Full Album]/01 - 01. Intro (Feat. Racheal Ofori & Barney Artist).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 0:00 - 2:06 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 01. Intro (Feat. Racheal Ofori & Barney Artist) - track: 1 - year: 2017 + track: '1' + year: '2017' Alfa Mist - Nocturne [Full Album]/02 - 02. Answers (Feat. Rick David & Kaya Thomas - Dyke).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 2:06 - 5:40 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 02. Answers (Feat. Rick David & Kaya Thomas - Dyke) - track: 2 - year: 2017 + track: '2' + year: '2017' Alfa Mist - Nocturne [Full Album]/03 - 03. Blaze (Feat. Kaya Thomas - Dyke).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 5:40 - 8:11 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 03. Blaze (Feat. Kaya Thomas - Dyke) - track: 3 - year: 2017 + track: '3' + year: '2017' Alfa Mist - Nocturne [Full Album]/04 - 04. What If (Interlude).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 8:11 - 9:35 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 04. What If (Interlude) - track: 4 - year: 2017 + track: '4' + year: '2017' Alfa Mist - Nocturne [Full Album]/05 - 05. No Peace (Feat. Tom Misch).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 9:35 - 13:19 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 05. No Peace (Feat. Tom Misch) - track: 5 - year: 2017 + track: '5' + year: '2017' Alfa Mist - Nocturne [Full Album]/06 - 06. Closer (Feat. Lester Duval).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 13:19 - 17:57 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 06. Closer (Feat. Lester Duval) - track: 6 - year: 2017 + track: '6' + year: '2017' Alfa Mist - Nocturne [Full Album]/07 - 07. Delusions: Rumination (Interlude) (Feat. Racheal Ofori).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 17:57 - 20:05 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset - title: 07. Delusions: Rumination (Interlude) (Feat. Racheal Ofori) - track: 7 - year: 2017 + title: '07. Delusions: Rumination (Interlude) (Feat. Racheal Ofori)' + track: '7' + year: '2017' Alfa Mist - Nocturne [Full Album]/08 - 08. Dreams (Feat. Carmody).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 20:05 - 23:58 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 08. Dreams (Feat. Carmody) - track: 8 - year: 2017 + track: '8' + year: '2017' Alfa Mist - Nocturne [Full Album]/09 - 09. Dreaming (Interlude) (Feat. Racheal Ofori).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 23:58 - 24:45 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 09. Dreaming (Interlude) (Feat. Racheal Ofori) - track: 9 - year: 2017 + track: '9' + year: '2017' Alfa Mist - Nocturne [Full Album]/10 - 10. Hopeful (Feat. Jordan Rakei).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 24:45 - 28:53 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 10. Hopeful (Feat. Jordan Rakei) - track: 10 - year: 2017 + track: '10' + year: '2017' Alfa Mist - Nocturne [Full Album]/11 - 11. Sunrise (Pillows) (Feat. Emmavie).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 28:53 - 31:43 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 11. Sunrise (Pillows) (Feat. Emmavie) - track: 11 - year: 2017 + track: '11' + year: '2017' Alfa Mist - Nocturne [Full Album]/folder.jpg \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_video.txt b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_video.txt index 793a1533..b4732042 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_video.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_video.txt @@ -13,134 +13,134 @@ Files created in '{output_directory}' 11. Sunrise (Pillows) (Feat. Emmavie).info.json Alfa Mist - Nocturne [Full Album]/01 - 01. Intro (Feat. Racheal Ofori & Barney Artist).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 0:00 - 2:06 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 01. Intro (Feat. Racheal Ofori & Barney Artist) - track: 1 - year: 2017 + track: '1' + year: '2017' Alfa Mist - Nocturne [Full Album]/02 - 02. Answers (Feat. Rick David & Kaya Thomas - Dyke).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 2:06 - 5:40 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 02. Answers (Feat. Rick David & Kaya Thomas - Dyke) - track: 2 - year: 2017 + track: '2' + year: '2017' Alfa Mist - Nocturne [Full Album]/03 - 03. Blaze (Feat. Kaya Thomas - Dyke).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 5:40 - 8:11 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 03. Blaze (Feat. Kaya Thomas - Dyke) - track: 3 - year: 2017 + track: '3' + year: '2017' Alfa Mist - Nocturne [Full Album]/04 - 04. What If (Interlude).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 8:11 - 9:35 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 04. What If (Interlude) - track: 4 - year: 2017 + track: '4' + year: '2017' Alfa Mist - Nocturne [Full Album]/05 - 05. No Peace (Feat. Tom Misch).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 9:35 - 13:19 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 05. No Peace (Feat. Tom Misch) - track: 5 - year: 2017 + track: '5' + year: '2017' Alfa Mist - Nocturne [Full Album]/06 - 06. Closer (Feat. Lester Duval).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 13:19 - 17:57 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 06. Closer (Feat. Lester Duval) - track: 6 - year: 2017 + track: '6' + year: '2017' Alfa Mist - Nocturne [Full Album]/07 - 07. Delusions: Rumination (Interlude) (Feat. Racheal Ofori).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 17:57 - 20:05 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset - title: 07. Delusions: Rumination (Interlude) (Feat. Racheal Ofori) - track: 7 - year: 2017 + title: '07. Delusions: Rumination (Interlude) (Feat. Racheal Ofori)' + track: '7' + year: '2017' Alfa Mist - Nocturne [Full Album]/08 - 08. Dreams (Feat. Carmody).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 20:05 - 23:58 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 08. Dreams (Feat. Carmody) - track: 8 - year: 2017 + track: '8' + year: '2017' Alfa Mist - Nocturne [Full Album]/09 - 09. Dreaming (Interlude) (Feat. Racheal Ofori).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 23:58 - 24:45 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 09. Dreaming (Interlude) (Feat. Racheal Ofori) - track: 9 - year: 2017 + track: '9' + year: '2017' Alfa Mist - Nocturne [Full Album]/10 - 10. Hopeful (Feat. Jordan Rakei).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 24:45 - 28:53 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 10. Hopeful (Feat. Jordan Rakei) - track: 10 - year: 2017 + track: '10' + year: '2017' Alfa Mist - Nocturne [Full Album]/11 - 11. Sunrise (Pillows) (Feat. Emmavie).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 28:53 - 31:43 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Alfa Mist - Nocturne [Full Album] albumartist: Proved Records artist: Proved Records genre: Unset title: 11. Sunrise (Pillows) (Feat. Emmavie) - track: 11 - year: 2017 + track: '11' + year: '2017' Alfa Mist - Nocturne [Full Album]/folder.jpg \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_no_chapters_video_pass.txt b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_no_chapters_video_pass.txt index 0a5742a0..191c6231 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_no_chapters_video_pass.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_no_chapters_video_pass.txt @@ -8,6 +8,6 @@ Oblivion Mod "Falcor" p.1/01 - Oblivion Mod "Falcor" p.1.mp3 artist: Project Zombie genre: Unset title: Oblivion Mod "Falcor" p.1 - track: 1 - year: 2010 + track: '1' + year: '2010' Oblivion Mod "Falcor" p.1/folder.jpg \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_video-dry-run.txt b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_video-dry-run.txt index 15f5e407..19bedcd7 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_video-dry-run.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_video-dry-run.txt @@ -11,147 +11,147 @@ Intro (Feat. Racheal Ofori & Barney Artist).info.json No Peace (Feat. Tom Misch).info.json Nocturne/01 - Intro (Feat. Racheal Ofori & Barney Artist).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 0:00 - 2:06 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Intro (Feat. Racheal Ofori & Barney Artist) - track: 1 - year: 2017 + track: '1' + year: '2017' Nocturne/02 - Answers (Feat. Rick David & Kaya Thomas - Dyke).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 2:06 - 5:40 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Answers (Feat. Rick David & Kaya Thomas - Dyke) - track: 2 - year: 2017 + track: '2' + year: '2017' Nocturne/03 - Blaze (Feat. Kaya Thomas - Dyke).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 5:40 - 8:11 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Blaze (Feat. Kaya Thomas - Dyke) - track: 3 - year: 2017 + track: '3' + year: '2017' Nocturne/04 - What If (Interlude).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 8:11 - 9:35 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: What If (Interlude) - track: 4 - year: 2017 + track: '4' + year: '2017' Nocturne/05 - No Peace (Feat. Tom Misch).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 9:35 - 13:19 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: No Peace (Feat. Tom Misch) - track: 5 - year: 2017 + track: '5' + year: '2017' Nocturne/06 - Closer (Feat. Lester Duval).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 13:19 - 17:57 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Closer (Feat. Lester Duval) - track: 6 - year: 2017 + track: '6' + year: '2017' Nocturne/07 - Delusions: Rumination (Interlude) (Feat. Racheal Ofori).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 17:57 - 20:05 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset - title: Delusions: Rumination (Interlude) (Feat. Racheal Ofori) - track: 7 - year: 2017 + title: 'Delusions: Rumination (Interlude) (Feat. Racheal Ofori)' + track: '7' + year: '2017' Nocturne/08 - Dreams (Feat. Carmody).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 20:05 - 23:58 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Dreams (Feat. Carmody) - track: 8 - year: 2017 + track: '8' + year: '2017' Nocturne/09 - Dreaming (Interlude) (Feat. Racheal Ofori).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 23:58 - 24:45 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Dreaming (Interlude) (Feat. Racheal Ofori) - track: 9 - year: 2017 + track: '9' + year: '2017' Nocturne/10 - Hopeful (Feat. Jordan Rakei).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 24:45 - 28:53 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Hopeful (Feat. Jordan Rakei) - track: 10 - year: 2017 + track: '10' + year: '2017' Nocturne/11 - Sunrise (Pillows) (Feat. Emmavie).mp3 From Chapter Split: - Warning: Dry-run assumes embedded chapters with no modifications - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 28:53 - 31:43 + Source Title: Alfa Mist - Nocturne [Full Album] + Warning: Dry-run assumes embedded chapters with no modifications Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Sunrise (Pillows) (Feat. Emmavie) - track: 11 - year: 2017 + track: '11' + year: '2017' Nocturne/folder.jpg Sunrise (Pillows) (Feat. Emmavie).info.json What If (Interlude).info.json \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_video.txt b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_video.txt index 0efb31dd..b5dd5d22 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_video.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/split_by_chapters_with_regex_video.txt @@ -11,136 +11,136 @@ Intro (Feat. Racheal Ofori & Barney Artist).info.json No Peace (Feat. Tom Misch).info.json Nocturne/01 - Intro (Feat. Racheal Ofori & Barney Artist).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 0:00 - 2:06 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Intro (Feat. Racheal Ofori & Barney Artist) - track: 1 - year: 2017 + track: '1' + year: '2017' Nocturne/02 - Answers (Feat. Rick David & Kaya Thomas - Dyke).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 2:06 - 5:40 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Answers (Feat. Rick David & Kaya Thomas - Dyke) - track: 2 - year: 2017 + track: '2' + year: '2017' Nocturne/03 - Blaze (Feat. Kaya Thomas - Dyke).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 5:40 - 8:11 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Blaze (Feat. Kaya Thomas - Dyke) - track: 3 - year: 2017 + track: '3' + year: '2017' Nocturne/04 - What If (Interlude).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 8:11 - 9:35 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: What If (Interlude) - track: 4 - year: 2017 + track: '4' + year: '2017' Nocturne/05 - No Peace (Feat. Tom Misch).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 9:35 - 13:19 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: No Peace (Feat. Tom Misch) - track: 5 - year: 2017 + track: '5' + year: '2017' Nocturne/06 - Closer (Feat. Lester Duval).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 13:19 - 17:57 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Closer (Feat. Lester Duval) - track: 6 - year: 2017 + track: '6' + year: '2017' Nocturne/07 - Delusions: Rumination (Interlude) (Feat. Racheal Ofori).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 17:57 - 20:05 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset - title: Delusions: Rumination (Interlude) (Feat. Racheal Ofori) - track: 7 - year: 2017 + title: 'Delusions: Rumination (Interlude) (Feat. Racheal Ofori)' + track: '7' + year: '2017' Nocturne/08 - Dreams (Feat. Carmody).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 20:05 - 23:58 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Dreams (Feat. Carmody) - track: 8 - year: 2017 + track: '8' + year: '2017' Nocturne/09 - Dreaming (Interlude) (Feat. Racheal Ofori).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 23:58 - 24:45 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Dreaming (Interlude) (Feat. Racheal Ofori) - track: 9 - year: 2017 + track: '9' + year: '2017' Nocturne/10 - Hopeful (Feat. Jordan Rakei).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 24:45 - 28:53 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Hopeful (Feat. Jordan Rakei) - track: 10 - year: 2017 + track: '10' + year: '2017' Nocturne/11 - Sunrise (Pillows) (Feat. Emmavie).mp3 From Chapter Split: - Source Title: Alfa Mist - Nocturne [Full Album] Segment: 28:53 - 31:43 + Source Title: Alfa Mist - Nocturne [Full Album] Music Tags: album: Nocturne albumartist: Alfa Mist artist: Alfa Mist genre: Unset title: Sunrise (Pillows) (Feat. Emmavie) - track: 11 - year: 2017 + track: '11' + year: '2017' Nocturne/folder.jpg Sunrise (Pillows) (Feat. Emmavie).info.json What If (Interlude).info.json \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/test_audio_extract_playlist.txt b/tests/e2e/resources/transaction_log_summaries/plugins/test_audio_extract_playlist.txt index e36f5f60..e028f73e 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/test_audio_extract_playlist.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/test_audio_extract_playlist.txt @@ -8,8 +8,8 @@ Jesse's Minecraft Server [Trailer - Feb.1].ogg artist: Project Zombie genre: Unset title: Jesse's Minecraft Server [Trailer - Feb.1] - track: 3 - year: 2011 + track: '3' + year: '2011' Jesse's Minecraft Server [Trailer - Feb.27].info.json Jesse's Minecraft Server [Trailer - Feb.27].ogg Music Tags: @@ -18,8 +18,8 @@ Jesse's Minecraft Server [Trailer - Feb.27].ogg artist: Project Zombie genre: Unset title: Jesse's Minecraft Server [Trailer - Feb.27] - track: 2 - year: 2011 + track: '2' + year: '2011' Jesse's Minecraft Server [Trailer - Mar.21].info.json Jesse's Minecraft Server [Trailer - Mar.21].ogg Music Tags: @@ -28,5 +28,5 @@ Jesse's Minecraft Server [Trailer - Mar.21].ogg artist: Project Zombie genre: Unset title: Jesse's Minecraft Server [Trailer - Mar.21] - track: 1 - year: 2011 \ No newline at end of file + track: '1' + year: '2011' \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/test_audio_extract_single.txt b/tests/e2e/resources/transaction_log_summaries/plugins/test_audio_extract_single.txt index fa01724c..1dd7b2b9 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/test_audio_extract_single.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/test_audio_extract_single.txt @@ -7,6 +7,6 @@ YouTube Rewind 2019: For the Record | #YouTubeRewind.mp3 albumartist: YouTube artist: YouTube genre: Unset - title: YouTube Rewind 2019: For the Record | #YouTubeRewind - track: 1 - year: 2019 \ No newline at end of file + title: 'YouTube Rewind 2019: For the Record | #YouTubeRewind' + track: '1' + year: '2019' \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/test_chapters_from_ts_with_subs.txt b/tests/e2e/resources/transaction_log_summaries/plugins/test_chapters_from_ts_with_subs.txt index 6fa3cad8..7c1e5ee8 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/test_chapters_from_ts_with_subs.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/test_chapters_from_ts_with_subs.txt @@ -9,16 +9,14 @@ JMC - This GPU SLIDES into this Case! - Silverstone SUGO 16 ITX Case.mp4 0:20: Part 2 0:30: Part 3 0:40: Part 4 - 1:01: Part 5 + '1:01': Part 5 Embedded subtitles with lang(s) en, de Video Tags: - description: - 🎸 / ' " - newline? + description: "\U0001F3B8 / ' \" \n newline?" JMC - This GPU SLIDES into this Case! - Silverstone SUGO 16 ITX Case.nfo NFO tags: musicvideo: album: Music Videos artist: JMC title: This GPU SLIDES into this Case! - Silverstone SUGO 16 ITX Case - year: 2021 \ No newline at end of file + year: '2021' \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/test_chapters_sb_and_embedded_subs.txt b/tests/e2e/resources/transaction_log_summaries/plugins/test_chapters_sb_and_embedded_subs.txt index 3db149e6..1fdb0007 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/test_chapters_sb_and_embedded_subs.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/test_chapters_sb_and_embedded_subs.txt @@ -3,12 +3,12 @@ Files created in '{output_directory}' JMC - This GPU SLIDES into this Case! - Silverstone SUGO 16 ITX Case-thumb.jpg JMC - This GPU SLIDES into this Case! - Silverstone SUGO 16 ITX Case.info.json JMC - This GPU SLIDES into this Case! - Silverstone SUGO 16 ITX Case.mp4 - Embedded Chapters + Embedded Chapters: Removed Chapter(s): Intro, Outro Removed SponsorBlock Category Count(s): - Sponsor: 2 Endcards/Credits: 1 Intermission/Intro Animation: 1 + Sponsor: 2 Unpaid/Self Promotion: 1 Embedded subtitles with lang(s) en, de JMC - This GPU SLIDES into this Case! - Silverstone SUGO 16 ITX Case.nfo @@ -17,4 +17,4 @@ JMC - This GPU SLIDES into this Case! - Silverstone SUGO 16 ITX Case.nfo album: Music Videos artist: JMC title: This GPU SLIDES into this Case! - Silverstone SUGO 16 ITX Case - year: 2021 \ No newline at end of file + year: '2021' \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/test_regex.txt b/tests/e2e/resources/transaction_log_summaries/plugins/test_regex.txt index 2d13155a..92ccc555 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/test_regex.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/test_regex.txt @@ -19,7 +19,7 @@ Project Zombie - Jesse's Minecraft Server [Trailer - Feb.1].nfo title_cap_1_sanitized: Trailer title_cap_2: Feb.1 upload_date_both_caps: First and Second containing in regex default - year: 2011 + year: '2011' Project Zombie - Jesse's Minecraft Server [Trailer - Feb.27]-thumb.jpg Project Zombie - Jesse's Minecraft Server [Trailer - Feb.27].info.json Project Zombie - Jesse's Minecraft Server [Trailer - Feb.27].mp4 @@ -38,4 +38,4 @@ Project Zombie - Jesse's Minecraft Server [Trailer - Feb.27].nfo title_cap_1_sanitized: Trailer title_cap_2: Feb.27 upload_date_both_caps: 2011 and 02 - year: 2011 \ No newline at end of file + year: '2011' \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/test_subtitles_embedded.txt b/tests/e2e/resources/transaction_log_summaries/plugins/test_subtitles_embedded.txt index 3f4f5222..ee9d8015 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/test_subtitles_embedded.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/test_subtitles_embedded.txt @@ -9,5 +9,5 @@ JMC - YouTube Rewind 2019: For the Record | #YouTubeRewind.nfo musicvideo: album: Music Videos artist: JMC - title: YouTube Rewind 2019: For the Record | #YouTubeRewind - year: 2019 \ No newline at end of file + title: 'YouTube Rewind 2019: For the Record | #YouTubeRewind' + year: '2019' \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/plugins/test_subtitles_embedded_and_file.txt b/tests/e2e/resources/transaction_log_summaries/plugins/test_subtitles_embedded_and_file.txt index c1dc9ad3..665ea8e0 100644 --- a/tests/e2e/resources/transaction_log_summaries/plugins/test_subtitles_embedded_and_file.txt +++ b/tests/e2e/resources/transaction_log_summaries/plugins/test_subtitles_embedded_and_file.txt @@ -11,5 +11,5 @@ JMC - YouTube Rewind 2019: For the Record | #YouTubeRewind.nfo musicvideo: album: Music Videos artist: JMC - title: YouTube Rewind 2019: For the Record | #YouTubeRewind - year: 2019 \ No newline at end of file + title: 'YouTube Rewind 2019: For the Record | #YouTubeRewind' + year: '2019' \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/soundcloud/test_soundcloud_discography.txt b/tests/e2e/resources/transaction_log_summaries/soundcloud/test_soundcloud_discography.txt index f34f9c00..68865566 100644 --- a/tests/e2e/resources/transaction_log_summaries/soundcloud/test_soundcloud_discography.txt +++ b/tests/e2e/resources/transaction_log_summaries/soundcloud/test_soundcloud_discography.txt @@ -9,8 +9,8 @@ j_b/[2021] Baby Santana's Dorian Groove/01 - Baby Santana's Dorian Groove.mp3 artist: j_b genre: Unset title: Baby Santana's Dorian Groove - track: 1 - year: 2021 + track: '1' + year: '2021' j_b/[2021] Baby Santana's Dorian Groove/folder.jpg j_b/[2021] Purple Clouds/01 - Purple Clouds.info.json j_b/[2021] Purple Clouds/01 - Purple Clouds.mp3 @@ -20,8 +20,8 @@ j_b/[2021] Purple Clouds/01 - Purple Clouds.mp3 artist: j_b genre: Unset title: Purple Clouds - track: 1 - year: 2021 + track: '1' + year: '2021' j_b/[2021] Purple Clouds/folder.jpg j_b/[2022] Acoustic Treats/01 - 20160426 184214.info.json j_b/[2022] Acoustic Treats/01 - 20160426 184214.mp3 @@ -31,8 +31,8 @@ j_b/[2022] Acoustic Treats/01 - 20160426 184214.mp3 artist: j_b genre: Unset title: 20160426 184214 - track: 1 - year: 2022 + track: '1' + year: '2022' j_b/[2022] Acoustic Treats/02 - 20160502 123150.info.json j_b/[2022] Acoustic Treats/02 - 20160502 123150.mp3 Music Tags: @@ -41,8 +41,8 @@ j_b/[2022] Acoustic Treats/02 - 20160502 123150.mp3 artist: j_b genre: Unset title: 20160502 123150 - track: 2 - year: 2022 + track: '2' + year: '2022' j_b/[2022] Acoustic Treats/03 - 20160504 143832.info.json j_b/[2022] Acoustic Treats/03 - 20160504 143832.mp3 Music Tags: @@ -51,8 +51,8 @@ j_b/[2022] Acoustic Treats/03 - 20160504 143832.mp3 artist: j_b genre: Unset title: 20160504 143832 - track: 3 - year: 2022 + track: '3' + year: '2022' j_b/[2022] Acoustic Treats/04 - 20160601 221234.info.json j_b/[2022] Acoustic Treats/04 - 20160601 221234.mp3 Music Tags: @@ -61,8 +61,8 @@ j_b/[2022] Acoustic Treats/04 - 20160601 221234.mp3 artist: j_b genre: Unset title: 20160601 221234 - track: 4 - year: 2022 + track: '4' + year: '2022' j_b/[2022] Acoustic Treats/05 - 20160601 222440.info.json j_b/[2022] Acoustic Treats/05 - 20160601 222440.mp3 Music Tags: @@ -71,8 +71,8 @@ j_b/[2022] Acoustic Treats/05 - 20160601 222440.mp3 artist: j_b genre: Unset title: 20160601 222440 - track: 5 - year: 2022 + track: '5' + year: '2022' j_b/[2022] Acoustic Treats/06 - 20170604 190236.info.json j_b/[2022] Acoustic Treats/06 - 20170604 190236.mp3 Music Tags: @@ -81,8 +81,8 @@ j_b/[2022] Acoustic Treats/06 - 20170604 190236.mp3 artist: j_b genre: Unset title: 20170604 190236 - track: 6 - year: 2022 + track: '6' + year: '2022' j_b/[2022] Acoustic Treats/07 - 20170612 193646.info.json j_b/[2022] Acoustic Treats/07 - 20170612 193646.mp3 Music Tags: @@ -91,8 +91,8 @@ j_b/[2022] Acoustic Treats/07 - 20170612 193646.mp3 artist: j_b genre: Unset title: 20170612 193646 - track: 7 - year: 2022 + track: '7' + year: '2022' j_b/[2022] Acoustic Treats/08 - 20170628 215206.info.json j_b/[2022] Acoustic Treats/08 - 20170628 215206.mp3 Music Tags: @@ -101,8 +101,8 @@ j_b/[2022] Acoustic Treats/08 - 20170628 215206.mp3 artist: j_b genre: Unset title: 20170628 215206 - track: 8 - year: 2022 + track: '8' + year: '2022' j_b/[2022] Acoustic Treats/09 - Finding Home.info.json j_b/[2022] Acoustic Treats/09 - Finding Home.mp3 Music Tags: @@ -111,8 +111,8 @@ j_b/[2022] Acoustic Treats/09 - Finding Home.mp3 artist: j_b genre: Unset title: Finding Home - track: 9 - year: 2022 + track: '9' + year: '2022' j_b/[2022] Acoustic Treats/10 - Shallow Water WIP.info.json j_b/[2022] Acoustic Treats/10 - Shallow Water WIP.mp3 Music Tags: @@ -121,8 +121,8 @@ j_b/[2022] Acoustic Treats/10 - Shallow Water WIP.mp3 artist: j_b genre: Unset title: Shallow Water WIP - track: 10 - year: 2022 + track: '10' + year: '2022' j_b/[2022] Acoustic Treats/11 - Untold History.info.json j_b/[2022] Acoustic Treats/11 - Untold History.mp3 Music Tags: @@ -131,6 +131,6 @@ j_b/[2022] Acoustic Treats/11 - Untold History.mp3 artist: j_b genre: Unset title: Untold History - track: 11 - year: 2022 + track: '11' + year: '2022' j_b/[2022] Acoustic Treats/folder.jpg \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_full.txt b/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_full.txt index 685e186c..e9766753 100644 --- a/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_full.txt +++ b/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_full.txt @@ -7,252 +7,326 @@ Season 2010/s2010.e0813 - Oblivion Mod "Falcor" p.1.mp4 Season 2010/s2010.e0813 - Oblivion Mod "Falcor" p.1.nfo NFO tags: episodedetails: - aired: 2010-08-13 - episode: 813 - plot: - PLEASE WATCH IN HD! - - This is the castle in the mod "Falcor" which we are currently working on. - You can find some more information about the mod @ http://www.oblivionfalcormod.webs.com/ - - This is the first time I've really used the editor, and the beginning of our first mod. Hope you enjoy. - season: 2010 + aired: '2010-08-13' + episode: '813' + plot: "PLEASE WATCH IN HD!\r\n\r\nThis is the castle in the mod \"Falcor\" which we are currently\ + \ working on.\r\nYou can find some more information about the mod @ http://www.oblivionfalcormod.webs.com/\r\ + \n\r\nThis is the first time I've really used the editor, and the beginning of our first mod. Hope\ + \ you enjoy." + season: '2010' title: Oblivion Mod "Falcor" p.1 - year: 2010 + year: '2010' Season 2010/s2010.e1202 - Oblivion Mod "Falcor" p.2-thumb.jpg Season 2010/s2010.e1202 - Oblivion Mod "Falcor" p.2.info.json Season 2010/s2010.e1202 - Oblivion Mod "Falcor" p.2.mp4 Season 2010/s2010.e1202 - Oblivion Mod "Falcor" p.2.nfo NFO tags: episodedetails: - aired: 2010-12-02 - episode: 1202 - plot: - PLEASE WATCH IN HD. + aired: '2010-12-02' + episode: '1202' + plot: 'PLEASE WATCH IN HD. + Download Link: + http://www.tesnexus.com/downloads/file.php?id=36306 - Please keep in mind that the mod is not complete, so you'll see some blank areas during the video. I haven't made LOD (Level of Distance) yet either, so areas far away will not appear. - season: 2010 + + Please keep in mind that the mod is not complete, so you''ll see some blank areas during the video. I + haven''t made LOD (Level of Distance) yet either, so areas far away will not appear.' + season: '2010' title: Oblivion Mod "Falcor" p.2 - year: 2010 + year: '2010' Season 2011/s2011.e0201 - Jesse's Minecraft Server [Trailer - Feb.1]-thumb.jpg Season 2011/s2011.e0201 - Jesse's Minecraft Server [Trailer - Feb.1].info.json Season 2011/s2011.e0201 - Jesse's Minecraft Server [Trailer - Feb.1].mp4 Season 2011/s2011.e0201 - Jesse's Minecraft Server [Trailer - Feb.1].nfo NFO tags: episodedetails: - aired: 2011-02-01 - episode: 201 - plot: - To join the server, you must apply at: + aired: '2011-02-01' + episode: '201' + plot: 'To join the server, you must apply at: + http://www.jesseminecraft.webs.com/ + This is just a brief video of the server as of Feb. 1, 2011. + Texture Pack I Use: - http://www.minecraftforum.net/viewtopic.php?f=25&t=29164 - season: 2011 + + http://www.minecraftforum.net/viewtopic.php?f=25&t=29164' + season: '2011' title: Jesse's Minecraft Server [Trailer - Feb.1] - year: 2011 + year: '2011' Season 2011/s2011.e0227 - Jesse's Minecraft Server [Trailer - Feb.27]-thumb.jpg Season 2011/s2011.e0227 - Jesse's Minecraft Server [Trailer - Feb.27].info.json Season 2011/s2011.e0227 - Jesse's Minecraft Server [Trailer - Feb.27].mp4 Season 2011/s2011.e0227 - Jesse's Minecraft Server [Trailer - Feb.27].nfo NFO tags: episodedetails: - aired: 2011-02-27 - episode: 227 - plot: - Website Link: + aired: '2011-02-27' + episode: '227' + plot: 'Website Link: + http://jesseminecraft.webs.com/ - All you have to do is read the rules, and fill out a quick, little application to join the Server so we know you read them. We do this to keep the griefers/newbs out, it only takes three minutes, it's not that big of a deal. - Jesse's Minecraft Server is a City Roleplay/Survival Server, there is a currency, public transportation, strict rules for immersive gameplay, and has a decent size population. Over 750 people have logged onto the server. It is very important you read the rules, we don't tolerate idiots. + All you have to do is read the rules, and fill out a quick, little application to join the Server + so we know you read them. We do this to keep the griefers/newbs out, it only takes three minutes, + it''s not that big of a deal. + + + Jesse''s Minecraft Server is a City Roleplay/Survival Server, there is a currency, public transportation, + strict rules for immersive gameplay, and has a decent size population. Over 750 people have logged + onto the server. It is very important you read the rules, we don''t tolerate idiots. + There are over 200 empty properties that are ready for anyone to own! Join now! + This is the server state as of Feb. 27, 2011. + ---------------------------------------------------------------------------------- + Texture Pack: + http://www.minecraftforum.net/viewtopic.php?f=25&t=29164 + Recording Software: + http://www.fraps.com/download.php + Video Editing Software: + http://explore.live.com/windows-live-movie-maker?os=other - Song: - Given to Fly - Pearl Jam - (Off of the 'Yield' album) - I claim no ownership of this song, all the credit goes to Pearl Jam and their producers. - season: 2011 + Song: + + Given to Fly - Pearl Jam + + (Off of the ''Yield'' album) + + + I claim no ownership of this song, all the credit goes to Pearl Jam and their producers.' + season: '2011' title: Jesse's Minecraft Server [Trailer - Feb.27] - year: 2011 + year: '2011' Season 2011/s2011.e0321 - Jesse's Minecraft Server [Trailer - Mar.21]-thumb.jpg Season 2011/s2011.e0321 - Jesse's Minecraft Server [Trailer - Mar.21].info.json Season 2011/s2011.e0321 - Jesse's Minecraft Server [Trailer - Mar.21].mp4 Season 2011/s2011.e0321 - Jesse's Minecraft Server [Trailer - Mar.21].nfo NFO tags: episodedetails: - aired: 2011-03-21 - episode: 321 - plot: - Website Link: + aired: '2011-03-21' + episode: '321' + plot: 'Website Link: + http://jesseminecraft.webs.com/ - To get on the whitelist, please look at the website linked above (^^^). Due to the overwhelming amount of people trying to join, I've made it so it costs $2 to become a member through paypal. All of it is explained on the website. - Jesse's Minecraft Server is a City Roleplay/Survival Server, there is a currency, public transportation, strict rules for immersive gameplay, and has a decent size population. Over 1000 people have logged onto the server. It is very important you read the rules, we don't tolerate idiots. + To get on the whitelist, please look at the website linked above (^^^). Due to the overwhelming + amount of people trying to join, I''ve made it so it costs $2 to become a member through paypal. + All of it is explained on the website. + + + Jesse''s Minecraft Server is a City Roleplay/Survival Server, there is a currency, public transportation, + strict rules for immersive gameplay, and has a decent size population. Over 1000 people have logged + onto the server. It is very important you read the rules, we don''t tolerate idiots. + There are over 300 empty properties that are ready for anyone to own! Join now! + This is the server state as of Mar. 21, 2011. + --------------------------------------------------------------------------------­-- + Texture Pack: + http://www.minecraftforum.net/viewtopic.php?f=25&t=29164 + Recording Software: + http://www.fraps.com/download.php + Video Editing Software: + http://explore.live.com/windows-live-movie-maker?os=other - Song: - Indifference - Pearl Jam - (Off of the 'Vs.' album) - I claim no ownership of this song, all the credit goes to Pearl Jam and their producers. - season: 2011 + Song: + + Indifference - Pearl Jam + + (Off of the ''Vs.'' album) + + + I claim no ownership of this song, all the credit goes to Pearl Jam and their producers.' + season: '2011' title: Jesse's Minecraft Server [Trailer - Mar.21] - year: 2011 + year: '2011' Season 2011/s2011.e0529 - Project Zombie |Official Trailer| (IP: mc.projectzombie.beastnode.net)-thumb.jpg Season 2011/s2011.e0529 - Project Zombie |Official Trailer| (IP: mc.projectzombie.beastnode.net).info.json Season 2011/s2011.e0529 - Project Zombie |Official Trailer| (IP: mc.projectzombie.beastnode.net).mp4 Season 2011/s2011.e0529 - Project Zombie |Official Trailer| (IP: mc.projectzombie.beastnode.net).nfo NFO tags: episodedetails: - aired: 2011-05-29 - episode: 529 - plot: - Currently in alpha testing. + aired: '2011-05-29' + episode: '529' + plot: 'Currently in alpha testing. + http://www.projectzombie.net/ + Credits: + -Master_Queef (Jesse) + -Cheeseducksg + -Vsalaka + -Edwingsd + -All Members on my Roleplay Server + -All Mercenaries in Project Zombie + Song: - Johnny Cash - God's Gonna Cut You Down + + Johnny Cash - God''s Gonna Cut You Down + Texture Pack: - http://www.minecraftforum.net/topic/26727-johnsmith-texture-pack-v73-32x32-16x-with-customizer/ - season: 2011 - title: Project Zombie |Official Trailer| (IP: mc.projectzombie.beastnode.net) - year: 2011 + + http://www.minecraftforum.net/topic/26727-johnsmith-texture-pack-v73-32x32-16x-with-customizer/' + season: '2011' + title: 'Project Zombie |Official Trailer| (IP: mc.projectzombie.beastnode.net)' + year: '2011' Season 2011/s2011.e0630 - Project Zombie |Fin|-thumb.jpg Season 2011/s2011.e0630 - Project Zombie |Fin|.info.json Season 2011/s2011.e0630 - Project Zombie |Fin|.mp4 Season 2011/s2011.e0630 - Project Zombie |Fin|.nfo NFO tags: episodedetails: - aired: 2011-06-30 - episode: 630 - plot: - Twas a good run while it lasted. If you're still interested in playing PZ, you can join my Roleplay Server, yes, Project Zombie is completely imported onto that one: - http://www.jesseminecraft.webs.com/ - season: 2011 + aired: '2011-06-30' + episode: '630' + plot: 'Twas a good run while it lasted. If you''re still interested in playing PZ, you can join my + Roleplay Server, yes, Project Zombie is completely imported onto that one: + + http://www.jesseminecraft.webs.com/' + season: '2011' title: Project Zombie |Fin| - year: 2011 + year: '2011' Season 2011/s2011.e1121 - Skyrim 'Ultra HD w⧸Mods' [PC]-thumb.jpg Season 2011/s2011.e1121 - Skyrim 'Ultra HD w⧸Mods' [PC].info.json Season 2011/s2011.e1121 - Skyrim 'Ultra HD w⧸Mods' [PC].mp4 Season 2011/s2011.e1121 - Skyrim 'Ultra HD w⧸Mods' [PC].nfo NFO tags: episodedetails: - aired: 2011-11-21 - episode: 1121 - plot: - Mods I have used: + aired: '2011-11-21' + episode: '1121' + plot: 'Mods I have used: + http://skyrimnexus.com/downloads/file.php?id=329 + http://skyrimnexus.com/downloads/file.php?id=607 + http://skyrimnexus.com/downloads/file.php?id=711 + http://skyrimnexus.com/downloads/file.php?id=302 + http://skyrimnexus.com/downloads/file.php?id=141 + http://skyrimnexus.com/downloads/file.php?id=131 + http://skyrimnexus.com/downloads/file.php?id=85 - http://skyrimnexus.com/downloads/file.php?id=191 - season: 2011 + + http://skyrimnexus.com/downloads/file.php?id=191' + season: '2011' title: Skyrim 'Ultra HD w/Mods' [PC] - year: 2011 + year: '2011' Season 2012/s2012.e0123 - Project Zombie |Map Trailer|-thumb.jpg Season 2012/s2012.e0123 - Project Zombie |Map Trailer|.info.json Season 2012/s2012.e0123 - Project Zombie |Map Trailer|.mp4 Season 2012/s2012.e0123 - Project Zombie |Map Trailer|.nfo NFO tags: episodedetails: - aired: 2012-01-23 - episode: 123 - plot: - Faction Server IP: 72.9.157.88:25652 + aired: '2012-01-23' + episode: '123' + plot: 'Faction Server IP: 72.9.157.88:25652 + Project Zombie IP: mc.projectzombie.beastnode.net + Project Zombie Map: http://tinyurl.com/projectzombie1 + Website: http://jesseminecraft.webs.com/ + Map Download: http://www.planetminecraft.com/project/project-zombie-511865/ + A few little mistakes, but awh well, the dynamic shadows look boss. - And the song is Comfortably Numb by Pink Floyd. If you didn't know that after the first 10 seconds of listening to it then you may need some help. - season: 2012 + + And the song is Comfortably Numb by Pink Floyd. If you didn''t know that after the first 10 seconds + of listening to it then you may need some help.' + season: '2012' title: Project Zombie |Map Trailer| - year: 2012 + year: '2012' Season 2013/s2013.e0719 - Project Zombie Rewind |Trailer|-thumb.jpg Season 2013/s2013.e0719 - Project Zombie Rewind |Trailer|.info.json Season 2013/s2013.e0719 - Project Zombie Rewind |Trailer|.mp4 Season 2013/s2013.e0719 - Project Zombie Rewind |Trailer|.nfo NFO tags: episodedetails: - aired: 2013-07-19 - episode: 719 - plot: - IP: 172.245.24.118 + aired: '2013-07-19' + episode: '719' + plot: 'IP: 172.245.24.118 + http://www.projectzombie.net/ - With almost a year of downtime, Project Zombie rises from its ashes. Rewind back to May 2011 and immerse yourself in the original Project Zombie with expansions. Open July 20th, 2013. - season: 2013 + + With almost a year of downtime, Project Zombie rises from its ashes. Rewind back to May 2011 and + immerse yourself in the original Project Zombie with expansions. Open July 20th, 2013.' + season: '2013' title: Project Zombie Rewind |Trailer| - year: 2013 + year: '2013' Season 2018/s2018.e1029 - Jesse's Minecraft Server | Teaser Trailer-thumb.jpg Season 2018/s2018.e1029 - Jesse's Minecraft Server | Teaser Trailer.info.json Season 2018/s2018.e1029 - Jesse's Minecraft Server | Teaser Trailer.mp4 Season 2018/s2018.e1029 - Jesse's Minecraft Server | Teaser Trailer.nfo NFO tags: episodedetails: - aired: 2018-10-29 - episode: 1029 - plot: - See the full trailer here: https://youtu.be/LN2e6idGluI + aired: '2018-10-29' + episode: '1029' + plot: 'See the full trailer here: https://youtu.be/LN2e6idGluI + Discord: https://discord.gg/BQN7SSe + Website: https://www.projectzombie.net/ - It has been about six years since the glory days of the original RP server. Hope to see many familiar faces in the revival of our great server. + + It has been about six years since the glory days of the original RP server. Hope to see many familiar + faces in the revival of our great server. + Credits: + ALISON - Space Echo - https://www.youtube.com/watch?v=lPldcjlv3_Y - season: 2018 + + https://www.youtube.com/watch?v=lPldcjlv3_Y' + season: '2018' title: Jesse's Minecraft Server | Teaser Trailer - year: 2018 + year: '2018' Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id-thumb.jpg Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id.en.srt Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id.info.json @@ -260,24 +334,15 @@ Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id.mp4 Season 2018/s2018.e1102 - Jesse's Minecraft Server | IP mc.jesse.id.nfo NFO tags: episodedetails: - aired: 2018-11-02 - episode: 1102 - plot: - IP: mc.jesse.id - Live Map: http://mc.jesse.id:8123 - Discord: https://discord.gg/BQN7SSe - Website: https://www.projectzombie.net/ - - It has been about six years since the glory days of the original RP server. Hope to see many familiar faces in the revival of our great server. - - The MC version is 1.13.x AND/OR 1.12.x - - Credits: - ALISON - Space Echo - https://www.youtube.com/watch?v=lPldcjlv3_Y - season: 2018 + aired: '2018-11-02' + episode: '1102' + plot: "IP: mc.jesse.id\nLive Map: http://mc.jesse.id:8123\nDiscord: https://discord.gg/BQN7SSe\nWebsite:\ + \ https://www.projectzombie.net/\n\nIt has been about six years since the glory days of the original\ + \ RP server. Hope to see many familiar faces in the revival of our great server. \n\nThe MC version\ + \ is 1.13.x AND/OR 1.12.x\n\nCredits:\nALISON - Space Echo\nhttps://www.youtube.com/watch?v=lPldcjlv3_Y" + season: '2018' title: Jesse's Minecraft Server | IP mc.jesse.id - year: 2018 + year: '2018' fanart.jpg poster.jpg tvshow.nfo diff --git a/tests/e2e/resources/transaction_log_summaries/youtube/test_merge_playlist.txt b/tests/e2e/resources/transaction_log_summaries/youtube/test_merge_playlist.txt index e02577e6..2d5e76fb 100644 --- a/tests/e2e/resources/transaction_log_summaries/youtube/test_merge_playlist.txt +++ b/tests/e2e/resources/transaction_log_summaries/youtube/test_merge_playlist.txt @@ -5,12 +5,12 @@ JMC - Jesse's Minecraft Server.info.json JMC - Jesse's Minecraft Server.mkv Timestamps of playlist videos in the merged file: 0:00: Jesse's Minecraft Server [Trailer - Mar.21] - 5:00: Jesse's Minecraft Server [Trailer - Feb.27] - 9:00: Jesse's Minecraft Server [Trailer - Feb.1] + '5:00': Jesse's Minecraft Server [Trailer - Feb.27] + '9:00': Jesse's Minecraft Server [Trailer - Feb.1] JMC - Jesse's Minecraft Server.nfo NFO tags: musicvideo: album: Music Videos artist: JMC title: Jesse's Minecraft Server - year: 2011 \ No newline at end of file + year: '2011' \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/youtube/test_playlist.txt b/tests/e2e/resources/transaction_log_summaries/youtube/test_playlist.txt index 14e1f17f..b6454bb4 100644 --- a/tests/e2e/resources/transaction_log_summaries/youtube/test_playlist.txt +++ b/tests/e2e/resources/transaction_log_summaries/youtube/test_playlist.txt @@ -10,7 +10,7 @@ JMC - Jesse's Minecraft Server [Trailer - Feb.1].nfo album: Music Videos artist: JMC title: Jesse's Minecraft Server [Trailer - Feb.1] - year: 2011 + year: '2011' JMC - Jesse's Minecraft Server [Trailer - Feb.27]-thumb.jpg JMC - Jesse's Minecraft Server [Trailer - Feb.27].info.json JMC - Jesse's Minecraft Server [Trailer - Feb.27].mp4 @@ -20,7 +20,7 @@ JMC - Jesse's Minecraft Server [Trailer - Feb.27].nfo album: Music Videos artist: JMC title: Jesse's Minecraft Server [Trailer - Feb.27] - year: 2011 + year: '2011' JMC - Jesse's Minecraft Server [Trailer - Mar.21]-thumb.jpg JMC - Jesse's Minecraft Server [Trailer - Mar.21].info.json JMC - Jesse's Minecraft Server [Trailer - Mar.21].mp4 @@ -30,7 +30,7 @@ JMC - Jesse's Minecraft Server [Trailer - Mar.21].nfo album: Music Videos artist: JMC title: Jesse's Minecraft Server [Trailer - Mar.21] - year: 2011 + year: '2011' tvshow.nfo NFO tags: test: diff --git a/tests/e2e/resources/transaction_log_summaries/youtube/test_split_video.txt b/tests/e2e/resources/transaction_log_summaries/youtube/test_split_video.txt index e8113d7d..085d54d0 100644 --- a/tests/e2e/resources/transaction_log_summaries/youtube/test_split_video.txt +++ b/tests/e2e/resources/transaction_log_summaries/youtube/test_split_video.txt @@ -20,7 +20,7 @@ Project Zombie - Intro.nfo album: Music Videos artist: Project Zombie title: Intro - year: 2010 + year: '2010' Project Zombie - Part 1-thumb.jpg Project Zombie - Part 1.info.json Project Zombie - Part 1.nfo @@ -29,7 +29,7 @@ Project Zombie - Part 1.nfo album: Music Videos artist: Project Zombie title: Part 1 - year: 2010 + year: '2010' Project Zombie - Part 2-thumb.jpg Project Zombie - Part 2.info.json Project Zombie - Part 2.nfo @@ -38,7 +38,7 @@ Project Zombie - Part 2.nfo album: Music Videos artist: Project Zombie title: Part 2 - year: 2010 + year: '2010' Project Zombie - Part 3-thumb.jpg Project Zombie - Part 3.info.json Project Zombie - Part 3.nfo @@ -47,7 +47,7 @@ Project Zombie - Part 3.nfo album: Music Videos artist: Project Zombie title: Part 3 - year: 2010 + year: '2010' Project Zombie - Part 4-thumb.jpg Project Zombie - Part 4.info.json Project Zombie - Part 4.nfo @@ -56,7 +56,7 @@ Project Zombie - Part 4.nfo album: Music Videos artist: Project Zombie title: Part 4 - year: 2010 + year: '2010' Project Zombie - Part 5-thumb.jpg Project Zombie - Part 5.info.json Project Zombie - Part 5.nfo @@ -65,4 +65,4 @@ Project Zombie - Part 5.nfo album: Music Videos artist: Project Zombie title: Part 5 - year: 2010 \ No newline at end of file + year: '2010' \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/youtube/test_video.txt b/tests/e2e/resources/transaction_log_summaries/youtube/test_video.txt index eb444bf0..8493040c 100644 --- a/tests/e2e/resources/transaction_log_summaries/youtube/test_video.txt +++ b/tests/e2e/resources/transaction_log_summaries/youtube/test_video.txt @@ -11,4 +11,4 @@ JMC - Oblivion Mod "Falcor" p.1.nfo album: Music Videos artist: JMC title: Oblivion Mod "Falcor" p.1 - year: 2010 \ No newline at end of file + year: '2010' \ No newline at end of file diff --git a/tests/unit/config/test_preset.py b/tests/unit/config/test_preset.py index fd32204e..54729004 100644 --- a/tests/unit/config/test_preset.py +++ b/tests/unit/config/test_preset.py @@ -107,7 +107,8 @@ class TestPreset: nfo_options: NfoTagsOptions = preset.plugins.get(NfoTagsOptions) tags_string_dict = { - key: formatter.format_string for key, formatter in nfo_options.tags.string_tags.items() + key: formatter[0].format_string + for key, formatter in nfo_options.tags.string_tags.items() } assert tags_string_dict == {"key-1": "preset_0", "key-2": "this-preset"} @@ -126,7 +127,8 @@ class TestPreset: nfo_options: NfoTagsOptions = preset.plugins.get(NfoTagsOptions) tags_string_dict = { - key: formatter.format_string for key, formatter in nfo_options.tags.string_tags.items() + key: formatter[0].format_string + for key, formatter in nfo_options.tags.string_tags.items() } assert tags_string_dict == {