From e7da61cc60ede5bf339a681b66830fd434be1986 Mon Sep 17 00:00:00 2001 From: jbannon Date: Mon, 15 Aug 2022 23:07:12 +0000 Subject: [PATCH] back to master --- tests/e2e/plugins/test_audio_extract.py | 6 ++---- .../plugins/test_audio_extract_single.txt | 10 +++++----- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/tests/e2e/plugins/test_audio_extract.py b/tests/e2e/plugins/test_audio_extract.py index 689f368d..c17bfc31 100644 --- a/tests/e2e/plugins/test_audio_extract.py +++ b/tests/e2e/plugins/test_audio_extract.py @@ -7,12 +7,10 @@ from ytdl_sub.subscriptions.subscription import Subscription @pytest.fixture -def single_song_preset_dict(output_directory, timestamps_file_path): +def single_song_preset_dict(output_directory): return { "preset": "yt_song", - "youtube": { - "video_url": "https://www.youtube.com/watch?v=gr0XWmEbiMQ", - }, + "youtube": {"video_url": "https://www.youtube.com/watch?v=2lAe1cqCOXo"}, "output_options": {"output_directory": output_directory}, # download the worst format so it is fast "ytdl_options": { 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 6ff96145..2ee2d4a4 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 @@ -1,11 +1,11 @@ Files created in '{output_directory}' ---------------------------------------- -Gabor Szabo - Dreams (1968) [full album].mp3 +YouTube Rewind 2019: For the Record | #YouTubeRewind.mp3 Music Tags: album: Singles - albumartist: Cubensis Records - artist: Cubensis Records + albumartist: YouTube + artist: YouTube genre: Unset - title: Gabor Szabo - Dreams (1968) [full album] + title: YouTube Rewind 2019: For the Record | #YouTubeRewind track: 1 - year: 2015 \ No newline at end of file + year: 2019 \ No newline at end of file