更新 'SrcJyXunmi.js'

pull/1/head
src48597962 2 years ago
parent a2b80f8a62
commit 7c5791d1f9
  1. 13
      SrcJyXunmi.js

@ -1215,7 +1215,7 @@ function xunmierji(type,ua) {
//推送tvbox //推送tvbox
if(getItem('enabledpush','')=='1' && lists.length>0){ if(getItem('enabledpush','')=='1' && lists.length>0){
let push = { var movieinfo = {
"name": MY_PARAMS.title||'聚影', "name": MY_PARAMS.title||'聚影',
"pic": pic.split('@')[0], "pic": pic.split('@')[0],
"content": desc, "content": desc,
@ -1271,7 +1271,7 @@ function xunmierji(type,ua) {
} }
} }
return 'toast://所有线路均不支持推送列表'; return 'toast://所有线路均不支持推送列表';
}, push, tabs, lists, tvip), }, movieinfo, tabs, lists, tvip),
col_type: 'scroll_button' col_type: 'scroll_button'
}) })
} }
@ -1320,13 +1320,18 @@ function xunmierji(type,ua) {
extra.cacheM3u8 = true; extra.cacheM3u8 = true;
} }
if(getItem('enabledpush','')=='1'){ if(getItem('enabledpush','')=='1'){
try{
movieinfo['from'] = playtitle;
extra.longClick = [{ extra.longClick = [{
title: "推送至TVBOX", title: "推送至TVBOX",
js: $.toString((play) => { js: $.toString((play,movieinfo) => {
putMyVar('pushboxplay','1'); putMyVar('pushboxplay','1');
storage0.putMyVar('movieinfo',movieinfo);
return play; return play;
},playurl + DTJX) },playurl + DTJX,movieinfo)
}] }]
}catch(e){
}
} }
d.push({ d.push({
title: getHead(playtitle.replace(/第|集|话|期|-|new|最新|新/g, ''), Color3), title: getHead(playtitle.replace(/第|集|话|期|-|new|最新|新/g, ''), Color3),

Loading…
Cancel
Save