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: update media info handling in download process and ensure percent is non-negative
Tonho11fa19b1f522
diff --git a/src-tauri/src/core/queue.rs b/src-tauri/src/core/queue.rsindex 53664e09..2fd4e8c3 100644--- a/src-tauri/src/core/queue.rs+++ b/src-tauri/src/core/queue.rs@@ -520,6 +520,7 @@ async fn spawn_download_inner(1};item.file_count = Some(fc);+ item.media_info = Some(info.clone());}q.get_state()};@@ -603,7 +604,7 @@ async fn spawn_download_inner(id: item_id,title: item_title.clone(),platform: item_platform.clone(),- percent,+ percent: percent.max(0.0),speed_bytes_per_sec: current_speed,downloaded_bytes,total_bytes,