mhogomchungu / media-downloader

Media Downloader is a Qt/C++ front end to yt-dlp, youtube-dl, gallery-dl, lux, you-get, svtplay-dl, aria2c, wget and safari books..
GNU General Public License v2.0
1.34k stars 103 forks source link

Bug: "[media-downloader] Download Failed(ErrorCode=1)" & media-downloader thinking the download options are urls #298

Closed metapea closed 11 months ago

metapea commented 11 months ago

I keep getting this when using bestvideo+bestaudio in the download options:

[generic] Extracting URL: bestvideo+bestaudio
ERROR: [generic] None: 'bestvideo+bestaudio' is not a valid URL. Set --default-search "ytsearch" (or run  yt-dlp "ytsearch:bestvideo+bestaudio" ) to search YouTube

and in the end of the download: [media-downloader] Download Failed(ErrorCode=1) Most of the time, videos download fine even with the error, but a few times it ignored the download options and just downloads the video without it.

mhogomchungu commented 11 months ago

Put below text in the "download options" text field and try again.

-f bestvideo+bestaudio

metapea commented 11 months ago

It was in the download options: ytdlp

mhogomchungu commented 11 months ago

What i observed here is as follows:-

  1. You have to put "-f bestvideo+bestaudio" in basic downloader tab.
  2. Batch downloader tab works just fine with or without "-f".
  3. Playlist downloader tab wors just fine with or without "-f".

It is best to always put "-f" and yes, this is a bug since basic downloader tab should work the same as other tabs.

metapea commented 11 months ago

Thanks

mhogomchungu commented 11 months ago

This is fixed now.

rosesr commented 11 months ago

Is my install out of date if I'm still having this issue? Or is this fixed in the upcoming patch? No worries if so, just want to make sure I have it configured properly as-is.

mhogomchungu commented 11 months ago

The fix is already in but it is not released yet so not available to the general public.

The fix will be available to the general public when i make a new release. For now, put the "-f" argument until when a new released is out.

mhogomchungu commented 11 months ago

New version is out and it has a fix for this problem

https://github.com/mhogomchungu/media-downloader/releases/tag/3.3.0