From dc4b7ba71d89c9464d0b59a94dab0f4ef88bec0f Mon Sep 17 00:00:00 2001 From: cxfksword <718792+cxfksword@users.noreply.github.com> Date: Wed, 18 Jan 2023 18:39:59 +0800 Subject: [PATCH] Fix variety show actor list --- Jellyfin.Plugin.MetaShark/Api/DoubanApi.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jellyfin.Plugin.MetaShark/Api/DoubanApi.cs b/Jellyfin.Plugin.MetaShark/Api/DoubanApi.cs index 01a9449..fcfe335 100644 --- a/Jellyfin.Plugin.MetaShark/Api/DoubanApi.cs +++ b/Jellyfin.Plugin.MetaShark/Api/DoubanApi.cs @@ -450,6 +450,12 @@ namespace Jellyfin.Plugin.MetaShark.Api celebrityRole = celebrityRoleType; } + // 自己/嘉宾一般用于综艺 + if (celebrityRoleType != "导演" && celebrityRoleType != "配音" && celebrityRoleType != "演员" && celebrityRoleType != "自己" && celebrityRoleType != "嘉宾") + { + continue; + } + var celebrity = new DoubanCelebrity(); celebrity.Id = celebrityId; celebrity.Name = celebrityName;