Package Details: yt-dlp-drop-in 2023.12.30-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: Provide both youtube-dl command and python imports using yt-dlp
Upstream URL: None
Licenses: Unlicense
Conflicts: youtube-dl
Provides: youtube-dl
Submitter: Minmo
Maintainer: xiota
Last Packager: xiota
Votes: 44
Popularity: 0.70
First Submitted: 2021-07-26 19:32 (UTC)
Last Updated: 2024-02-18 22:10 (UTC)

Dependencies (2)

Required by (132)

Sources (1)

Pinned Comments

xiota commented on 2023-11-10 18:10 (UTC) (edited on 2024-01-02 18:24 (UTC) by xiota)

This package provides youtube-dl command and python imports using yt-dlp. This is needed because many programs still depend on youtube-dl even though it was dropped from the extra repository.

This approach does not work with all programs because yt-dlp and youtube-dl are not fully compatible. This package generates a version string that matches the version of yt-dlp that is available during build.

Alternatives:

  • aur/youtube-dl: The last release was a couple years ago with several known bugs.

  • aur/youtube-dl-git: Development continues at ytdl-org/youtube-dl.

Latest Comments

1 2 Next › Last »

florosus commented on 2024-02-18 20:26 (UTC)

@xiota:

The pkgver function produces several lines when a system has multiple repositories in pacman.conf with the same package in them.

Please fix.

Thulinma commented on 2023-11-11 11:20 (UTC)

The current PKGBUILD's pkgver() is language-dependent. Adding "LANG=C" in front of the pacman command to force the language to English fixes it in the simplest way.

xiota commented on 2023-11-10 18:10 (UTC) (edited on 2024-01-02 18:24 (UTC) by xiota)

This package provides youtube-dl command and python imports using yt-dlp. This is needed because many programs still depend on youtube-dl even though it was dropped from the extra repository.

This approach does not work with all programs because yt-dlp and youtube-dl are not fully compatible. This package generates a version string that matches the version of yt-dlp that is available during build.

Alternatives:

  • aur/youtube-dl: The last release was a couple years ago with several known bugs.

  • aur/youtube-dl-git: Development continues at ytdl-org/youtube-dl.

Sematre commented on 2023-11-09 21:07 (UTC)

I support the ongoing orphan request, as I have no interest in maintaining this package. I was only interested in a one time contribution 2 years ago.

exponential commented on 2023-08-21 21:26 (UTC)

the lib path differences are due to the fact that arch is a rolling release and debian an LTS release.

Freso commented on 2023-08-20 11:00 (UTC)

I merged in the changes from exponential’s MPR package and then tweaked it a bit. import youtube_dl works now at least, but I haven’t tested it thoroughly so there might still be some oddities, but I’ll be using this for the time being at least. :) (exponential, you might also want to see if the changes in https://gitlab.archlinux.org/freso/AUR-yt-dlp-drop-in/-/commit/f2c694a4434cad229437061b10035c2886919f21 are some you’d want to cherry-pick to your MPR package.)

https://gitlab.archlinux.org/freso/AUR-yt-dlp-drop-in/-/tree/yt-dlp-drop-in

exponential commented on 2023-08-01 19:18 (UTC) (edited on 2023-08-01 19:24 (UTC) by exponential)

i'm a Debian user, i can't maintain any packages here. The mpr is like the AUR but for deb packages. Convert this for Arch. https://mpr.makedeb.org/packages/yt-dlp-drop-in

I think it ~~only~~ needs this "arch=('all')" changed to "arch=('any')" and "python3" changed to "python".

That version tries harder to pretend that it's youtube-dl. It might still not work though.

dreieck commented on 2023-07-31 22:16 (UTC)

Also, here it is not drop-in.

Building python-pafy-git fails:

==> Starting package()...
Traceback (most recent call last):
  File "/tmp/makepkg/build/python-pafy-git/src/pafy/pafy/pafy.py", line 48, in <module>
    import youtube_dl
ModuleNotFoundError: No module named 'youtube_dl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/makepkg/build/python-pafy-git/src/pafy/setup.py", line 13, in <module>
    from pafy import __version__
  File "/tmp/makepkg/build/python-pafy-git/src/pafy/pafy/__init__.py", line 7, in <module>
    from .pafy import new
  File "/tmp/makepkg/build/python-pafy-git/src/pafy/pafy/pafy.py", line 51, in <module>
    raise ImportError(
ImportError: pafy: youtube-dl not found; you can use the internal backend by setting the environmental variable PAFY_BACKEND to "internal". It is not enabled by default because it is not as well maintained as the youtube-dl backend.

dreieck commented on 2023-05-13 06:35 (UTC)

Does not provide a full drop-in packaging wise, since versioned dependencies are not met:

:: yt-dlp-drop-in and youtube-dl are in conflict. Remove youtube-dl? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing youtube-dl breaks dependency 'youtube-dl>=2021.06.01' required by mopidy-youtube

regards!