fix: season 0 resolved is no longer skipped in the worker
This commit is contained in:
1 parent
2a1dcddd90
commit
232ede4292
1 file changed
+2
-1
@@ -314,7 +314,8 @@ async function organizeTorrent(hash: string, name: string, savePath: string) {
|
|||||||
const filePath: string[] = tf.path
|
const filePath: string[] = tf.path
|
||||||
|
|
||||||
// Skip les fichiers dans des dossiers bonus/musique/images
|
// 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}`)
|
log(`[organize] skip bonus: ${filename}`)
|
||||||
result.skipped++
|
result.skipped++
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in new issue
Block a user