Code Monkey home page Code Monkey logo

Comments (4)

section83 avatar section83 commented on July 26, 2024

Thanks for making contact. Sorry about the error. There is no need to create a folder called "yt-dlp". MacYTDL installs yt-dlp into "/usr/local/bin" if there is no Homebrew/MacPorts install.

In version 1.24 I tried to pick up Homebrew installs if they preceded MacYTDL. It was a bit tricky as Homebrew installs in different locations for ARM/Intel Macs. On ARM Macs, it uses "/opt/hombrew/bin"/.

Can you help with a few questions ?

  • Is there a file or alias/symlink called "yt-dlp" in "/usr/local/bin" ?
    • If so, is it a file or symlink/alias ?
    • If a symlink/alias, where is the original stored ?
  • Is there a file or alias/symlink called "yt-dlp" in "/opt/homebrew/bin" ?
    • If so, is it a file or symlink/alias ?
    • If a symlink/alias, where is the original stored ?

If you have something called "yt-dlp" inside "/usr/local/bin", please delete it. MacYTDL should then look for the Homebrew install.

If the Homebrew yt-dlp install worked, you should have a symlink in "/opt/hombrew/bin/. As an experiment, can you delete that symlink (or just move it to the Desktop) and try MacYTDL again ?

Can you advise why you installed yt-dlp with Homebrew ?

Many thanks again.

from macytdl.

leon-chen-wen-jia avatar leon-chen-wen-jia commented on July 26, 2024

Hello,

Unfortunately I cannot find the symlink/alias file in either /usr/local/bin or /opt/homebrew/bin, even after reinstalling yt-dlp using homebrew. There's no particular reason I installed using homebrew, it simply was the most convenient and yt-dlp has been working perfectly via terminal.

from macytdl.

section83 avatar section83 commented on July 26, 2024

I cannot find the symlink/alias file in either /usr/local/bin or /opt/homebrew/bin

That's odd. When I used Homebrew to install yt-dlp, a symlink was saved into /opt/homebrew/bin. Can you have a look in /opt/Homebrew/Cellar. It has to be somewhere.

Something to keep in mind with Homebrew is that it downloads, builds and installs all dependencies. So, with yt-dlp, you also get a full Python install. The yt-dlp_macos released on GitHub has everything built in. Also, you have to manually update using Homebrew. MacYTDL can check for and install updates to yt-dlp.

Thanks.

from macytdl.

section83 avatar section83 commented on July 26, 2024

I found the bug. Forgot to tell MacYTDL that yt-dlp is to be called from /opt/homebrew/bin if Homebrew install is present. A fix will be in the next release.

Don't know why you can't find it. I did an other clean Homebrew install of yt-dlp today and found a symlink in /opt/homebrew/bin and an executable in "/opt/homebrew/Cellar/yt-dlp/2023.3.4/libexec/bin/yt-dlp".

In the meantime, the only way for you to use MacYTDL is to remove the Homebrew install of yt-dlp. If that's inconvenient, you could look at other GUIs. One that I can recommend is Downie. It has a complex set of preferences but is solid, highly functional and actively developed. I think it's the best video downloader I've seen.

Many thanks for raising the issue.

from macytdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.