fix themoviedb季不显示

This commit is contained in:
jxxghp
2024-03-17 15:59:21 +08:00
parent 5f80aa5b7c
commit f2a40e1ec3

View File

@ -615,11 +615,12 @@ class MediaInfo:
"""
返回字典
"""
self.clear()
dicts = asdict(self)
dicts["type"] = self.type.value if self.type else None
dicts["detail_link"] = self.detail_link
dicts["title_year"] = self.title_year
dicts["tmdb_info"] = None
dicts["douban_info"] = None
return dicts
def clear(self):