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.6k stars 119 forks source link

It keeps downloading yt-dlp #295

Closed BarbzYHOOL closed 1 year ago

BarbzYHOOL commented 1 year ago

Hello,

everytime i launch it, it does this:

[media-downloader] Failed to find executable "aria2c"
[media-downloader] Error, executable to backend "aria2c" could not be found
[media-downloader] Checking installed version of yt-dlp
[media-downloader] Found version: 2023.03.04
[media-downloader] Newest Version Is 2023.07.06, Updating
[media-downloader] Start Downloading yt-dlp ... ...
[media-downloader] Downloading: https://github.com/yt-dlp/yt-dlp/releases/download/2023.07.06/yt-dlp
filchcomp commented 1 year ago

I have this issue too.

mhogomchungu commented 1 year ago

Fixed in the git version and will make a new release tomorrow to address this issue.

mhogomchungu commented 1 year ago

I have updated "MediaDownloader-3.2.1.zip" version with a fix to the problem. Allow Media Downloader to auto update one more time to get the updated and working version.

BarbzYHOOL commented 1 year ago

i don'tk now if related but on the older version, i lost all my batch downloader lists multiple times, i just realized, this is really annoying, i won't find the videos anymore

BarbzYHOOL commented 1 year ago

Cannot update the deb

sudo aptitude install media-downloader                         8.6s|23:57:14
media-downloader is already installed at the requested version (3.2.1-1)
media-downloader is already installed at the requested version (3.2.1-1)
mhogomchungu commented 1 year ago

A linux version has no problems that i know of.

If you are on Linux and it keeps downloading yt-dlp then post a full log as seen in the basic downloader tab, the only logs with the problem i have seen so far are from windows users who were using installed version.

You are getting that aria2c error because you installed aria2c extension but you did not install aria2c executable from your distro's repository.

Do you have a setting as seen in the below image checked?, if it is checked then it saves all medias in batch and playlist tabs that were not downloaded when the program exits.

Screenshot_20230711_101516

BarbzYHOOL commented 1 year ago
[media-downloader] *****************************************************
[media-downloader] To Disable These Checks, Do The Following:-
[media-downloader] 1. Go To "Configure" Tab.
[media-downloader] 2. Go To "General Options" Sub Tab.
[media-downloader] 3. Uncheck "Show Version Info When Starting".
[media-downloader] *****************************************************
[media-downloader] Failed to find executable "aria2c"
[media-downloader] Error, executable to backend "aria2c" could not be found
[media-downloader] Checking installed version of yt-dlp
[media-downloader] Found version: 2023.03.04
[media-downloader] Newest Version Is 2023.07.06, Updating
[media-downloader] Start Downloading yt-dlp ... ...
[media-downloader] Downloading: https://github.com/yt-dlp/yt-dlp/releases/download/2023.07.06/yt-dlp
[media-downloader] Destination: /home/someone/.local/share/media-downloader//bin/yt-dlp.tmp
[media-downloader] Downloading yt-dlp: 2,73 MiB / 2,73 MiB (100.00%)
[media-downloader] Download complete
[media-downloader] Renaming file to: /home/someone/.local/share/media-downloader//bin/yt-dlp
[media-downloader] Checking installed version of yt-dlp
[media-downloader] Found version: 2023.07.06
[media-downloader] Checking installed version of ffmpeg
[media-downloader] Found version: 4.4.2-0ubuntu0.22.04.1

i don't know what this ariac is, i doubt i installed it, it came with something else

PS: fix the typo on the configure screen "concurrent" and not "cuncurrent"

mhogomchungu commented 1 year ago

Open the terminal and then run the following command and then post the whole output of the basic tab again.

media-downloader --debug
BarbzYHOOL commented 1 year ago
[media-downloader] *****************************************************
[media-downloader] To Disable These Checks, Do The Following:-
[media-downloader] 1. Go To "Configure" Tab.
[media-downloader] 2. Go To "General Options" Sub Tab.
[media-downloader] 3. Uncheck "Show Version Info When Starting".
[media-downloader] *****************************************************
[media-downloader] Failed to find executable "aria2c"
[media-downloader] Error, executable to backend "aria2c" could not be found
[media-downloader] Checking installed version of yt-dlp
[media-downloader] cmd: "/home/someone/.local/bin/yt-dlp" "--version"
[media-downloader] Found version: 2023.03.04
[media-downloader] Newest Version Is 2023.07.06, Updating
[media-downloader] Start Downloading yt-dlp ... ...
[media-downloader] Downloading: https://github.com/yt-dlp/yt-dlp/releases/download/2023.07.06/yt-dlp
[media-downloader] Destination: /home/someone/.local/share/media-downloader//bin/yt-dlp.tmp
[media-downloader] Downloading yt-dlp: 2,73 MiB / 2,73 MiB (100.00%)
[media-downloader] Download complete
[media-downloader] Renaming file to: /home/someone/.local/share/media-downloader//bin/yt-dlp
[media-downloader] Checking installed version of yt-dlp
[media-downloader] cmd: "/home/someone/.local/share/media-downloader//bin/yt-dlp" "--version"
[media-downloader] Found version: 2023.07.06
[media-downloader] Checking installed version of ffmpeg
[media-downloader] cmd: "/usr/bin/ffmpeg" "-version"
[media-downloader] Found version: 4.4.2-0ubuntu0.22.04.1
mhogomchungu commented 1 year ago

When Media Downloader starts, it finds yt-dlp at /home/someone/.local/bin/ but installs an update at /home/someone/.local/share/media-downloader//bin/.

These two paths should be the same but they are not in your case for some reason.

mhogomchungu commented 1 year ago

Look at the image from here and do the following:-

  1. Uncheck "Use system executables if available". This option should be removed because auto updating does not work with system provided executables.
  2. Click "Remove A Plugin" and then select "aria2c" to remove this extension.
mhogomchungu commented 1 year ago

The git version has a solution for this problem and it disables uses external backends from system path.

BarbzYHOOL commented 1 year ago

ok it worked but for ariac2 i cannot remove it with this, i click on "remove plugin" and there is no plugin to click