Package Details: yt-dlp-drop-in 1-1

Git Clone URL: https://aur.archlinux.org/yt-dlp-drop-in.git (read-only, click to copy)
Package Base: yt-dlp-drop-in
Description: Emulate youtube-dl executables with yt-dlp (youtube-dlp)
Upstream URL: None
Licenses: MIT
Conflicts: youtube-dl
Provides: youtube-dl
Submitter: Minmo
Maintainer: Minmo
Last Packager: Minmo
Votes: 6
Popularity: 4.03
First Submitted: 2021-07-26 19:32
Last Updated: 2021-07-26 19:32

Required by (181)

Sources (0)

Latest Comments

Hekuran commented on 2021-09-04 07:31

well yt-dlp and youtube-dl dont really conflict with each other, if for some reason someone wants to have both, using your pkg, they cant. how about a shell script in stead of a symlink. or maybe not at all. here is sth to think about :D

cat /usr/local/bin/youtube-dl

#!/bin/sh

test -f /usr/bin/youtube-dl && yt='/usr/bin/youtube-dl'
test -f /usr/bin/yt-dlp && yt='/usr/bin/yt-dlp'

exec "$yt" "$@"

/usr/local/bin comes before the /usr/bin in $PATH , so by only commanding youtube-dl (which mpv requires), it will use yt-dlp, but if you want the OG you command /bin/youtube-dl or just change the order in the script.

or

what you have already done, and also symlink the old youtube-dl to youtube-dl-old

m040601 commented on 2021-09-02 20:45

@minmo

I see what you mean, and you're absolutely right about the scope and use of this same PKGBUILD. But just the short name "XYZ-drop-in" is not 100% immediately obvious . Maybe you could also improve/edit the "Description" with a few characters more, to make it crystal clear ? It doesnt cost you anything. Ex, add what you just explained ?

  • "simply a symlink from youtube-dl to yt-dlp"
  • caters to other "programs that have youtube-dl as a dependency"

The thing you might be missing is when a common user types "youtube" and/or "dl" or "dlp" and is presented with a barrage of dozens of options. All with a very sparse "Description" and a confusing and similar "Package-Name".

Minmo commented on 2021-09-02 16:13

I think this package falls out of the scope of the mentioned issues as it is simply a symlink from youtube-dl to yt-dlp

By installing this you can install other programs that have youtube-dl as a dependency and only install yt-dlp

It is similar to the neovim-drop-in: https://aur.archlinux.org/packages/neovim-drop-in/

m040601 commented on 2021-09-02 15:36

EDIT: someone has also suggested:

...to discuss this issue in the aur mailinglist? Let's offload this decision to the arch TUs and implement whatever they think is appropriate. ...

ORIGINAL COMMENT:May I suggest that the maintainer of this PKGBUILD talk and negotiate with the the maintainers of similar PKGBUILD's ?

With such a fast changing thing like youtube-dl and its variants, by having many eyeballs watching the same PKGBUILD's, this would also means less work for you, the maintainer.

There seems to be a lot of interest in using yt-dlp as a replacement for youtube-dl. This has led to a lot of PKGBUILD's being created in AUR, like mushrooms doing apparentely the same thing.

This:

  • confuses users, which one to install ? Which one will still be here maintained in x months ?
  • is a complete waste of man power and reduplicating work,
  • disperses user votes, maybe one day, with enough votes, yt-dlp could be an official Arch package,without any need for PKGBUILD.

We basicly only need a yt-dlp "normal one", "-git" one and eventually a "-bin" one.

With such a fast changing thing like youtube-dl, by having many eyeballs watching the same PKGBUILDS, this would also means less work for you, the maintainer.

Some more additionally facts:

  • yt-dlp is officially called ... hhh... "yt-dlp". It is not officially called "youtube-dlp"
  • ...