summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/download.py
diff options
context:
space:
mode:
authorexislow <exislow@users.noreply.github.com>2024-11-06 10:04:24 +0100
committerGitHub <noreply@github.com>2024-11-06 10:04:24 +0100
commit41bf83d5dc758904fb66e7b5c1977b398c714aa1 (patch)
tree50b9edda259cc99b78142b06a4226f91a1dcd6b2 /tidal_dl_ng/download.py
parent5ff5167983b8cfd96fcd163f17d75a8f1517d1ff (diff)
parent5bd65a21bc6b44f04fbb237f373cf17d3061171c (diff)
downloadtidal-dl-ng-41bf83d5dc758904fb66e7b5c1977b398c714aa1.tar.gz
Merge pull request #211 from exislow/pr-fixes
Pr fixes
Diffstat (limited to 'tidal_dl_ng/download.py')
-rw-r--r--tidal_dl_ng/download.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py
index 90e1d75..d6b9e15 100644
--- a/tidal_dl_ng/download.py
+++ b/tidal_dl_ng/download.py
@@ -75,15 +75,14 @@ class Download:
if not self.settings.data.path_binary_ffmpeg and (
self.settings.data.video_convert_mp4 or self.settings.data.extract_flac
):
- self.settings.data.path_binary_ffmpeg = shutil.which("ffmpeg")
- if not self.settings.data.path_binary_ffmpeg:
- self.settings.data.video_convert_mp4 = False
- self.settings.data.extract_flac = False
+ self.settings.data.video_convert_mp4 = False
+ self.settings.data.extract_flac = False
- self.fn_logger.error(
- "FFmpeg is not set. Videos can be downloaded but will not be processed. FLAC cannot be extracted from MP4 containers. "
- "Make sure FFmpeg is installed. The path to the binary can be specified (`path_binary_ffmpeg`)."
- )
+ self.fn_logger.error(
+ "FFmpeg path is not set. Videos can be downloaded but will not be processed. FLAC cannot be "
+ "extracted from MP4 containers. Make sure FFmpeg is installed. The path to the FFmpeg binary must "
+ "be set in (`path_binary_ffmpeg`)."
+ )
def _download(
self,