♻️ ffmpeg will be checked against the path in config.
This commit is contained in:
@@ -2,7 +2,6 @@ import glob
|
||||
import math
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
from pathlib import Path, PosixPath
|
||||
|
||||
from pathvalidate import sanitize_filename, sanitize_filepath
|
||||
@@ -244,10 +243,3 @@ def check_file_exists(path_file: str, extension_ignore: bool = False) -> bool:
|
||||
result = bool(sum([glob.glob(_file) for _file in path_files], []))
|
||||
|
||||
return result
|
||||
|
||||
|
||||
def is_installed_ffmpeg() -> bool:
|
||||
# Checks if ffmpeg is found in PATH.
|
||||
result: bool = bool(shutil.which("ffmpeg"))
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user