dfd
Some checks failed
smoke-mm / Install & smoke test mm --help (push) Has been cancelled

This commit is contained in:
2025-12-27 21:24:27 -08:00
parent fcdd507d00
commit 8288ea8c66
16 changed files with 530 additions and 339 deletions

14
CLI.py
View File

@@ -960,6 +960,8 @@ class CmdletExecutor:
"search_file": "Results",
"download-data": "Downloads",
"download_data": "Downloads",
"download-file": "Downloads",
"download_file": "Downloads",
"get-tag": "Tags",
"get_tag": "Tags",
"get-file": "Results",
@@ -1329,9 +1331,11 @@ class CmdletExecutor:
"search-file",
"download-data",
"download-media",
"download-file",
"search_file",
"download_data",
"download_media",
"download_file",
".config",
".worker",
}
@@ -2043,8 +2047,8 @@ class PipelineExecutor:
print("Auto-running Bandcamp selection via download-media")
stages.append(["download-media"])
elif table_type == "internetarchive":
print("Auto-loading Internet Archive item via download-data")
stages.append(["download-data"])
print("Auto-loading Internet Archive item via download-file")
stages.append(["download-file"])
elif table_type in {"soulseek", "openlibrary", "libgen"}:
print("Auto-piping selection to download-file")
stages.append(["download-file"])
@@ -2075,15 +2079,13 @@ class PipelineExecutor:
print("Auto-inserting download-media after Bandcamp selection")
stages.insert(0, ["download-media"])
if table_type == "internetarchive" and first_cmd not in (
"download-data",
"download_data",
"download-file",
"download-media",
"download_media",
".pipe",
):
debug("Auto-inserting download-data after Internet Archive selection")
stages.insert(0, ["download-data"])
debug("Auto-inserting download-file after Internet Archive selection")
stages.insert(0, ["download-file"])
if table_type == "libgen" and first_cmd not in (
"download-file",
"download-media",