Skip to content

Commit

Permalink
- ffmpeg install for macOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
EchterAlsFake committed Dec 29, 2024
1 parent 4227a94 commit 60e3e67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2260,15 +2260,15 @@ def check_ffmpeg(self):
logger.debug(f"FFmpeg found at: {ffmpeg_path}")

def download_ffmpeg(self):
""" if sys.platform == "linux":
if sys.platform == "linux":
if not os.path.isfile("ffmpeg"):
self.downloader = FFMPEGDownload(url=url_linux, extract_path=".", mode="linux")

elif sys.platform == "win32":
if not os.path.isfile("ffmpeg.exe"):
self.downloader = FFMPEGDownload(url=url_windows, extract_path=".", mode="windows")
"""
if sys.platform == "linux":

elif sys.platform == "darwin":
if not os.path.isfile("ffmpeg"):
self.downloader = FFMPEGDownload(url=url_macOS, extract_path=".", mode="macOS")

Expand Down

0 comments on commit 60e3e67

Please sign in to comment.