Alist support mpg

pull/69/head
FongMi 3 years ago
parent 835da56930
commit d5987bb0e1
  1. 3
      app/src/main/java/com/github/catvod/bean/alist/Item.java
  2. BIN
      jar/custom_spider.jar
  3. 2
      jar/custom_spider.jar.md5

@ -94,12 +94,13 @@ public class Item {
}
public boolean isMedia(boolean isNew) {
if (getName().endsWith(".ts") || getName().endsWith(".mpg")) return true;
if (isNew) return getType() == 2 || getType() == 3;
return getType() == 3 || getType() == 4;
}
public boolean ignore(boolean isNew) {
if (getName().endsWith(".ts")) return false;
if (getName().endsWith(".ts") || getName().endsWith(".mpg")) return false;
if (isNew) return getType() == 0 || getType() == 4;
return getType() == 0 || getType() == 2 || getType() == 5;
}

Binary file not shown.

@ -1 +1 @@
c0dd741debca724250c91df251fdb2cf
836941085af643869ef5e0d9dce6d301

Loading…
Cancel
Save