Release v1.4.37 with DLC filenames, instant delete, version display

- Parse <filename> tags from DLC XML for proper file names instead of
  deriving from opaque URLs (fixes download.bin display)
- Optimistic UI removal for package/item delete (instant feedback)
- Show app version in header ("Multi Debrid Downloader vX.X.X")

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-03-01 02:12:06 +01:00
co-authored by Claude Opus 4.6
parent a0c58aad2c
commit d491c21b97
6 changed files with 101 additions and 12 deletions
+4 -2
View File
@@ -974,9 +974,11 @@ export class DownloadManager extends EventEmitter {
updatedAt: nowMs()
};
for (const link of links) {
for (let linkIdx = 0; linkIdx < links.length; linkIdx += 1) {
const link = links[linkIdx];
const itemId = uuidv4();
const fileName = filenameFromUrl(link);
const hintName = pkg.fileNames?.[linkIdx];
const fileName = (hintName && !looksLikeOpaqueFilename(hintName)) ? sanitizeFilename(hintName) : filenameFromUrl(link);
const item: DownloadItem = {
id: itemId,
packageId,