ani-cli doesn't detect existing yt-dlp during install
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
- Install yt-dlp's binary as indicated in link above
- Install ani-cli from apt
- 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
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
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 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.