diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-03-29 11:16:46 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-03-29 11:17:30 +0100 |
| commit | a53f63fbe9c8bbd6b46b9a631792a2a48d0d78e4 (patch) | |
| tree | dd82b979979022ed8a516ffb3ce9c3591db36415 /tidal_dl_ng/helper/path.py | |
| parent | 77ef9ef75ecd96efe888fcf1499e761f48aea330 (diff) | |
| download | tidal-dl-ng-a53f63fbe9c8bbd6b46b9a631792a2a48d0d78e4.tar.gz | |
♻️ `ffmpeg` will be checked against the path in config.
Diffstat (limited to 'tidal_dl_ng/helper/path.py')
| -rw-r--r-- | tidal_dl_ng/helper/path.py | 8 |
1 files changed, 0 insertions, 8 deletions
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 |
