• CerebralHawks@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    Nice, but that doesn’t work on my machine as of yet.

    It’s weird that the default archive utility we (Mac users) all use (The Unarchiver) can’t do .7z files, but if they’re downloaded through jdownloader2, they unzip just fine. The actual 7-Zip application is only available as a command line interface on Mac, whereas on Windows, as you probably know, it’s more like a file manager.

    One of these days I’ll get yt-dlp working on my Mac. Even being in the same folder as it, typing yt-dlp in the terminal doesn’t open it. That’s how it worked in DOS/Windows (or you had it in a folder you declared in PATH= in Autoexec.bat, back in the day), but Mac/UNIX terminal is something I have very little experience in. Comfortable with it, but inexperienced. So I suppose I have some reading to do. Especially if the subs work as well as you say.

    • Koarnine@pawb.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      Aye yeah that’s fair, in that case i’d recommend PeaZip, it’s what I use on my CachyOS setup since 7zip is just cli on Unix. PeaZip has a nice file manager UI.

      In terms of yt-dlp it really depends how you installed it…

      Assuming you’re in the folder where yt-dlp is:

      1. Make it executable

      chmod +x yt-dlp

      2. Run it directly from the current folder

      ./yt-dlp --version

      If that works, then the binary is fine and it’s just a PATH thing.

      I’d recommend just installing it through Homebrew personally, it will sort out the PATH for you automatically.

      install Homebrew if you don’t have it (from brew.sh)

      then:

      brew install yt-dlp

      yt-dlp --version

      Otherwise if you want to make the binary work (if you already have the file or want to download it manually)

      Open the folder in terminal and then

      move it somewhere on PATH

      sudo mv yt-dlp /usr/local/bin/yt-dlp

      make sure it’s executable

      sudo chmod a+rx /usr/local/bin/yt-dlp

      Now whichever way you choose, you should be able to just do:

      yt-dlp https://example.com/video --write-auto-subs

      Along with whatever other commands you want to use!