ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

ani-cli doesn't detect existing yt-dlp during install

Open The-Pezman opened this issue 3 months ago • 2 comments

Make sure you are on the latest version by running ani-cli -U

Metadata (please complete the following information) Version: [e.g. 4.7.6, run ani-cli -V to find out] 4.10.0 OS: Ubuntu 25.04 Shell: [e.g. zsh, run readlink /bin/sh to get your shell] dash

Describe the bug I prefer to install yt-dlp from its release binary following these directions. This ensures I always have the latest version, as the apt version is almost always behind. (This is important as older versions often throw errors when I attempt to download YT videos.) I'd prefer ani-cli recognize this binary version and use it, rather than downloading a second, older version of yt-dlp through its apt package

Steps To Reproduce

  1. Install yt-dlp's binary as indicated in link above
  2. Install ani-cli from apt
  3. End up with two versions of yt-dlp, one of which is almost certainly outdated

Expected behavior ani-cli should detect the existing, newer version of ytl-dlp and rely on that, rather than downloading it again through apt

The-Pezman avatar Oct 28 '25 16:10 The-Pezman

ani-cli doesn’t do that. apt does that. ani-cli simply has yt-dlp as an optional dependency and apt is the one not detecting the binary and installing old yt-dlp.

You should probably take this up with Debian devs. First make sure your PATH environment variable includes wherever you put the release binary of yt-dlp then test before bringing up the issue

Lockl00p avatar Oct 29 '25 16:10 Lockl00p

An optional dependency? This means I could just skip the ani-cli apt download altogether? I don't even understand why ani-cli depends on yt-dlp at all, as it pulls videos from Allmanga, not YouTube.

The-Pezman avatar Oct 29 '25 17:10 The-Pezman

the apt package has yt-dlp listed as a convenience. You can also install ani-cli through github instructions and receive updates more frequently. Yt-dlp is a general purpose downloader for a variety of sites not just youtube. We use it for the download feature to work and it is not needed unless you explicitly pass the -d flag.

71zenith avatar Dec 19 '25 07:12 71zenith