From 32eb55d760b889bf77a05f6f2fb4dc79b6173b9c Mon Sep 17 00:00:00 2001 From: pat-e Date: Fri, 5 Dec 2025 22:13:49 +0100 Subject: [PATCH] feat: Add HandBrakeCLI and ffmsindex to required tools and remove mkvpropedit. --- av1_opus_encoder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/av1_opus_encoder.py b/av1_opus_encoder.py index 4fdc5cb..c4ba52f 100644 --- a/av1_opus_encoder.py +++ b/av1_opus_encoder.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 import os +import argparse import sys import subprocess import shutil @@ -12,7 +13,7 @@ from pathlib import Path from typing import List, Optional, Dict, Any, Union REQUIRED_TOOLS = [ - "ffmpeg", "ffprobe", "mkvmerge", "mkvpropedit", + "ffmpeg", "ffprobe", "mkvmerge", "opusenc", "mediainfo", "av1an", "HandBrakeCLI", "ffmsindex" # Added HandBrakeCLI and ffmsindex ] DIR_COMPLETED = Path("completed") @@ -796,5 +797,4 @@ def main() -> None: process_file(file_path, args.no_downmix, args.autocrop) if __name__ == "__main__": - import argparse main()