From a53f63fbe9c8bbd6b46b9a631792a2a48d0d78e4 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 29 Mar 2024 11:16:46 +0100 Subject: ♻️ `ffmpeg` will be checked against the path in config. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/helper/path.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tidal_dl_ng/helper/path.py') diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py index e3ea837..64e2d68 100644 --- a/tidal_dl_ng/helper/path.py +++ b/tidal_dl_ng/helper/path.py @@ -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 -- cgit v1.3.1