diff --git a/tests/integration/cli/test_dl.py b/tests/integration/cli/test_dl.py index a2d58490..bd464581 100644 --- a/tests/integration/cli/test_dl.py +++ b/tests/integration/cli/test_dl.py @@ -20,6 +20,11 @@ def dl_subscription_dict(output_directory) -> Dict: "music_video_directory": output_directory, "url": "https://your.name.here", }, + "nfo_tags": { + "tags": { + "custom_tag": "{%array_at( ['hi', 'mom'], 1 )}" + } + } } diff --git a/tests/resources/expected_downloads_summaries/dl/test_cli_dl_command.json b/tests/resources/expected_downloads_summaries/dl/test_cli_dl_command.json index d2ad4ef9..ab305abf 100644 --- a/tests/resources/expected_downloads_summaries/dl/test_cli_dl_command.json +++ b/tests/resources/expected_downloads_summaries/dl/test_cli_dl_command.json @@ -3,17 +3,17 @@ "JMC/Mock Entry 20-1.info.json": "INFO_JSON", "JMC/Mock Entry 20-1.jpg": "e80c508c4818454300133fe1dc1a9cd7", "JMC/Mock Entry 20-1.mp4": "dbaeb2a3bfd1de1c7e9615e8bdacb910", - "JMC/Mock Entry 20-1.nfo": "fefcf0b3e4f4ff80ad636584d50dadec", + "JMC/Mock Entry 20-1.nfo": "5d001a105d2380844db181911d5df5c6", "JMC/Mock Entry 20-2.info.json": "INFO_JSON", "JMC/Mock Entry 20-2.jpg": "e80c508c4818454300133fe1dc1a9cd7", "JMC/Mock Entry 20-2.mp4": "76c2c70572489c684923a51cb1b50687", - "JMC/Mock Entry 20-2.nfo": "025c0b631da5ff5470382b38fce78d2d", + "JMC/Mock Entry 20-2.nfo": "dccdded1ca7ebb38d2c9a0e5130bea33", "JMC/Mock Entry 20-3.info.json": "INFO_JSON", "JMC/Mock Entry 20-3.jpg": "e80c508c4818454300133fe1dc1a9cd7", "JMC/Mock Entry 20-3.mp4": "7bb4f21d59a6fb91836537b27a24e776", - "JMC/Mock Entry 20-3.nfo": "618b0ff948d9de2e10cf1da8c0dd6615", + "JMC/Mock Entry 20-3.nfo": "7b1eab48693161e83c21203b1308b64e", "JMC/Mock Entry 21-1.info.json": "INFO_JSON", "JMC/Mock Entry 21-1.jpg": "e80c508c4818454300133fe1dc1a9cd7", "JMC/Mock Entry 21-1.mp4": "7b008531ca5660b51fb8adc83c799084", - "JMC/Mock Entry 21-1.nfo": "e5c715749efc1603a6e2f59244d87aba" + "JMC/Mock Entry 21-1.nfo": "3b4b0e6820f80370d6738ce828f14a89" } \ No newline at end of file diff --git a/tests/resources/expected_downloads_summaries/youtube/test_video_cli.json b/tests/resources/expected_downloads_summaries/youtube/test_video_cli.json deleted file mode 100644 index f4690775..00000000 --- a/tests/resources/expected_downloads_summaries/youtube/test_video_cli.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "JMC/Oblivion Mod "Falcor" p.1.info.json": "INFO_JSON", - "JMC/Oblivion Mod "Falcor" p.1.jpg": "fb95b510681676e81c321171fc23143e", - "JMC/Oblivion Mod "Falcor" p.1.mp4": "318faf3eb1d7666491553cdfd2a2e9fb", - "JMC/Oblivion Mod "Falcor" p.1.nfo": "58c2be339869b5d071c1758d55c72ddb" -} \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/dl/test_cli_dl_command.txt b/tests/resources/transaction_log_summaries/dl/test_cli_dl_command.txt index bb74a9cc..25b8112b 100644 --- a/tests/resources/transaction_log_summaries/dl/test_cli_dl_command.txt +++ b/tests/resources/transaction_log_summaries/dl/test_cli_dl_command.txt @@ -18,6 +18,7 @@ Files created: musicvideo: album: Music Videos artist: JMC + custom_tag: mom genre: ytdl-sub premiered: 2020-08-08 title: Mock Entry 20-1 @@ -36,6 +37,7 @@ Files created: musicvideo: album: Music Videos artist: JMC + custom_tag: mom genre: ytdl-sub premiered: 2020-08-08 title: Mock Entry 20-2 @@ -54,6 +56,7 @@ Files created: musicvideo: album: Music Videos artist: JMC + custom_tag: mom genre: ytdl-sub premiered: 2020-08-07 title: Mock Entry 20-3 @@ -72,6 +75,7 @@ Files created: musicvideo: album: Music Videos artist: JMC + custom_tag: mom genre: ytdl-sub premiered: 2021-08-08 title: Mock Entry 21-1 \ No newline at end of file diff --git a/tests/resources/transaction_log_summaries/youtube/test_video_cli.txt b/tests/resources/transaction_log_summaries/youtube/test_video_cli.txt deleted file mode 100644 index 97392956..00000000 --- a/tests/resources/transaction_log_summaries/youtube/test_video_cli.txt +++ /dev/null @@ -1,22 +0,0 @@ -Files created: ----------------------------------------- -{output_directory}/JMC - Oblivion Mod "Falcor" p.1.info.json - Oblivion Mod "Falcor" p.1.jpg - Oblivion Mod "Falcor" p.1.mp4 - Video Tags: - album: Music Videos - artist: JMC - genre: ytdl-sub - premiered: 2010-08-13 - title: Oblivion Mod "Falcor" p.1 - year: 2010 - Embedded thumbnail - Oblivion Mod "Falcor" p.1.nfo - NFO tags: - musicvideo: - album: Music Videos - artist: JMC - genre: ytdl-sub - premiered: 2010-08-13 - title: Oblivion Mod "Falcor" p.1 \ No newline at end of file