Bug#1024226: git-annex: please replace youtube-dl suggests with yt-dlp
Sean Whitton
spwhitton at spwhitton.name
Mon Nov 21 23:39:48 GMT 2022
Hello,
On Mon 21 Nov 2022 at 03:05PM -04, Joey Hess wrote:
> 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.
Many thanks. Just building now, will upload closing this bug shortly.
--
Sean Whitton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 869 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20221121/8aabcbc9/attachment-0001.sig>
More information about the Pkg-haskell-maintainers
mailing list