AList support music

pull/69/head
FongMi 3 years ago
parent bfacb8d313
commit 6bf89b4f0d
  1. 5
      app/src/main/java/com/github/catvod/bean/alist/Item.java
  2. 2
      app/src/main/java/com/github/catvod/spider/AList.java
  3. BIN
      jar/custom_spider.jar
  4. 2
      jar/custom_spider.jar.md5

@ -93,8 +93,9 @@ public class Item {
return getType() == 1;
}
public boolean isVideo(boolean v3) {
return getType() == (v3 ? 2 : 3);
public boolean isMedia(boolean v3) {
if (v3) return getType() == 2 || getType() == 3;
return getType() == 3 || getType() == 4;
}
public boolean ignore(boolean v3) {

@ -101,7 +101,7 @@ public class AList extends Spider {
Sorter.sort("name", "asc", parents);
List<String> playUrls = new ArrayList<>();
for (Item item : parents) {
if (item.isVideo(drive.isNew())) {
if (item.isMedia(drive.isNew())) {
playUrls.add(Trans.get(item.getName()) + "$" + item.getVodId(path) + findSubs(path, parents));
}
}

Binary file not shown.

@ -1 +1 @@
5013870b5cce8147c2a877f4da966cf0
7d655c54d086110028be6074c85dce66

Loading…
Cancel
Save