feat: Add HandBrakeCLI and ffmsindex to required tools and remove mkvpropedit.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import os
|
import os
|
||||||
|
import argparse
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
import shutil
|
import shutil
|
||||||
@@ -12,7 +13,7 @@ from pathlib import Path
|
|||||||
from typing import List, Optional, Dict, Any, Union
|
from typing import List, Optional, Dict, Any, Union
|
||||||
|
|
||||||
REQUIRED_TOOLS = [
|
REQUIRED_TOOLS = [
|
||||||
"ffmpeg", "ffprobe", "mkvmerge", "mkvpropedit",
|
"ffmpeg", "ffprobe", "mkvmerge",
|
||||||
"opusenc", "mediainfo", "av1an", "HandBrakeCLI", "ffmsindex" # Added HandBrakeCLI and ffmsindex
|
"opusenc", "mediainfo", "av1an", "HandBrakeCLI", "ffmsindex" # Added HandBrakeCLI and ffmsindex
|
||||||
]
|
]
|
||||||
DIR_COMPLETED = Path("completed")
|
DIR_COMPLETED = Path("completed")
|
||||||
@@ -796,5 +797,4 @@ def main() -> None:
|
|||||||
process_file(file_path, args.no_downmix, args.autocrop)
|
process_file(file_path, args.no_downmix, args.autocrop)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import argparse
|
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user