fix bug
This commit is contained in:
parent
53a514feb6
commit
4bcc6bd733
@ -304,11 +304,10 @@ class Jellyfin(metaclass=Singleton):
|
|||||||
if not item_id:
|
if not item_id:
|
||||||
return None, {}
|
return None, {}
|
||||||
# 验证tmdbid是否相同
|
# 验证tmdbid是否相同
|
||||||
item_info = self.get_iteminfo(item_id) or {}
|
item_info = self.get_iteminfo(item_id)
|
||||||
if item_info:
|
if item_info:
|
||||||
item_tmdbid = (item_info.get("ProviderIds") or {}).get("Tmdb")
|
if tmdb_id and item_info.tmdbid:
|
||||||
if tmdb_id and item_tmdbid:
|
if str(tmdb_id) != str(item_info.tmdbid):
|
||||||
if str(tmdb_id) != str(item_tmdbid):
|
|
||||||
return None, {}
|
return None, {}
|
||||||
if not season:
|
if not season:
|
||||||
season = ""
|
season = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user