From b7bc7f5287f3a71db593c15ebbce3dccd2944d7d Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Fri, 27 Oct 2023 17:24:58 -0700 Subject: [PATCH] update name, use worst format for consistent format --- tests/e2e/plugins/test_chapters.py | 2 +- tests/e2e/plugins/test_file_convert.py | 2 +- .../plugins/file_convert/output.json | 2 +- .../plugins/file_convert/output_custom_ffmpeg.json | 2 +- .../transaction_log_summaries/plugins/file_convert/output.txt | 1 - .../plugins/file_convert/output_custom_ffmpeg.txt | 2 +- 6 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/e2e/plugins/test_chapters.py b/tests/e2e/plugins/test_chapters.py index d864b59c..deccedfa 100644 --- a/tests/e2e/plugins/test_chapters.py +++ b/tests/e2e/plugins/test_chapters.py @@ -39,7 +39,7 @@ def sponsorblock_and_subs_preset_dict(output_directory) -> Dict: "ytdl_options": { "postprocessor_args": {"ffmpeg": ["-bitexact"]}, # Must add this for reproducibility }, - "overrides": {"artist": "JMC"}, + "overrides": {"music_video_artist": "JMC"}, } diff --git a/tests/e2e/plugins/test_file_convert.py b/tests/e2e/plugins/test_file_convert.py index e6a5a661..4723d64e 100644 --- a/tests/e2e/plugins/test_file_convert.py +++ b/tests/e2e/plugins/test_file_convert.py @@ -12,7 +12,7 @@ def preset_dict(output_directory): "preset": "Jellyfin Music Videos", "download": "https://www.youtube.com/watch?v=2zYF9JLHDmA", "output_options": {"output_directory": output_directory}, - # download the worst format so it is fast + "format": "worst[ext=mp4]", # download the worst format so it is fast "ytdl_options": { "postprocessor_args": {"ffmpeg": ["-bitexact"]}, # Must add this for reproducibility }, diff --git a/tests/resources/expected_downloads_summaries/plugins/file_convert/output.json b/tests/resources/expected_downloads_summaries/plugins/file_convert/output.json index 79904d0c..0dd8606d 100644 --- a/tests/resources/expected_downloads_summaries/plugins/file_convert/output.json +++ b/tests/resources/expected_downloads_summaries/plugins/file_convert/output.json @@ -1,6 +1,6 @@ { ".ytdl-sub-file_convert_test-download-archive.json": "f720289a704349fbe38ef5ed451af724", "file_convert_test/When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.jpg": "662fcaadf6e80d63591bac19a5fdffb0", - "file_convert_test/When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.mp4": "108a978cb528e4aa509b310ede85b11f", + "file_convert_test/When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.mp4": "21d860268f6a27f4ec65d8278ee7b229", "file_convert_test/When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.nfo": "752e6b6eea853c8a1f62faa4b841b292" } \ No newline at end of file diff --git a/tests/resources/expected_downloads_summaries/plugins/file_convert/output_custom_ffmpeg.json b/tests/resources/expected_downloads_summaries/plugins/file_convert/output_custom_ffmpeg.json index 2e40af6e..b2dadf23 100644 --- a/tests/resources/expected_downloads_summaries/plugins/file_convert/output_custom_ffmpeg.json +++ b/tests/resources/expected_downloads_summaries/plugins/file_convert/output_custom_ffmpeg.json @@ -1,6 +1,6 @@ { ".ytdl-sub-file_convert_test-download-archive.json": "8fa4bf42c9686f8520ce107e48b73215", "file_convert_test/When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.jpg": "662fcaadf6e80d63591bac19a5fdffb0", - "file_convert_test/When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.mkv": "8c7a8ed80f9bd73ace64b187ccea1448", + "file_convert_test/When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.mkv": "a624ee501e722c814d6dd7a999cd89b3", "file_convert_test/When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.nfo": "752e6b6eea853c8a1f62faa4b841b292" } \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/plugins/file_convert/output.txt b/tests/resources/transaction_log_summaries/plugins/file_convert/output.txt index ca2f3ae2..e5550820 100644 --- a/tests/resources/transaction_log_summaries/plugins/file_convert/output.txt +++ b/tests/resources/transaction_log_summaries/plugins/file_convert/output.txt @@ -5,7 +5,6 @@ Files created: {output_directory}/file_convert_test When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.jpg When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.mp4 - Converted from webm Video Tags: album: Music Videos artist: file_convert_test diff --git a/tests/resources/transaction_log_summaries/plugins/file_convert/output_custom_ffmpeg.txt b/tests/resources/transaction_log_summaries/plugins/file_convert/output_custom_ffmpeg.txt index f6ffd206..d42cf277 100644 --- a/tests/resources/transaction_log_summaries/plugins/file_convert/output_custom_ffmpeg.txt +++ b/tests/resources/transaction_log_summaries/plugins/file_convert/output_custom_ffmpeg.txt @@ -5,7 +5,7 @@ Files created: {output_directory}/file_convert_test When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.jpg When you hear Hugh Jackman is returning as Wolverine in Deadpool 3.mkv - Converted from webm + Converted from mp4 Video Tags: album: Music Videos artist: file_convert_test