From 69e4c0974cd16570fadf789fc6ba2cacd3460ea8 Mon Sep 17 00:00:00 2001 From: KhooLy <73142442+KhooLy@users.noreply.github.com> Date: Thu, 9 Jul 2026 21:29:41 +0300 Subject: [PATCH] Don't filter anime discover results by native item type "anime" is a virtual content-type bucket in Discover that doesn't map to Stremio's native movie/series type field, so items from anime-flagged catalogs were being dropped when their underlying type didn't literally equal "anime". Treat it like the empty-filter case. --- src/search_plan.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/search_plan.rs b/src/search_plan.rs index 6dac9e6..0af68db 100644 --- a/src/search_plan.rs +++ b/src/search_plan.rs @@ -373,6 +373,7 @@ pub(crate) fn discover_sort_plan_json(request_json: &str) -> Option { .iter() .filter(|item| { let type_ok = content_type.is_empty() + || content_type == "anime" || item .get("type") .and_then(Value::as_str)