Alist support mpg

This commit is contained in:
FongMi 2023-05-12 17:08:26 +08:00
parent 835da56930
commit d5987bb0e1
3 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -1 +1 @@
c0dd741debca724250c91df251fdb2cf
836941085af643869ef5e0d9dce6d301