From 33060e8fa8a564bf84edf4b10d270a116c70dc19 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 2 Mar 2023 11:14:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyAlist.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyAlist.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SrcJyAlist.js b/SrcJyAlist.js index 594186ae..42f3e430 100644 --- a/SrcJyAlist.js +++ b/SrcJyAlist.js @@ -524,7 +524,10 @@ function arrayAdd(list,isdir,alistapi,provider){ var sublist = list.filter(item => { return /srt|vtt|ass/.test(item.name.substring(item.name.lastIndexOf('.')+1)); }) - log(list); + if(!isdir){ + log(list); + } + if(!alistapi.nofilter&&fileFilter&&!isdir){ list = list.filter(item => { return contain.test(item.name.substring(item.name.lastIndexOf('.')+1));