extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[Video Downloader] yt-dlp installation failure, unable to recognise brew & yt-dlp

Open zenfty opened this issue 1 year ago • 4 comments

Extension

https://www.raycast.com/vimtor/video-downloader

Raycast Version

1.93.2

macOS Version

15.3.1

Description

Image extension is unable to recognise yt-dlp being installed, and unable to recognise brew is installed as it fails instantly when trying to autoinstall yt-dlp

heres some terminal log stuff

 ~ % brew install yt-dlp
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://formulae.brew.sh/api/cask.jws.json
Warning: yt-dlp 2025.2.19 is already installed and up-to-date.
To reinstall 2025.2.19, run:
  brew reinstall yt-dlp
 ~ % which yt-dlp
/usr/local/bin/yt-dlp
 ~ % which brew      
/usr/local/bin/brew

Steps To Reproduce

open the extension literally

Current Behaviour

doesnt weork

Expected Behaviour

works

zenfty avatar Mar 08 '25 07:03 zenfty

Thank you for opening this issue!

🔔 @vimtor @darmiel @ridemountainpig @remorses @LitoMore @anwarulislam you might want to have a look.

💡 Author and Contributors commands

The author and contributors of vimtor/video-downloader can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

raycastbot avatar Mar 08 '25 07:03 raycastbot

See:

Please make sure your brew PATH is configured correctly in extension preferences.

LitoMore avatar Mar 08 '25 07:03 LitoMore

Closing.

LitoMore avatar Mar 11 '25 08:03 LitoMore

I can reproduce the same issue on the current extension source and a supported Intel macOS installation.

Environment:

  • macOS 15.7.8 (x86_64)
  • Raycast 1.104.25
  • Homebrew 6.0.18-25-g7f20cce
  • yt-dlp 2026.08.19
  • brew, yt-dlp, ffmpeg, and ffprobe are installed and executable at /usr/local/bin/...

The current main implementation still defaults the macOS paths to /opt/homebrew/bin/brew, /opt/homebrew/bin/yt-dlp, /opt/homebrew/bin/ffmpeg, and /opt/homebrew/bin/ffprobe, and does not try /usr/local/bin. On a standard Intel Homebrew installation this produces the false “yt-dlp is not installed” result; the built-in installer then also reports that Homebrew is missing.

Manually setting all four absolute paths in the extension preferences works after restarting Raycast, so this is a default-path detection bug rather than a missing dependency.

Could this issue be reopened? A small cross-architecture fix would be to use a shared resolver that: (1) honours an existing user-configured path, then (2) checks both /opt/homebrew/bin/<binary> and /usr/local/bin/<binary> with existsSync. The installer/updater should use the same resolver for brew. This supports standard Apple Silicon and Intel Homebrew layouts without relying on the GUI app shell PATH.

ragtimelab avatar Aug 23 '26 10:08 ragtimelab