dfd
Some checks failed
smoke-mm / Install & smoke test mm --help (push) Has been cancelled
Some checks failed
smoke-mm / Install & smoke test mm --help (push) Has been cancelled
This commit is contained in:
14
CLI.py
14
CLI.py
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user