mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-07-03 12:34:00 +03:00
Update ffmpeg requirement to include 'both' download mode in ConfigLoader
This commit is contained in:
+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