This commit is contained in:
FongMi 2023-11-20 17:36:56 +08:00
parent 06470570c7
commit 9f73e574dc
3 changed files with 4 additions and 4 deletions

View File

@ -237,7 +237,7 @@ public class AliYun {
List<Item> subs = new ArrayList<>();
listFiles(shareId, new Item(getParentFileId(fileId, share)), files, subs);
Collections.sort(files);
List<String> playFrom = Arrays.asList("原畫", "普畫");
List<String> playFrom = Arrays.asList("原畫", "普畫", "極速");
List<String> episode = new ArrayList<>();
List<String> playUrl = new ArrayList<>();
for (Item file : files) episode.add(file.getDisplayName() + "$" + shareId + "+" + file.getFileId() + findSubs(file.getName(), subs));
@ -359,9 +359,9 @@ public class AliYun {
}
public String playerContent(String[] ids, String flag) {
if (flag.split("#")[0].equals("")) {
if (flag.split("#")[0].equals("")) {
return getPreviewContent(ids);
} else if (flag.split("#")[0].equals("")) {
} else if (flag.split("#")[0].equals("")) {
return Result.get().url(getDownloadUrl(ids[0], ids[1])).octet().subs(getSubs(ids)).header(getHeader()).string();
} else if (flag.split("#")[0].equals("極速")) {
return Result.get().url(MultiThread.url(getDownloadUrl(ids[0], ids[1]), 4)).octet().subs(getSubs(ids)).header(getHeader()).string();

Binary file not shown.

View File

@ -1 +1 @@
5b9616f651958c10bc411893308610ff
41ef471afad9198e7273a12f9912578a