display destination file before youtube-dl download
authorJoey Hess <joeyh@joeyh.name>
Tue, 20 Jun 2023 18:55:25 +0000 (14:55 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 20 Jun 2023 18:55:25 +0000 (14:55 -0400)
commit72715845a10dfabaee364f70af7c33b26b2d1c0d
tree9cfdf86d8475a06bd3c30af1e4860eed4aa69a26
parentf81146831837c1f93f5b35701dc7dd591656d606
display destination file before youtube-dl download

Rather than after it, which can leave one wondering what file it's
downloading.

youtubeDl should not ever return Right Nothing in normal operation,
becaause it's already asked youtube-dl if it supports the url. So it
would have to succeed at that, then not download any file, but also
exit successfully, in order for the new error message to display.

Also display the name of yt-dlp when using it.
Annex/YoutubeDl.hs
Command/AddUrl.hs