Open BayPatates opened 9 months ago
After looking at the parts again, i found out "574.ts" not fully downloaded and i think this was causing the problem. When i tried to delete that file i couldn't. ("File in use" error) (I could not take screenshot.) After canceling the download, all the files except "574.ts" were deleted and that file was still locked (in use) by TwitchDownloader. I was only able to delete the file after closing the program.
How long did you let the downloader sit at 100% completed? Sometimes the connections end up getting stalled, and when that happens we have a timeout: https://github.com/lay295/TwitchDownloader/blob/eb8124ed0587bd362e7906773380b0d8de683388/TwitchDownloaderCore/VideoDownloader.cs#L598-L610
I additionally waited for 1 - 2 hours when i saw it was at 100% and nothing was happening. "574.ts" was not changing in file size, there was no other parts needed to be downloaded and there was no network activity (my internet connection was fine).
Checklist
Edition
Windows GUI Application
Describe your issue here
"VOD Download" tab downloads every ".ts" part of the VOD, then stops at 100%. This problem frequently occurs on long VODs that i download. Edit: I found out "574.ts" part not fully downloaded.
Add any related files or extra information here
Stuck at 100%:
All the parts are downloaded (Edit: except "574.ts"):
Nothing is happening, program just waits:
Here is the VOD id: 2004152263 I think it downloaded every necessarry part according to m3u8 index file but stuck, here is the m3u8 file link of this VOD: https://d1m7jfoe9zdc1j.cloudfront.net/da9fd02540afafc1ed74_jerma985_49926032829_1702587318/chunked/index-dvr.m3u8
Start and end of the m3u8 file is like this :
EXTM3U
EXT-X-VERSION:3
EXT-X-TARGETDURATION:10
ID3-EQUIV-TDTG:2023-12-15T04:33:03
EXT-X-PLAYLIST-TYPE:EVENT
EXT-X-MEDIA-SEQUENCE:0
EXT-X-TWITCH-ELAPSED-SECS:0.000
EXT-X-TWITCH-TOTAL-SECS:27458.989
EXTINF:10.000,
0.ts
EXTINF:10.000,
1.ts
EXTINF:10.000,
2.ts
EXTINF:10.000,
3.ts
EXTINF:10.000,
... ... ...
EXTINF:10.000,
2743.ts
EXTINF:10.000,
2744.ts
EXTINF:8.989,
2745.ts
EXT-X-ENDLIST