


















@lmartinez-mirror
Thanks for you answer. Fair enought. Since you're the owner of this PKGBUILD I must accept your choices. But allow me to insist, it is a choice, not a necessity.
... because a youtube-dl is required...
... but it needs to provide youtube-dl first....
This is not true. It does not need "to provide youtube-dl first". What is required is a "downloader. Either "youtube-dl" or "yt-dlp". Period. Both should be not mandatory. Period
Did you actually read the developer answer, https://github.com/darkhz/invidtui/issues/4 ?
....I will add yt-dlp as a switchback in the upcoming release so that the command-line option or the config file entry will not be necessary.
Neither, flag, neither config file, neither "extra" yt-dl-drop-in thingy. Nothing. If you have yt-dlp already installed on your system, invidtui, just, simply works. Period.
Here is a summary of all the options, as I see it:
You choose to have this PKGBUILD with "youtube-dl" as a mandatory dependency then :
The problem is solved for everyone. Nobody is forced to install nothing he doesnt want. Users should be aware that they, aftwewards, need to manually install either youtube-dl or yt-dlp.
The PKGBUILD probes if you have either youtube-dl or yt-dlp already installed.
Case 1: You have youtube-dl already on the system. Done. Case 2: You have yt-dlp already on the system. Done. It doesnt force you to install nothing additionally. Case 3: You have neither youtube-dl or yt-dlp. The PKGBUILD prompts to choose one, and only one of those two.
Sorry if this comment sounds to picky. It's not my intention. It's just that I abhorr having to install extra stuff that I dont need on my system (yt-dl-drop-in). Especially if it's from the AUR and not an Arch official extra package.
Correct, because a youtube-dl is required, just not the youtube-dl package itself. yt-dlp would fit the bill too, but it needs to provide youtube-dl first.
I will not mark it optional because one or the other are required runtime dependencies. I chose to require youtube-dl because of yt-dlp-drop-in covering for yt-dlp in the meantime.
Again, as I posted here, I would suggest filing a feature request to the yt-dlp package maintainers to provide youtube-dl, since yt-dlp can substitute youtube-dl.
This PKGBUILD has a mandatory dependency on "youtube-dl".
With this, you are forcing Arch users to install "youtube-dl" This is not necessary. And I do not want "youtube-dl" nor "yt-dlp-drop-xxx" on my system, as "yt-dlp" is the current well maintained fork and official well maintained arch official package.
The developer has explained that this is not mandatory. Invidtui works perfectly with yt-dlp only.
So this should be optionall not mandatory.
It is there on the README,
Requirements
MPV
Youtube-dl/yt-dlp
FFMpeg
mpv-mpris (optional, for MPRIS support)
And clarified here,
Hard coded dependency on "youtube-dl" and the alternative "yt-dlp" · Issue #4 · darkhz/invidtui
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Let me clarify.
What you want is for
yt-dlpto provideyoutube-dlin the PKGBUILD. This fulfills option 3. Assumingyt-dlpdoes this, the following occurs:Case 1: User has
youtube-dloryt-dlpinstalled -- no prompt.Case 2: User has neither installed.
pacmanwill prompt you to install one or the other, since this package depends onyoutube-dlthe downloader, not theyoutube-dlpackage itself.If
yt-dlppackage maintainers refuse to implement this for whatever reason, only then will I switch both to optdepends. Butyt-dlpproviding theyoutube-dldependency is your best bet for a "just works" solution.