|
|
|
@ -293,7 +293,11 @@ function aliMyDisk(folder_id,nofilter) { |
|
|
|
|
let play = aliMyPlayUrl(file_id); |
|
|
|
|
if (play.urls) { |
|
|
|
|
if (sub_file_url) { |
|
|
|
|
play['subtitle'] = sub_file_url; |
|
|
|
|
let subfile = 'hiker://files/_cache/subtitles/'+file_id+'.srt'; |
|
|
|
|
downloadFile(sub_file_url, subfile, {"referer": "https://www.aliyundrive.com/"}) |
|
|
|
|
if(fetch(subfile)){ |
|
|
|
|
play['subtitle'] = getPath(subfile); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
//play.urls.unshift(file_url+ "#isVideo=true##pre#");
|
|
|
|
|
//play.names.unshift("原始 画质");
|
|
|
|
|