summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-06-06 21:57:08 +0200
committerRobert Honz <exislow+github@gmail.com>2024-06-06 21:57:08 +0200
commitc7e796061a87745979b8febe820065da432a1f18 (patch)
tree149ccd8f2d80959fa3b9f1109e15e4f5e17d5b86
parentc4435b5c8cb40527a52c3b28ef82c1af89e17710 (diff)
downloadtidal-dl-ng-c7e796061a87745979b8febe820065da432a1f18.tar.gz
🛠️ Correct FFmpeg path is being used. Fixes #117
-rw-r--r--tidal_dl_ng/download.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py
index b6e933f..3094f1c 100644
--- a/tidal_dl_ng/download.py
+++ b/tidal_dl_ng/download.py
@@ -471,7 +471,11 @@ class Download:
def _video_convert(self, path_file: str) -> str:
path_file_out = path_file + AudioExtensions.MP4
- result, _ = ffmpeg.input(path_file).output(path_file_out, map=0, c="copy", loglevel="quiet").run()
+ result, _ = (
+ ffmpeg.input(path_file)
+ .output(path_file_out, map=0, c="copy", loglevel="quiet")
+ .run(cmd=self.settings.data.path_binary_ffmpeg)
+ )
return path_file_out
@@ -482,7 +486,7 @@ class Download:
.output(
path_media_out, map=0, movflags="use_metadata_tags", acodec="copy", map_metadata="0:g", loglevel="quiet"
)
- .run()
+ .run(cmd=self.settings.data.path_binary_ffmpeg)
)
return path_media_out