Bug#1024226: git-annex: please replace youtube-dl suggests with yt-dlp

Joey Hess id at joeyh.name
Mon Nov 21 19:05:17 GMT 2022


Sean Whitton wrote:
> Do you happen to know whether git-annex currently works with youtube-dl
> replaced with yt-dlp?  Thanks.

Yes, it does, with this git config:

	git config annex.youtube-dl-command yt-dlp

If youtube-dl becomes a wrapper script calling yt-dlp, it would also work
without that config.

I've also changed git-annex to fall back to yt-dlp when youtube-dl is
not in path; see attached patch. Also there was a small problem with
parsing yt-dlp's output that prevented git-annex from displaying
progress; see second attached patch.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-When-youtube-dl-is-not-available-in-PATH-use-yt-dlp-.patch
Type: text/x-diff
Size: 3240 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20221121/653a3815/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Support-parsing-yt-dpl-output-to-display-download-pr.patch
Type: text/x-diff
Size: 2149 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20221121/653a3815/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20221121/653a3815/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list