diff --git a/app/src/main/java/com/github/catvod/bean/alist/Item.java b/app/src/main/java/com/github/catvod/bean/alist/Item.java index 016f1bda..1e542e5e 100644 --- a/app/src/main/java/com/github/catvod/bean/alist/Item.java +++ b/app/src/main/java/com/github/catvod/bean/alist/Item.java @@ -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; } diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 6c854da1..af87ebdc 100644 Binary files a/jar/custom_spider.jar and b/jar/custom_spider.jar differ diff --git a/jar/custom_spider.jar.md5 b/jar/custom_spider.jar.md5 index bc84a8db..e9ca8e64 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -c0dd741debca724250c91df251fdb2cf +836941085af643869ef5e0d9dce6d301 diff --git a/json/adult.json b/json/adult.json index 3baea59d..4c6a87ae 100644 --- a/json/adult.json +++ b/json/adult.json @@ -1,5 +1,5 @@ { - "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;c0dd741debca724250c91df251fdb2cf", + "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;836941085af643869ef5e0d9dce6d301", "wallpaper": "https://gao.chuqiuyu.tk", "sites": [ { diff --git a/json/config.json b/json/config.json index da2c93a1..2bdc6216 100644 --- a/json/config.json +++ b/json/config.json @@ -1,5 +1,5 @@ { - "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;c0dd741debca724250c91df251fdb2cf", + "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;836941085af643869ef5e0d9dce6d301", "wallpaper": "http://饭太硬.ga/深色壁纸/api.php", "sites": [ {