display error message if unable to run youtube-dl
This would have made the typo of the command name that was just fixed obvious earlier, when --no-raw was used to force using it.
This commit is contained in:
parent
aa6e54ac6e
commit
889e771357
2 changed files with 13 additions and 9 deletions
|
@ -185,7 +185,7 @@ performDownload addunlockedmatcher opts cache todownload = case location todownl
|
|||
let f' = fromRawFilePath f
|
||||
r <- Remote.claimingUrl url
|
||||
if Remote.uuid r == webUUID || rawOption (downloadOptions opts)
|
||||
then checkRaw (downloadOptions opts) $ do
|
||||
then checkRaw Nothing (downloadOptions opts) $ do
|
||||
let dlopts = (downloadOptions opts)
|
||||
-- force using the filename
|
||||
-- chosen here
|
||||
|
@ -326,7 +326,7 @@ performDownload addunlockedmatcher opts cache todownload = case location todownl
|
|||
, downloadlink
|
||||
)
|
||||
where
|
||||
downloadlink = checkRaw (downloadOptions opts) $
|
||||
downloadlink = checkRaw Nothing (downloadOptions opts) $
|
||||
performDownload addunlockedmatcher opts cache todownload
|
||||
{ location = Enclosure linkurl }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue