-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
[DEV] More OutputOption unit tests (#1082)
- 2025.02.21
- 2025.02.20
- 2025.02.17
- 2025.02.05
- 2025.01.28
- 2025.01.27
- 2025.01.17
- 2025.01.15
- 2024.12.27
- 2024.12.14
- 2024.12.08
- 2024.12.04
- 2024.11.26
- 2024.11.24
- 2024.11.18
- 2024.11.06
- 2024.11.05
- 2024.10.31
- 2024.10.27.post5
- 2024.10.27.post3
- 2024.10.27.post2
- 2024.10.26
- 2024.10.24.post1
- 2024.10.23
- 2024.10.09
- 2024.10.06
- 2024.10.05.post1
Showing
24 changed files
with
663 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
from typing import Dict | ||
from unittest.mock import patch | ||
|
||
import pytest | ||
from conftest import mock_run_from_cli | ||
from conftest import preset_dict_to_dl_args | ||
from expected_download import assert_expected_downloads | ||
from expected_transaction_log import assert_transaction_log_matches | ||
|
||
from ytdl_sub.cli.parsers.dl import DownloadArgsParser | ||
from ytdl_sub.utils.system import IS_WINDOWS | ||
|
||
|
||
@pytest.fixture | ||
def dl_subscription_dict(output_directory) -> Dict: | ||
return { | ||
"preset": "Jellyfin Music Videos", | ||
"overrides": { | ||
"music_video_artist": "JMC", | ||
"music_video_directory": output_directory, | ||
"url": "https://your.name.here", | ||
}, | ||
"nfo_tags": {"tags": {"custom_tag": "{%array_at( ['hi', 'mom'], 1 )}"}}, | ||
} | ||
|
||
|
||
class TestCliDl: | ||
@pytest.mark.parametrize("config_provided", [True, False]) | ||
@pytest.mark.parametrize("dry_run", [True, False]) | ||
def test_cli_dl_command( | ||
self, | ||
default_config_path: str, | ||
subscription_name: str, | ||
dl_subscription_dict: Dict, | ||
output_directory: str, | ||
mock_download_collection_entries, | ||
config_provided: bool, | ||
dry_run: bool, | ||
): | ||
# Skip this combo to save time and to avoid mocking working dir | ||
if not config_provided and not dry_run: | ||
return | ||
|
||
# TODO: Fix CLI parsing on windows when dealing with spaces | ||
if IS_WINDOWS: | ||
return | ||
|
||
args = "--dry-run " if dry_run else "" | ||
args += f"--config {default_config_path} " if config_provided else "" | ||
args += f"dl {preset_dict_to_dl_args(dl_subscription_dict)} " | ||
|
||
with ( | ||
patch.object(DownloadArgsParser, "get_dl_subscription_name") as mock_subscription_name, | ||
mock_download_collection_entries( | ||
is_youtube_channel=False, | ||
num_urls=1, | ||
is_extracted_audio=False, | ||
is_dry_run=dry_run, | ||
), | ||
): | ||
mock_subscription_name.return_value = subscription_name | ||
subscriptions = mock_run_from_cli(args=args) | ||
|
||
assert_transaction_log_matches( | ||
output_directory=output_directory, | ||
transaction_log=subscriptions[0].transaction_log, | ||
transaction_log_summary_file_name="dl/test_cli_dl_command.txt", | ||
) | ||
assert_expected_downloads( | ||
output_directory=output_directory, | ||
dry_run=dry_run, | ||
expected_download_summary_file_name="dl/test_cli_dl_command.json", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
tests/resources/expected_downloads_summaries/dl/test_cli_dl_command.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
".ytdl-sub-subscription_test-download-archive.json": "76e202bd03ceef93daaffffee2cfa193", | ||
"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": "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": "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": "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": "3b4b0e6820f80370d6738ce828f14a89" | ||
} |
20 changes: 20 additions & 0 deletions
20
tests/resources/expected_downloads_summaries/plugins/output_options/post_migration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
".ytdl-sub-JMC-migrated-download-archive.json": "456d8882fc5e35d74f19b386d1d9a059", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3.info.json": "INFO_JSON", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3.mp4": "7d2ee7fe8003ea63ece37dd2a441c123", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3.nfo": "dbe61f2c8ae41041773f713ba5376726", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2.info.json": "INFO_JSON", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2.mp4": "699017cd1b67ae216eda769bef413415", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2.nfo": "0f071078c9fa2569bbcb998664d40681", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1.info.json": "INFO_JSON", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1.mp4": "a16741d4fbf657d1de4c50493db14062", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1.nfo": "837a61dca11bbe1874ea07cb8ef8a7c9", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1.info.json": "INFO_JSON", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1.mp4": "7433153952b069a5674e2a3ed529b49b", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1.nfo": "8ee3845c514a411425b7e9198666b61c", | ||
"tvshow.nfo": "cccca1086b41af04d8ea004b1aa250e8" | ||
} |
20 changes: 20 additions & 0 deletions
20
tests/resources/expected_downloads_summaries/plugins/output_options/pre_migration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
".ytdl-sub-subscription_test-download-archive.json": "456d8882fc5e35d74f19b386d1d9a059", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3.info.json": "INFO_JSON", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3.mp4": "7d2ee7fe8003ea63ece37dd2a441c123", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3.nfo": "dbe61f2c8ae41041773f713ba5376726", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2.info.json": "INFO_JSON", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2.mp4": "699017cd1b67ae216eda769bef413415", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2.nfo": "0f071078c9fa2569bbcb998664d40681", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1.info.json": "INFO_JSON", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1.mp4": "a16741d4fbf657d1de4c50493db14062", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1.nfo": "837a61dca11bbe1874ea07cb8ef8a7c9", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1-thumb.jpg": "e80c508c4818454300133fe1dc1a9cd7", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1.info.json": "INFO_JSON", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1.mp4": "7433153952b069a5674e2a3ed529b49b", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1.nfo": "8ee3845c514a411425b7e9198666b61c", | ||
"tvshow.nfo": "cccca1086b41af04d8ea004b1aa250e8" | ||
} |
16 changes: 16 additions & 0 deletions
16
tests/resources/expected_downloads_summaries/plugins/output_options/test_missing_thumb.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
".ytdl-sub-subscription_test-download-archive.json": "e049068ba7f5bdc27c474b18f4c6b402", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3.info.json": "INFO_JSON", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3.mp4": "7d2ee7fe8003ea63ece37dd2a441c123", | ||
"Season 2020/s2020.e000001 - Mock Entry 20-3.nfo": "dbe61f2c8ae41041773f713ba5376726", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2.info.json": "INFO_JSON", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2.mp4": "699017cd1b67ae216eda769bef413415", | ||
"Season 2020/s2020.e000002 - Mock Entry 20-2.nfo": "0f071078c9fa2569bbcb998664d40681", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1.info.json": "INFO_JSON", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1.mp4": "a16741d4fbf657d1de4c50493db14062", | ||
"Season 2020/s2020.e000003 - Mock Entry 20-1.nfo": "837a61dca11bbe1874ea07cb8ef8a7c9", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1.info.json": "INFO_JSON", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1.mp4": "7433153952b069a5674e2a3ed529b49b", | ||
"Season 2021/s2021.e000004 - Mock Entry 21-1.nfo": "8ee3845c514a411425b7e9198666b61c", | ||
"tvshow.nfo": "cccca1086b41af04d8ea004b1aa250e8" | ||
} |
19 changes: 0 additions & 19 deletions
19
tests/resources/expected_downloads_summaries/youtube/test_playlist_archive_migrated.json
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/resources/expected_downloads_summaries/youtube/test_video_cli.json
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
tests/resources/expected_downloads_summaries/youtube/test_video_missing_thumb.json
This file was deleted.
Oops, something went wrong.
81 changes: 81 additions & 0 deletions
81
tests/resources/transaction_log_summaries/dl/test_cli_dl_command.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
Files created: | ||
---------------------------------------- | ||
{output_directory} | ||
.ytdl-sub-subscription_test-download-archive.json | ||
{output_directory}/JMC | ||
Mock Entry 20-1.info.json | ||
Mock Entry 20-1.jpg | ||
Mock Entry 20-1.mp4 | ||
Video Tags: | ||
album: Music Videos | ||
artist: JMC | ||
genre: ytdl-sub | ||
premiered: 2020-08-08 | ||
title: Mock Entry 20-1 | ||
year: 2020 | ||
Mock Entry 20-1.nfo | ||
NFO tags: | ||
musicvideo: | ||
album: Music Videos | ||
artist: JMC | ||
custom_tag: mom | ||
genre: ytdl-sub | ||
premiered: 2020-08-08 | ||
title: Mock Entry 20-1 | ||
Mock Entry 20-2.info.json | ||
Mock Entry 20-2.jpg | ||
Mock Entry 20-2.mp4 | ||
Video Tags: | ||
album: Music Videos | ||
artist: JMC | ||
genre: ytdl-sub | ||
premiered: 2020-08-08 | ||
title: Mock Entry 20-2 | ||
year: 2020 | ||
Mock Entry 20-2.nfo | ||
NFO tags: | ||
musicvideo: | ||
album: Music Videos | ||
artist: JMC | ||
custom_tag: mom | ||
genre: ytdl-sub | ||
premiered: 2020-08-08 | ||
title: Mock Entry 20-2 | ||
Mock Entry 20-3.info.json | ||
Mock Entry 20-3.jpg | ||
Mock Entry 20-3.mp4 | ||
Video Tags: | ||
album: Music Videos | ||
artist: JMC | ||
genre: ytdl-sub | ||
premiered: 2020-08-07 | ||
title: Mock Entry 20-3 | ||
year: 2020 | ||
Mock Entry 20-3.nfo | ||
NFO tags: | ||
musicvideo: | ||
album: Music Videos | ||
artist: JMC | ||
custom_tag: mom | ||
genre: ytdl-sub | ||
premiered: 2020-08-07 | ||
title: Mock Entry 20-3 | ||
Mock Entry 21-1.info.json | ||
Mock Entry 21-1.jpg | ||
Mock Entry 21-1.mp4 | ||
Video Tags: | ||
album: Music Videos | ||
artist: JMC | ||
genre: ytdl-sub | ||
premiered: 2021-08-08 | ||
title: Mock Entry 21-1 | ||
year: 2021 | ||
Mock Entry 21-1.nfo | ||
NFO tags: | ||
musicvideo: | ||
album: Music Videos | ||
artist: JMC | ||
custom_tag: mom | ||
genre: ytdl-sub | ||
premiered: 2021-08-08 | ||
title: Mock Entry 21-1 |
4 changes: 2 additions & 2 deletions
4
...outube/test_playlist_archive_migrated.txt → ...plugins/output_options/post_migration.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Files created: | ||
---------------------------------------- | ||
{output_directory} | ||
.ytdl-sub-JMC-download-archive.json | ||
.ytdl-sub-JMC-migrated-download-archive.json | ||
|
||
Files removed: | ||
---------------------------------------- | ||
{output_directory} | ||
.ytdl-sub-music_video_playlist_test-download-archive.json | ||
.ytdl-sub-subscription_test-download-archive.json |
128 changes: 128 additions & 0 deletions
128
tests/resources/transaction_log_summaries/plugins/output_options/pre_migration.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
Files created: | ||
---------------------------------------- | ||
{output_directory} | ||
.ytdl-sub-subscription_test-download-archive.json | ||
tvshow.nfo | ||
NFO tags: | ||
tvshow: | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
title: JMC | ||
{output_directory}/Season 2020 | ||
s2020.e000001 - Mock Entry 20-3-thumb.jpg | ||
s2020.e000001 - Mock Entry 20-3.info.json | ||
s2020.e000001 - Mock Entry 20-3.mp4 | ||
Video Tags: | ||
contentRating: TV-14 | ||
date: 2020-08-07 | ||
episode_id: 1 | ||
genre: ytdl-sub | ||
show: JMC | ||
synopsis: | ||
https://20-3.com | ||
|
||
The Description | ||
title: 2020-08-07 - Mock Entry 20-3 | ||
year: 2020 | ||
s2020.e000001 - Mock Entry 20-3.nfo | ||
NFO tags: | ||
episodedetails: | ||
aired: 2020-08-07 | ||
episode: 1 | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
plot: | ||
https://20-3.com | ||
|
||
The Description | ||
season: 2020 | ||
title: 2020-08-07 - Mock Entry 20-3 | ||
year: 2020 | ||
s2020.e000002 - Mock Entry 20-2-thumb.jpg | ||
s2020.e000002 - Mock Entry 20-2.info.json | ||
s2020.e000002 - Mock Entry 20-2.mp4 | ||
Video Tags: | ||
contentRating: TV-14 | ||
date: 2020-08-08 | ||
episode_id: 2 | ||
genre: ytdl-sub | ||
show: JMC | ||
synopsis: | ||
https://20-2.com | ||
|
||
The Description | ||
title: 2020-08-08 - Mock Entry 20-2 | ||
year: 2020 | ||
s2020.e000002 - Mock Entry 20-2.nfo | ||
NFO tags: | ||
episodedetails: | ||
aired: 2020-08-08 | ||
episode: 2 | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
plot: | ||
https://20-2.com | ||
|
||
The Description | ||
season: 2020 | ||
title: 2020-08-08 - Mock Entry 20-2 | ||
year: 2020 | ||
s2020.e000003 - Mock Entry 20-1-thumb.jpg | ||
s2020.e000003 - Mock Entry 20-1.info.json | ||
s2020.e000003 - Mock Entry 20-1.mp4 | ||
Video Tags: | ||
contentRating: TV-14 | ||
date: 2020-08-08 | ||
episode_id: 3 | ||
genre: ytdl-sub | ||
show: JMC | ||
synopsis: | ||
https://20-1.com | ||
|
||
The Description | ||
title: 2020-08-08 - Mock Entry 20-1 | ||
year: 2020 | ||
s2020.e000003 - Mock Entry 20-1.nfo | ||
NFO tags: | ||
episodedetails: | ||
aired: 2020-08-08 | ||
episode: 3 | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
plot: | ||
https://20-1.com | ||
|
||
The Description | ||
season: 2020 | ||
title: 2020-08-08 - Mock Entry 20-1 | ||
year: 2020 | ||
{output_directory}/Season 2021 | ||
s2021.e000004 - Mock Entry 21-1-thumb.jpg | ||
s2021.e000004 - Mock Entry 21-1.info.json | ||
s2021.e000004 - Mock Entry 21-1.mp4 | ||
Video Tags: | ||
contentRating: TV-14 | ||
date: 2021-08-08 | ||
episode_id: 4 | ||
genre: ytdl-sub | ||
show: JMC | ||
synopsis: | ||
https://21-1.com | ||
|
||
The Description | ||
title: 2021-08-08 - Mock Entry 21-1 | ||
year: 2021 | ||
s2021.e000004 - Mock Entry 21-1.nfo | ||
NFO tags: | ||
episodedetails: | ||
aired: 2021-08-08 | ||
episode: 4 | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
plot: | ||
https://21-1.com | ||
|
||
The Description | ||
season: 2021 | ||
title: 2021-08-08 - Mock Entry 21-1 | ||
year: 2021 |
124 changes: 124 additions & 0 deletions
124
tests/resources/transaction_log_summaries/plugins/output_options/test_missing_thumb.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
Files created: | ||
---------------------------------------- | ||
{output_directory} | ||
.ytdl-sub-subscription_test-download-archive.json | ||
tvshow.nfo | ||
NFO tags: | ||
tvshow: | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
title: JMC | ||
{output_directory}/Season 2020 | ||
s2020.e000001 - Mock Entry 20-3.info.json | ||
s2020.e000001 - Mock Entry 20-3.mp4 | ||
Video Tags: | ||
contentRating: TV-14 | ||
date: 2020-08-07 | ||
episode_id: 1 | ||
genre: ytdl-sub | ||
show: JMC | ||
synopsis: | ||
https://20-3.com | ||
|
||
The Description | ||
title: 2020-08-07 - Mock Entry 20-3 | ||
year: 2020 | ||
s2020.e000001 - Mock Entry 20-3.nfo | ||
NFO tags: | ||
episodedetails: | ||
aired: 2020-08-07 | ||
episode: 1 | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
plot: | ||
https://20-3.com | ||
|
||
The Description | ||
season: 2020 | ||
title: 2020-08-07 - Mock Entry 20-3 | ||
year: 2020 | ||
s2020.e000002 - Mock Entry 20-2.info.json | ||
s2020.e000002 - Mock Entry 20-2.mp4 | ||
Video Tags: | ||
contentRating: TV-14 | ||
date: 2020-08-08 | ||
episode_id: 2 | ||
genre: ytdl-sub | ||
show: JMC | ||
synopsis: | ||
https://20-2.com | ||
|
||
The Description | ||
title: 2020-08-08 - Mock Entry 20-2 | ||
year: 2020 | ||
s2020.e000002 - Mock Entry 20-2.nfo | ||
NFO tags: | ||
episodedetails: | ||
aired: 2020-08-08 | ||
episode: 2 | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
plot: | ||
https://20-2.com | ||
|
||
The Description | ||
season: 2020 | ||
title: 2020-08-08 - Mock Entry 20-2 | ||
year: 2020 | ||
s2020.e000003 - Mock Entry 20-1.info.json | ||
s2020.e000003 - Mock Entry 20-1.mp4 | ||
Video Tags: | ||
contentRating: TV-14 | ||
date: 2020-08-08 | ||
episode_id: 3 | ||
genre: ytdl-sub | ||
show: JMC | ||
synopsis: | ||
https://20-1.com | ||
|
||
The Description | ||
title: 2020-08-08 - Mock Entry 20-1 | ||
year: 2020 | ||
s2020.e000003 - Mock Entry 20-1.nfo | ||
NFO tags: | ||
episodedetails: | ||
aired: 2020-08-08 | ||
episode: 3 | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
plot: | ||
https://20-1.com | ||
|
||
The Description | ||
season: 2020 | ||
title: 2020-08-08 - Mock Entry 20-1 | ||
year: 2020 | ||
{output_directory}/Season 2021 | ||
s2021.e000004 - Mock Entry 21-1.info.json | ||
s2021.e000004 - Mock Entry 21-1.mp4 | ||
Video Tags: | ||
contentRating: TV-14 | ||
date: 2021-08-08 | ||
episode_id: 4 | ||
genre: ytdl-sub | ||
show: JMC | ||
synopsis: | ||
https://21-1.com | ||
|
||
The Description | ||
title: 2021-08-08 - Mock Entry 21-1 | ||
year: 2021 | ||
s2021.e000004 - Mock Entry 21-1.nfo | ||
NFO tags: | ||
episodedetails: | ||
aired: 2021-08-08 | ||
episode: 4 | ||
genre: ytdl-sub | ||
mpaa: TV-14 | ||
plot: | ||
https://21-1.com | ||
|
||
The Description | ||
season: 2021 | ||
title: 2021-08-08 - Mock Entry 21-1 | ||
year: 2021 |
22 changes: 0 additions & 22 deletions
22
tests/resources/transaction_log_summaries/youtube/test_video_cli.txt
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
tests/resources/transaction_log_summaries/youtube/test_video_missing_thumb.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters