feat: upgrade to native wind v5

This commit is contained in:
Fredrik Burmester
2025-10-03 19:34:58 +02:00
parent 3a8fb0a5e5
commit 23c1c817a0
22 changed files with 210 additions and 166 deletions

View File

@@ -170,11 +170,12 @@ export function useDownloadEventHandlers({
try {
const { item, mediaSource } = process;
const videoFile = new File("", event.filePath);
const videoFileSize = videoFile.size || 0;
const fileInfo = videoFile.info();
const videoFileSize = fileInfo.size || 0;
const filename = generateFilename(item);
console.log(
`[COMPLETE] Video download complete, starting additional downloads for ${item.Name}`,
`[COMPLETE] Video download complete (${videoFileSize} bytes), starting additional downloads for ${item.Name}`,
);
// Download additional assets (trickplay, subtitles, cover images, segments)