|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|