From 6b8fb9b4407d9a3239f5debaf37c424b3829c1ba Mon Sep 17 00:00:00 2001 From: jbannon Date: Tue, 5 Jul 2022 18:02:21 +0000 Subject: [PATCH] updated txt files w/indents --- tests/e2e/expected_transaction_log.py | 2 +- .../test_soundcloud_discography.txt | 170 +++++++++--------- .../youtube/test_channel_full.txt | 2 +- .../test_channel_no_additional_downloads.txt | 6 +- .../youtube/test_channel_recent.txt | 76 ++++---- .../youtube/test_merge_playlist.txt | 18 +- .../youtube/test_playlist.txt | 32 ++-- .../youtube/test_split_video.txt | 62 +++---- .../youtube/test_video.txt | 12 +- 9 files changed, 190 insertions(+), 190 deletions(-) diff --git a/tests/e2e/expected_transaction_log.py b/tests/e2e/expected_transaction_log.py index 8a237c34..2c386401 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/resources/transaction_log_summaries/soundcloud/test_soundcloud_discography.txt b/tests/e2e/resources/transaction_log_summaries/soundcloud/test_soundcloud_discography.txt index 960e0999..ef7814e2 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 @@ -1,4 +1,4 @@ -Files created in '{output_directory}' +Files created in '/tmp/tmpw98_9etl' ---------------------------------------- .ytdl-sub-jb-download-archive.json j_b/[2021] Baby Santana's Dorian Groove/01 - Baby Santana's Dorian Groove.mp3 @@ -13,111 +13,111 @@ j_b/[2021] Baby Santana's Dorian Groove/01 - Baby Santana's Dorian Groove.mp3 j_b/[2021] Baby Santana's Dorian Groove/folder.jpg j_b/[2021] Purple Clouds/01 - Purple Clouds.mp3 Music Tags: - album: Purple Clouds - albumartist: j_b - artist: j_b - genre: Unset - title: Purple Clouds - track: 1 - year: 2021 + album: Purple Clouds + albumartist: j_b + artist: j_b + genre: Unset + title: Purple Clouds + track: 1 + year: 2021 j_b/[2021] Purple Clouds/folder.jpg j_b/[2022] Acoustic Treats/01 - 20160426 184214.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: 20160426 184214 - track: 1 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: 20160426 184214 + track: 1 + year: 2022 j_b/[2022] Acoustic Treats/02 - 20160502 123150.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: 20160502 123150 - track: 2 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: 20160502 123150 + track: 2 + year: 2022 j_b/[2022] Acoustic Treats/03 - 20160504 143832.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: 20160504 143832 - track: 3 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: 20160504 143832 + track: 3 + year: 2022 j_b/[2022] Acoustic Treats/04 - 20160601 221234.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: 20160601 221234 - track: 4 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: 20160601 221234 + track: 4 + year: 2022 j_b/[2022] Acoustic Treats/05 - 20160601 222440.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: 20160601 222440 - track: 5 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: 20160601 222440 + track: 5 + year: 2022 j_b/[2022] Acoustic Treats/06 - 20170604 190236.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: 20170604 190236 - track: 6 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: 20170604 190236 + track: 6 + year: 2022 j_b/[2022] Acoustic Treats/07 - 20170612 193646.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: 20170612 193646 - track: 7 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: 20170612 193646 + track: 7 + year: 2022 j_b/[2022] Acoustic Treats/08 - 20170628 215206.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: 20170628 215206 - track: 8 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: 20170628 215206 + track: 8 + year: 2022 j_b/[2022] Acoustic Treats/09 - Finding Home.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: Finding Home - track: 9 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: Finding Home + track: 9 + year: 2022 j_b/[2022] Acoustic Treats/10 - Shallow Water WIP.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: Shallow Water WIP - track: 10 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: Shallow Water WIP + track: 10 + year: 2022 j_b/[2022] Acoustic Treats/11 - Untold History.mp3 Music Tags: - album: Acoustic Treats - albumartist: j_b - artist: j_b - genre: Unset - title: Untold History - track: 11 - year: 2022 + album: Acoustic Treats + albumartist: j_b + artist: j_b + genre: Unset + title: Untold History + 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 303e8874..e3586c11 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 @@ -1,4 +1,4 @@ -Files created in '{output_directory}' +Files created in '/tmp/tmps8izxi_f' ---------------------------------------- .ytdl-sub-pz-download-archive.json Season 2010/s2010.e0813 - Oblivion Mod 'Falcor' p.1-thumb.jpg diff --git a/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_no_additional_downloads.txt b/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_no_additional_downloads.txt index 85a50b66..6c30430d 100644 --- a/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_no_additional_downloads.txt +++ b/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_no_additional_downloads.txt @@ -1,9 +1,9 @@ -Files created in '{output_directory}' +Files created in '/tmp/tmptwnuinwm' ---------------------------------------- .ytdl-sub-pz-download-archive.json fanart.jpg poster.jpg tvshow.nfo NFO tags: - tvshow: - title: Project / Zombie \ No newline at end of file + tvshow: + title: Project / Zombie \ No newline at end of file diff --git a/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_recent.txt b/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_recent.txt index cfdc69db..bcc54f2b 100644 --- a/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_recent.txt +++ b/tests/e2e/resources/transaction_log_summaries/youtube/test_channel_recent.txt @@ -1,52 +1,52 @@ -Files created in '{output_directory}' +Files created in '/tmp/tmprvao2i5r' ---------------------------------------- .ytdl-sub-pz-download-archive.json Season 2018/s2018.e1029 - Jesse's Minecraft Server _ Teaser Trailer-thumb.jpg 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 - 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. - - Credits: - ALISON - Space Echo - https://www.youtube.com/watch?v=lPldcjlv3_Y - season: 2018 - title: Jesse's Minecraft Server | Teaser Trailer - year: 2018 + episodedetails: + 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. + + Credits: + ALISON - Space Echo + https://www.youtube.com/watch?v=lPldcjlv3_Y + season: 2018 + title: Jesse's Minecraft Server | Teaser Trailer + 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.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 - title: Jesse's Minecraft Server | IP mc.jesse.id - year: 2018 + 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 + title: Jesse's Minecraft Server | IP mc.jesse.id + year: 2018 fanart.jpg poster.jpg tvshow.nfo NFO tags: - tvshow: - title: Project / Zombie \ No newline at end of file + tvshow: + title: Project / Zombie \ No newline at end of file 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 b4e85111..bc3970f3 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 @@ -1,15 +1,15 @@ -Files created in '{output_directory}' +Files created in '/tmp/tmpjr9rb2hf' ---------------------------------------- JMC - Jesse's Minecraft Server-thumb.jpg JMC - Jesse's Minecraft Server.mkv Timestamps of playlist videos in the merged file: - 0:00: Jesse's Minecraft Server [Trailer - Feb.1] - 5:23: Jesse's Minecraft Server [Trailer - Feb.27] - 9:23: Jesse's Minecraft Server [Trailer - Mar.21] + 0:00: Jesse's Minecraft Server [Trailer - Feb.1] + 5:23: Jesse's Minecraft Server [Trailer - Feb.27] + 9:23: Jesse's Minecraft Server [Trailer - Mar.21] 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 + musicvideo: + album: Music Videos + artist: JMC + title: Jesse's Minecraft Server + 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 fdb29eb7..e1ebd3b6 100644 --- a/tests/e2e/resources/transaction_log_summaries/youtube/test_playlist.txt +++ b/tests/e2e/resources/transaction_log_summaries/youtube/test_playlist.txt @@ -1,30 +1,30 @@ -Files created in '{output_directory}' +Files created in '/tmp/tmpty4f_r8j' ---------------------------------------- .ytdl-sub-jmc-download-archive.json JMC - Jesse's Minecraft Server [Trailer - Feb.1]-thumb.jpg JMC - Jesse's Minecraft Server [Trailer - Feb.1].mp4 JMC - Jesse's Minecraft Server [Trailer - Feb.1].nfo NFO tags: - musicvideo: - album: Music Videos - artist: JMC - title: Jesse's Minecraft Server [Trailer - Feb.1] - year: 2011 + musicvideo: + album: Music Videos + artist: JMC + title: Jesse's Minecraft Server [Trailer - Feb.1] + year: 2011 JMC - Jesse's Minecraft Server [Trailer - Feb.27]-thumb.jpg JMC - Jesse's Minecraft Server [Trailer - Feb.27].mp4 JMC - Jesse's Minecraft Server [Trailer - Feb.27].nfo NFO tags: - musicvideo: - album: Music Videos - artist: JMC - title: Jesse's Minecraft Server [Trailer - Feb.27] - year: 2011 + musicvideo: + album: Music Videos + artist: JMC + title: Jesse's Minecraft Server [Trailer - Feb.27] + year: 2011 JMC - Jesse's Minecraft Server [Trailer - Mar.21]-thumb.jpg JMC - Jesse's Minecraft Server [Trailer - Mar.21].mp4 JMC - Jesse's Minecraft Server [Trailer - Mar.21].nfo NFO tags: - musicvideo: - album: Music Videos - artist: JMC - title: Jesse's Minecraft Server [Trailer - Mar.21] - year: 2011 \ No newline at end of file + musicvideo: + album: Music Videos + artist: JMC + title: Jesse's Minecraft Server [Trailer - Mar.21] + year: 2011 \ No newline at end of file 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 d51d0699..a3e6e10b 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 @@ -1,4 +1,4 @@ -Files created in '{output_directory}' +Files created in '/tmp/tmpjhb4fhk6' ---------------------------------------- Project Zombie - 1-6.Intro.mp4 0:00 - 0:10 @@ -15,48 +15,48 @@ Project Zombie - 6-6.Part 5.mp4 Project Zombie - Intro-thumb.jpg Project Zombie - Intro.nfo NFO tags: - musicvideo: - album: Music Videos - artist: Project Zombie - title: Intro - year: 2010 + musicvideo: + album: Music Videos + artist: Project Zombie + title: Intro + year: 2010 Project Zombie - Part 1-thumb.jpg Project Zombie - Part 1.nfo NFO tags: - musicvideo: - album: Music Videos - artist: Project Zombie - title: Part 1 - year: 2010 + musicvideo: + album: Music Videos + artist: Project Zombie + title: Part 1 + year: 2010 Project Zombie - Part 2-thumb.jpg Project Zombie - Part 2.nfo NFO tags: - musicvideo: - album: Music Videos - artist: Project Zombie - title: Part 2 - year: 2010 + musicvideo: + album: Music Videos + artist: Project Zombie + title: Part 2 + year: 2010 Project Zombie - Part 3-thumb.jpg Project Zombie - Part 3.nfo NFO tags: - musicvideo: - album: Music Videos - artist: Project Zombie - title: Part 3 - year: 2010 + musicvideo: + album: Music Videos + artist: Project Zombie + title: Part 3 + year: 2010 Project Zombie - Part 4-thumb.jpg Project Zombie - Part 4.nfo NFO tags: - musicvideo: - album: Music Videos - artist: Project Zombie - title: Part 4 - year: 2010 + musicvideo: + album: Music Videos + artist: Project Zombie + title: Part 4 + year: 2010 Project Zombie - Part 5-thumb.jpg Project Zombie - Part 5.nfo NFO tags: - musicvideo: - album: Music Videos - artist: Project Zombie - title: Part 5 - year: 2010 \ No newline at end of file + musicvideo: + album: Music Videos + artist: Project Zombie + title: Part 5 + 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 d7fbab02..f761764e 100644 --- a/tests/e2e/resources/transaction_log_summaries/youtube/test_video.txt +++ b/tests/e2e/resources/transaction_log_summaries/youtube/test_video.txt @@ -1,11 +1,11 @@ -Files created in '{output_directory}' +Files created in '/tmp/tmptz1msudg' ---------------------------------------- JMC - Oblivion Mod 'Falcor' p.1-thumb.jpg JMC - Oblivion Mod 'Falcor' p.1.mp4 JMC - Oblivion Mod 'Falcor' p.1.nfo NFO tags: - musicvideo: - album: Music Videos - artist: JMC - title: Oblivion Mod "Falcor" p.1 - year: 2010 \ No newline at end of file + musicvideo: + album: Music Videos + artist: JMC + title: Oblivion Mod "Falcor" p.1 + year: 2010 \ No newline at end of file