(name: str)
| 259 | |
| 260 | |
| 261 | def _resolve_preset(name: str) -> dict: |
| 262 | if name not in QUALITY_PRESETS: |
| 263 | result_json(False, error=f"Unknown quality: {name}. Use: {', '.join(QUALITY_PRESETS)}") |
| 264 | sys.exit(1) |
| 265 | return QUALITY_PRESETS[name] |
| 266 | |
| 267 | |
| 268 | def _resume_hint(output: Path) -> str: |
no test coverage detected