ErrorFlynn / ytdlp-interface

Windows graphical interface for yt-dlp, designed as a simple YouTube downloader
MIT License
1.1k stars 58 forks source link

[Feature Request] Modified 'error'-handling: 'repeat'-button or automatic loop #104

Closed altadr closed 1 year ago

altadr commented 1 year ago

People say, only an insane person repeats an action that has proved successless.

After some times receiving an 'error' trying to enter an URL,
first I erratically changed the method (drag&drop, ctrl-c, ctrl-v, ...), and sometimes it was successful, and sometimes not.

After a lot of trial and error I did not find any systematical conclusion or solution to this problem.

Then I switched to do, what is known as totally useless, I simply repeated exactly what had proven successless. Not only once, but sometimes more than 10 times.

And in every case I got an 'error', and an 'error' again, and again and again.

But suddenly, without any alteration of the procedure, a 'queued' appeared.

This worked for all URLs I tried, sometimes after 3 or 4 attempts, in few cases it needed more than 10, but it was in the end always successful.

Only, it is really annoying having to first remove the unsuccessful item, then reentering the same URL, receiving the 'error' and knowing having to repeat this loop an unforseeable number of repetations.

Is it easyer to implement a new 'repeat'-button, or, even more comfortable for the user,
a simple loop repeating up to 20 times before ending (and showing 'error' if still no success, but that never occurred during my trials) ...

Thank you very much!

ErrorFlynn commented 1 year ago

Is the error from yt-dlp Incomplete data received? I've been getting that for YouTube playlists, and I've already implemented a workaround. I think I will also add a refresh command to the context menu.

altadr commented 1 year ago

Just having written the above, now I eperienced for the first time a case that could not be solved by only repeating the entering process:

Here the problem was, that one members-only-video was in the playlist, and this blocked entering the playlist URL.

So the problem here could be solved (incomplete) 'manually' by opening the original URL in the browser and entering every single video's URL separately from there (besides the one for members only).

For such cases additionally another command in the context menu could be helpful, too:

'copy the original URL to the clipboard',

and maybe even a third one:

'open the original URL in the browser'

altadr commented 1 year ago

And, yes, the most errors resulted from 'Incomplete data received'.

ErrorFlynn commented 1 year ago

You can now update to the latest version of yt-dlp on the nightly release channel, to get rid of the Incomplete data received error.

altadr commented 1 year ago

Thank you very much!