From 232ede42923e6fd324a7243a01e564e1cbe7e6ea Mon Sep 17 00:00:00 2001 From: MasutaYunikon Date: Fri, 20 Mar 2026 22:02:17 +0100 Subject: [PATCH] fix: season 0 resolved is no longer skipped in the worker --- server/organize-worker.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/organize-worker.ts b/server/organize-worker.ts index 95809de..30b6f0d 100644 --- a/server/organize-worker.ts +++ b/server/organize-worker.ts @@ -314,7 +314,8 @@ async function organizeTorrent(hash: string, name: string, savePath: string) { const filePath: string[] = tf.path // Skip les fichiers dans des dossiers bonus/musique/images - if (isInExcludedFolder(filePath)) { + const tfMeta = torrentFiles.find((tf: any) => tf.filename === filename) + if (isInExcludedFolder(filePath) && tfMeta?.season_number == null) { log(`[organize] skip bonus: ${filename}`) result.skipped++ continue