From 43fdbccfc0b0b057a7e642fc5e8a2003480e4c23 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 18 Aug 2024 20:38:07 +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 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/SrcLive.js b/SrcLive.js index 8fad05dd..eda4976d 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -382,7 +382,7 @@ function guanlidata(datalist) { } list.push({ title: name, - img: globalMap0.getMyVar('gmParams').getIcon("直播-tv.svg"), + img: globalMap0.getVar('Jy_gmParams').getIcon("直播-tv.svg"), col_type: 'icon_2_round', url: $('#noLoading#').lazyRule((name) => { require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); @@ -542,18 +542,18 @@ function LiveSet() { }); d.push({ title: "直播管理", - img: globalMap0.getMyVar('gmParams').getIcon("直播-管理.svg"), + img: globalMap0.getVar('Jy_gmParams').getIcon("直播-管理.svg"), col_type: "avatar", url: "hiker://empty", }); d.push({ title: "订阅源管理", - img: globalMap0.getMyVar('gmParams').getIcon("直播-箭头.svg"), + img: globalMap0.getVar('Jy_gmParams').getIcon("直播-箭头.svg"), url: $('hiker://empty#noRecordHistory##noHistory#').rule(() => { addListener("onClose", $.toString(() => { //refreshPage(false); })); - let livecfgfile = globalMap0.getMyVar('gmParams').rulepath + "liveconfig.json"; + let livecfgfile = globalMap0.getVar('Jy_gmParams').rulepath + "liveconfig.json"; let livecfg = fetch(livecfgfile); if (livecfg != "") { eval("var liveconfig = " + livecfg); @@ -687,7 +687,7 @@ function LiveSet() { } if (YClives.length > 0) { let importnum = 0; - let JYlivefile = globalMap0.getMyVar('gmParams').rulepath + "live.txt"; + let JYlivefile = globalMap0.getVar('Jy_gmParams').rulepath + "live.txt"; let JYlive = fetch(JYlivefile); if (JYlive) { var JYlives = JYlive.split('\n'); @@ -766,7 +766,7 @@ function LiveSet() { }); d.push({ title: "TVBox订阅", - img: globalMap0.getMyVar('gmParams').getIcon("直播-箭头.svg"), + img: globalMap0.getVar('Jy_gmParams').getIcon("直播-箭头.svg"), col_type: "text_icon", url: $('hiker://empty#noRecordHistory##noHistory#').rule(() => { addListener("onClose", $.toString(() => { @@ -950,7 +950,7 @@ function LiveSet() { }); d.push({ title: "编辑本地源", - img: globalMap0.getMyVar('gmParams').getIcon("直播-箭头.svg"), + img: globalMap0.getVar('Jy_gmParams').getIcon("直播-箭头.svg"), col_type: "text_icon", url: getMyVar("JYlivedyurl", "juying") == "juying" @@ -966,10 +966,10 @@ function LiveSet() { }); d.push({ title: "清空直播源", - img: globalMap0.getMyVar('gmParams').getIcon("直播-箭头.svg"), + img: globalMap0.getVar('Jy_gmParams').getIcon("直播-箭头.svg"), col_type: "text_icon", url: $("确定清空聚影直播本地文件?").confirm(() => { - writeFile(globalMap0.getMyVar('gmParams').rulepath + "live.txt", ""); + writeFile(globalMap0.getVar('Jy_gmParams').rulepath + "live.txt", ""); if (getMyVar("JYlivedyurl", "juying") == "juying") { putMyVar("isEdit", "1"); } @@ -983,7 +983,7 @@ function LiveSet() { }); d.push({ title: "清理失效", - img: globalMap0.getMyVar('gmParams').getIcon("直播-清理.svg"), + img: globalMap0.getVar('Jy_gmParams').getIcon("直播-清理.svg"), col_type: "avatar", url: "hiker://empty", }); @@ -994,7 +994,7 @@ function LiveSet() { url: $('#noLoading#').lazyRule(() => { putMyVar('isEdit', '1'); let urls = []; - let JYlivefile = globalMap0.getMyVar('gmParams').rulepath + "live.txt"; + let JYlivefile = globalMap0.getVar('Jy_gmParams').rulepath + "live.txt"; let JYlive = fetch(JYlivefile); if (JYlive != "") { var task = function (obj) {