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: add thumbnail_url field to QueueItemInfo and GenericDownloadItem
Tonho80374b5b3fcf
diff --git a/src/lib/stores/download-store.svelte.ts b/src/lib/stores/download-store.svelte.tsindex f4413251..8004047d 100644--- a/src/lib/stores/download-store.svelte.ts+++ b/src/lib/stores/download-store.svelte.ts@@ -31,6 +31,7 @@ export type GenericDownloadItem = BaseItem & {phase: string;filePath?: string;fileCount?: number;+ thumbnail_url?: string | null;};export type DownloadItem = CourseDownloadItem | GenericDownloadItem;@@ -178,6 +179,7 @@ type QueueItemInfo = {file_path: string | null;file_size_bytes: number | null;file_count: number | null;+ thumbnail_url: string | null;};function queueStatusToDownloadStatus(status: { type: string; data?: unknown }): DownloadStatus {@@ -236,6 +238,7 @@ export function syncQueueState(items: QueueItemInfo[]) {lastUpdateAt: now,filePath: qi.file_path ?? undefined,fileCount: qi.file_count ?? undefined,+ thumbnail_url: qi.thumbnail_url,});}