mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-11-04 15:38:14 +02:00
Update ffmpeg requirement to include 'both' download mode in ConfigLoader
This commit is contained in:
1 parent
75d4d971dd
commit
4739e13af2
1 file changed
+1
-1
+1
-1
@@ -76,7 +76,7 @@ class ConfigLoader:
|
|||||||
self._check_binary(self.yt_dlp_path, "yt-dlp")
|
self._check_binary(self.yt_dlp_path, "yt-dlp")
|
||||||
self._check_binary(self.aria2c_path, "aria2c")
|
self._check_binary(self.aria2c_path, "aria2c")
|
||||||
# Only require ffmpeg if download_mode is audio
|
# Only require ffmpeg if download_mode is audio
|
||||||
if self.download_mode == "audio":
|
if self.download_mode == "audio" or self.download_mode == "both":
|
||||||
self._check_binary(self.ffmpeg_path, "ffmpeg")
|
self._check_binary(self.ffmpeg_path, "ffmpeg")
|
||||||
|
|
||||||
def _create_default_config(self):
|
def _create_default_config(self):
|
||||||
|
|||||||
Reference in new issue
Block a user