ErrorFlynn / ytdlp-interface

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

Bug when I am downloading a Big Playlist #95

Closed Neko-no-akuma-TW closed 11 months ago

Neko-no-akuma-TW commented 1 year ago

There are some trouble when I am downloading the big youtube playlist. Playlist has 185 items, when the ytdlp-interface is downloading 117th items, there is no error notifiction, the downloading program exited. I have no idea why this bug happened, so I put that at here.

ErrorFlynn commented 1 year ago

Can you post the link to the playlist?

Neko-no-akuma-TW commented 1 year ago

Can you post the link to the playlist?

https://youtube.com/playlist?list=PLxihdffDFJ4QtjV2A-pfKLkanv-09vdn_ Here it is. By the way, there is only 76 items, it can download.

ErrorFlynn commented 1 year ago

I was not able to reproduce the issue.

Neko-no-akuma-TW commented 1 year ago

I was not able to reproduce the issue. Uhh. Fine, I will try to redownload the software, maybe it will be fine

ErrorFlynn commented 1 year ago

If you continue having this issue, you could copy the command line that the program uses, and run it in a Command Prompt window.

To copy the command line, first start the download (so that the command line appears in the output view), then stop the download, right-click on the output, and select Copy command only. Then open a command prompt (Win+R, type cmd and press Enter), paste the command line and press Enter. Then let the download finish, or press Ctrl+C to stop it if you change your mind.

ErrorFlynn commented 1 year ago

I have now experienced a crash when downloading a Bandcamp playlist (album), but I was unable to reproduce it with the debug build of the program. I will continue to try to resolve this, but it will probably take a while, especially since I have little time or energy to work on the project right now.

Neko-no-akuma-TW commented 1 year ago

I see. By the way, I still can't download after I redownloaded the software.

Neko-no-akuma-TW commented 1 year ago

"D:\應用程式\VideoDownloadSoftware\yt-dlp.exe" --embed-chapters --embed-thumbnail --no-mtime --write-subs --sub-format "srt" --sub-langs "zh.TW,zh.CN.en*" -P D:\影片\BGM -o "%(playlist_title)s\%(playlistindex)03d - %(title)s.%(ext)s" "https://www.youtube.com/playlist?list=PLxihdffDFJ4QtjV2A-pfKLkanv-09vdn"

Here is the download command. Maybe it can help you to find the bug

Neko-no-akuma-TW commented 1 year ago

Oh, I use the command line for download the videos, there is no trouble, so I think that is ytdlp interface bug

ErrorFlynn commented 1 year ago

I experienced a repeatable crash using your command line, but it happened inside the GUI library, not in the application code. The cause of the crash doesn't make any sense to me (a memory deallocation error that shouldn't be happening). Maybe it's some kind of unlikely toolchain issue, or maybe I'm missing something.

Either way, I've modified the line in the GUI library that was causing the crash, as a workaround. That seems to have eliminated the crash for me, but I'm not 100% sure that my crash is the same as what you or others experience, so I'll leave this issue open for now. In any case, this change will be in the next version.

Neko-no-akuma-TW commented 1 year ago

I understand, and I'm glad you were able to identify the issue. I hope that after the next update, this error will be permanently resolved.