|
|
@ -1171,16 +1171,21 @@ function xunmierji(type,ua) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
setTabs(tabs, MY_URL); |
|
|
|
setTabs(tabs, MY_URL); |
|
|
|
|
|
|
|
|
|
|
|
//推送tvbox
|
|
|
|
//推送tvbox
|
|
|
|
|
|
|
|
if(getItem('enabledpush', '') == '1'){ |
|
|
|
let push = { |
|
|
|
let push = { |
|
|
|
"name":MY_PARAMS.title||'聚影', |
|
|
|
"name":MY_PARAMS.title||'聚影', |
|
|
|
"pic":pic.replace('@referer=',''), |
|
|
|
"pic":pic.replace('@referer=',''), |
|
|
|
"content":desc |
|
|
|
"content":desc |
|
|
|
}; |
|
|
|
}; |
|
|
|
let tvip = getItem('hikertvboxset', 'http://192.168.3.2:9978'); |
|
|
|
let tvip = getItem('hikertvboxset', ''); |
|
|
|
d.push({ |
|
|
|
d.push({ |
|
|
|
title: '推送当前列表至TVBOX', |
|
|
|
title: '推送当前列表至TVBOX', |
|
|
|
url: $("#noLoading#").lazyRule((push,list,tvip) => { |
|
|
|
url: $("#noLoading#").lazyRule((push,list,tvip) => { |
|
|
|
|
|
|
|
if(tvip==""){ |
|
|
|
|
|
|
|
return 'toast://TVBOX接收端ip地址未设置'; |
|
|
|
|
|
|
|
} |
|
|
|
let oneurl = list[0].split('$')[1]; |
|
|
|
let oneurl = list[0].split('$')[1]; |
|
|
|
if(/^http/.test(oneurl)){ |
|
|
|
if(/^http/.test(oneurl)){ |
|
|
|
push['url'] = list.join('#').replace(/\&/g, '&&'); |
|
|
|
push['url'] = list.join('#').replace(/\&/g, '&&'); |
|
|
@ -1206,6 +1211,7 @@ function xunmierji(type,ua) { |
|
|
|
}, push, lists[parseInt(getMyVar(MY_URL, '0'))], tvip), |
|
|
|
}, push, lists[parseInt(getMyVar(MY_URL, '0'))], tvip), |
|
|
|
col_type: 'scroll_button' |
|
|
|
col_type: 'scroll_button' |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//选集部份
|
|
|
|
//选集部份
|
|
|
|
function setLists(lists, index) { |
|
|
|
function setLists(lists, index) { |
|
|
|