diff --git a/examples/youtube_extract_and_tag_audio.yaml b/examples/youtube_extract_and_tag_audio.yaml index e6fa684f..223fcfb6 100644 --- a/examples/youtube_extract_and_tag_audio.yaml +++ b/examples/youtube_extract_and_tag_audio.yaml @@ -32,16 +32,13 @@ presets: custom_artist_name: "{artist}" custom_track_number: "1" -# TODO: make a playlist of individual songs into an album. Need playlist_title -# yt_album_as_playlist: -# preset: yt_song -# youtube: -# download_strategy: "playlist" -# -# music_tags: -# tags: -# album: "{playlist_title}" -# track: "{playlist_index}" + # TODO: make a playlist of individual songs into an album. Need playlist_title + yt_song_playlist: + preset: yt_song + youtube: + download_strategy: "playlist" + overrides: + custom_track_number: "{playlist_index}" yt_album_as_chapters: preset: "yt_song" diff --git a/tests/e2e/plugins/test_audio_extract.py b/tests/e2e/plugins/test_audio_extract.py index c3492cd3..3abc3542 100644 --- a/tests/e2e/plugins/test_audio_extract.py +++ b/tests/e2e/plugins/test_audio_extract.py @@ -1,4 +1,3 @@ -import mergedeep import pytest from e2e.expected_download import assert_expected_downloads from e2e.expected_transaction_log import assert_transaction_log_matches diff --git a/tests/e2e/resources/expected_downloads_summaries/plugins/test_audio_extract_single.json b/tests/e2e/resources/expected_downloads_summaries/plugins/test_audio_extract_single.json index 4ac1b8be..f6a639ae 100644 --- a/tests/e2e/resources/expected_downloads_summaries/plugins/test_audio_extract_single.json +++ b/tests/e2e/resources/expected_downloads_summaries/plugins/test_audio_extract_single.json @@ -1,3 +1,3 @@ { - "YouTube Rewind 2019: For the Record | #YouTubeRewind.mp3": "3a156b122bd79c956cce5079d3530cc3" + "YouTube Rewind 2019: For the Record | #YouTubeRewind.mp3": "3a156b122bd79c956cce5079d3530cc3" } \ 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 2ee2d4a4..3046395d 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,6 +1,6 @@ Files created in '{output_directory}' ---------------------------------------- -YouTube Rewind 2019: For the Record | #YouTubeRewind.mp3 +YouTube Rewind 2019: For the Record | #YouTubeRewind.mp3 Music Tags: album: Singles albumartist: YouTube