Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
feat: enhance stall detection for downloads by checking item type
Tonho3cfd0f314a12
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelteindex d9122089..11d720bd 100644--- a/src/routes/+page.svelte+++ b/src/routes/+page.svelte@@ -32,7 +32,7 @@hasError = true;} else if (item.status === "downloading") {hasDownloading = true;- if (item.speed === 0 && (Date.now() - item.startedAt) > STALL_THRESHOLD) {+ if (item.kind === "course" && item.speed === 0 && (Date.now() - item.startedAt) > STALL_THRESHOLD) {const stalledDuration = Date.now() - item.lastUpdateAt;if (stalledDuration > STALL_THRESHOLD) {hasStalled = true;