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
fix: add phase property to QueueItemProgressPayload and update initDownloadListener function
Tonho3aad969aa14a
diff --git a/src/lib/stores/download-listener.ts b/src/lib/stores/download-listener.tsindex aa1fcd34..f653505a 100644--- a/src/lib/stores/download-listener.ts+++ b/src/lib/stores/download-listener.ts@@ -72,6 +72,7 @@ type QueueItemProgressPayload = {speed_bytes_per_sec: number;downloaded_bytes: number;total_bytes: number | null;+ phase: string;};type ConvertProgressPayload = {@@ -209,6 +210,7 @@ export async function initDownloadListener(): Promise<() => void> {d.speed_bytes_per_sec,d.downloaded_bytes,d.total_bytes,+ d.phase,);},);