feat: add uttorent driver

fix: organiser take correct name
This commit is contained in:
MasutaYunikon committed 2026-04-09 15:59:55 +02:00
1 parent 89c0db5f36
commit 0e09c85efd
4 files changed
+257 -12

No files matched your search

+1 -1
View File
@@ -394,9 +394,9 @@ async function organizeTorrent(hash: string, name: string, savePath: string, ser
if (!tryHardlink(src, dest)) await fsp.copyFile(src, dest)
} else {
await fsp.copyFile(src, dest)
markOrganized(hash, filename)
await fsp.unlink(src)
}
markOrganized(hash, filename)
result.done++
debug(`${nfo_filename} → Saison ${season_number}`)
} catch (err) {