From e08996aee5a98f7bf2f15f958409725d6463face Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 6 Nov 2022 22:03:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcLive.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcLive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SrcLive.js b/SrcLive.js index 107b2e5a..53526f9e 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -314,7 +314,7 @@ function LivePlay(name) { let urls = []; for(let i = 0;i-1&&JYlives[i].split(',')[0].trim()==name){ + if(JYlives[i].indexOf(',')>-1&&JYlives[i].split(',')[0].replace(/TV-/g,'TV').replace(/\[.*\]/g,'').trim()==name){ let url = JYlives[i].split(',')[1].trim(); if(/\\r^/.test(url)){ url = url.slice(0, url.length - 2); @@ -335,7 +335,7 @@ function LivePlay(name) { }else if(getMyVar('editmode','0')=="urldelete"){ for(let i=0;i-1&&JYlives[i].split(',')[0].trim()==name){ + if(JYlives[i].indexOf('#genre#')==-1&&JYlives[i].indexOf(',')>-1&&JYlives[i].split(',')[0].replace(/TV-/g,'TV').replace(/\[.*\]/g,'').trim()==name){ JYlives.splice(i,1); i = i - 1; }