|
|
@ -1,5 +1,5 @@ |
|
|
|
//本代码仅用于个人学习,请勿用于其他作用,下载后请24小时内删除,代码虽然是公开学习的,但请尊重作者,应留下说明
|
|
|
|
//本代码仅用于个人学习,请勿用于其他作用,下载后请24小时内删除,代码虽然是公开学习的,但请尊重作者,应留下说明
|
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyPublic.js'); |
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcJyPublic.js'); |
|
|
|
|
|
|
|
|
|
|
|
function Live() { |
|
|
|
function Live() { |
|
|
|
addListener("onClose", $.toString(() => { |
|
|
|
addListener("onClose", $.toString(() => { |
|
|
@ -15,7 +15,7 @@ function Live() { |
|
|
|
title: '⚙管理中心⚙', |
|
|
|
title: '⚙管理中心⚙', |
|
|
|
img: getIcon("聚影.svg"), |
|
|
|
img: getIcon("聚影.svg"), |
|
|
|
url: $('hiker://empty#noRecordHistory##noHistory#').rule(() => { |
|
|
|
url: $('hiker://empty#noRecordHistory##noHistory#').rule(() => { |
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); |
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcLive.js'); |
|
|
|
LiveSet(); |
|
|
|
LiveSet(); |
|
|
|
}), |
|
|
|
}), |
|
|
|
col_type: 'avatar' |
|
|
|
col_type: 'avatar' |
|
|
@ -186,13 +186,13 @@ function Live() { |
|
|
|
let longClick = getMyVar('editmode', '0') == "1" ? [{ |
|
|
|
let longClick = getMyVar('editmode', '0') == "1" ? [{ |
|
|
|
title: "删除此分组", |
|
|
|
title: "删除此分组", |
|
|
|
js: $.toString((groupname, lists) => { |
|
|
|
js: $.toString((groupname, lists) => { |
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); |
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcLive.js'); |
|
|
|
return GroupEdit(groupname, 'del', lists); |
|
|
|
return GroupEdit(groupname, 'del', lists); |
|
|
|
}, groupname, lists) |
|
|
|
}, groupname, lists) |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
title: "重命名分组", |
|
|
|
title: "重命名分组", |
|
|
|
js: $.toString((groupname) => { |
|
|
|
js: $.toString((groupname) => { |
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); |
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcLive.js'); |
|
|
|
return GroupEdit(groupname, 'rename'); |
|
|
|
return GroupEdit(groupname, 'rename'); |
|
|
|
}, groupname) |
|
|
|
}, groupname) |
|
|
|
}] : []; |
|
|
|
}] : []; |
|
|
@ -200,7 +200,7 @@ function Live() { |
|
|
|
longClick.push({ |
|
|
|
longClick.push({ |
|
|
|
title: "推送至TVBOX", |
|
|
|
title: "推送至TVBOX", |
|
|
|
js: $.toString((groupname, lists) => { |
|
|
|
js: $.toString((groupname, lists) => { |
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); |
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcLive.js'); |
|
|
|
return GroupEdit(groupname, 'pushBox', lists); |
|
|
|
return GroupEdit(groupname, 'pushBox', lists); |
|
|
|
}, groupname, lists) |
|
|
|
}, groupname, lists) |
|
|
|
}) |
|
|
|
}) |
|
|
@ -357,13 +357,13 @@ function guanlidata(datalist) { |
|
|
|
let longClick = getMyVar('editmode', '0') == "1" ? [{ |
|
|
|
let longClick = getMyVar('editmode', '0') == "1" ? [{ |
|
|
|
title: "删除此频道", |
|
|
|
title: "删除此频道", |
|
|
|
js: $.toString((name) => { |
|
|
|
js: $.toString((name) => { |
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); |
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcLive.js'); |
|
|
|
return LiveEdit(name, 'del'); |
|
|
|
return LiveEdit(name, 'del'); |
|
|
|
}, name) |
|
|
|
}, name) |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
title: "重命名频道", |
|
|
|
title: "重命名频道", |
|
|
|
js: $.toString((name) => { |
|
|
|
js: $.toString((name) => { |
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); |
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcLive.js'); |
|
|
|
return LiveEdit(name, 'rename'); |
|
|
|
return LiveEdit(name, 'rename'); |
|
|
|
}, name) |
|
|
|
}, name) |
|
|
|
}] : []; |
|
|
|
}] : []; |
|
|
@ -371,7 +371,7 @@ function guanlidata(datalist) { |
|
|
|
longClick.push({ |
|
|
|
longClick.push({ |
|
|
|
title: "推送至TVBOX", |
|
|
|
title: "推送至TVBOX", |
|
|
|
js: $.toString((name) => { |
|
|
|
js: $.toString((name) => { |
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); |
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcLive.js'); |
|
|
|
return LiveEdit(name, 'pushBox'); |
|
|
|
return LiveEdit(name, 'pushBox'); |
|
|
|
}, name) |
|
|
|
}, name) |
|
|
|
}) |
|
|
|
}) |
|
|
@ -381,7 +381,7 @@ function guanlidata(datalist) { |
|
|
|
img: globalMap0.getVar('Jy_gmParams').getIcon("直播-tv.svg"), |
|
|
|
img: globalMap0.getVar('Jy_gmParams').getIcon("直播-tv.svg"), |
|
|
|
col_type: 'icon_2_round', |
|
|
|
col_type: 'icon_2_round', |
|
|
|
url: $('#noLoading#').lazyRule((name) => { |
|
|
|
url: $('#noLoading#').lazyRule((name) => { |
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); |
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcLive.js'); |
|
|
|
return LivePlay(name); |
|
|
|
return LivePlay(name); |
|
|
|
}, name), |
|
|
|
}, name), |
|
|
|
extra: { |
|
|
|
extra: { |
|
|
|