This commit is contained in:
2026-01-17 02:36:06 -08:00
parent 3a7c443004
commit c6fd6b4224
9 changed files with 440 additions and 226 deletions

View File

@@ -344,7 +344,7 @@ class MPV:
def _q(s: str) -> str:
return '"' + s.replace("\\", "\\\\").replace('"', '\\"') + '"'
pipeline = f"download-file -url {_q(url)} -format {_q(fmt)}"
pipeline = f"download-file -url {_q(url)} -query {_q(f'format:{fmt}')}"
if store:
pipeline += f" | add-file -store {_q(store)}"
else: