When youtube-dl is not available in PATH, use yt-dlp instead
authorJoey Hess <joeyh@joeyh.name>
Mon, 21 Nov 2022 18:39:26 +0000 (14:39 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 21 Nov 2022 18:40:33 +0000 (14:40 -0400)
commit5256be61c12fb030fe2eebe2751ee1601a5e7514
tree15ebcacf84932839ece7ae942d2a896ad38e11fd
parent63b33d4181d3e1111b33fdf3d01cb40d768b8e27
When youtube-dl is not available in PATH, use yt-dlp instead

Debian is going to drop youtube-dl which is not active upstream, and yt-dlp
is the replacement. This will make it be used if youtube-dl gets removed.

If an old version of youtube-dl remains installed, git-annex will still use
it. That might not be desirable, but changing git-annex to use yt-dlp in
preference to youtube-dl when both are installed risks breaking when
the user has annex.youtube-dl-options set to something that is supported
by youtube-dl, but not by yt-dlp.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
Annex/YoutubeDl.hs
CHANGELOG
debian/control
doc/git-annex.mdwn