update SrcJyXunmi.js.

pull/1/head
src48597962 3 years ago committed by Gitee
parent d45fa01781
commit fe13695af3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 10
      SrcJyXunmi.js

@ -749,11 +749,19 @@ function xunmierji(type,ua) {
if (list == undefined || list.length == 0) { if (list == undefined || list.length == 0) {
playlist('0'); playlist('0');
} else { } else {
if (/v1|app|v2|iptv/.test(type)) { if (/v1|app|v2|iptv|xpath/.test(type)) {
var listone = list[0].split('$')[0]; var listone = list[0].split('$')[0];
try{
let list1 = list[0].split('$')[1];
let list2 = list[list.length-1].split('$')[1];
if(parseInt(list1)>parseInt(list2)){
list.reverse();
}
}catch(e){}
}else{ }else{
//cms //cms
} }
if (listone) { if (listone) {
var len = listone.length; var len = listone.length;
} }

Loading…
Cancel
Save