fix no_exits

This commit is contained in:
yubanmeiqin9048
2023-08-11 16:31:45 +08:00
parent 98a51f6ddc
commit 266b1d60a7
7 changed files with 25 additions and 17 deletions

View File

@ -293,10 +293,10 @@ class Jellyfin(metaclass=Singleton):
if not item_id:
return {}
# 验证tmdbid是否相同
item_tmdbid = self.get_iteminfo(item_id).get("ProviderIds", {}).get("Tmdb")
if tmdb_id and item_tmdbid:
if str(tmdb_id) != str(item_tmdbid):
return {}
item_tmdbid = self.get_iteminfo(item_id).get("ProviderIds", {}).get("Tmdb")
if tmdb_id and item_tmdbid:
if str(tmdb_id) != str(item_tmdbid):
return {}
if not season:
season = ""
try: