Alist support mpg
This commit is contained in:
parent
835da56930
commit
d5987bb0e1
|
|
@ -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…
Reference in New Issue