fix 2b462a1b
This commit is contained in:
parent
a0ec38a6a9
commit
5e2f4b413d
@ -553,13 +553,13 @@ class MediaInfo:
|
||||
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"] = self.tmdb_info if self.tmdb_info else None
|
||||
return dicts
|
||||
|
||||
def clear(self):
|
||||
"""
|
||||
去除多余数据,减小体积
|
||||
"""
|
||||
self.tmdb_info = {}
|
||||
self.douban_info = {}
|
||||
self.seasons = {}
|
||||
self.genres = []
|
||||
|
@ -139,7 +139,7 @@ class AutoSignIn(_PluginBase):
|
||||
trigger="interval",
|
||||
hours=float(self._cron.strip()),
|
||||
name=f"站点自动{self._action}")
|
||||
logger.info(f"站点自动{self._action}服务启动,执行周期 {self._cron}")
|
||||
logger.info(f"站点自动{self._action}服务启动,执行周期 {self._cron} {self._start_time}-{self._end_time}")
|
||||
else:
|
||||
logger.error(f"站点自动{self._action}服务启动失败,周期格式错误")
|
||||
# 推送实时消息
|
||||
|
@ -146,8 +146,8 @@ class MediaInfo(BaseModel):
|
||||
status: Optional[str] = None
|
||||
# 标签
|
||||
tagline: Optional[str] = None
|
||||
# TMDB INFO
|
||||
tmdb_info: Optional[dict] = {}
|
||||
# 风格ID
|
||||
genre_ids: Optional[list] = []
|
||||
# 评价数量
|
||||
vote_count: Optional[int] = 0
|
||||
# 流行度
|
||||
|
Loading…
x
Reference in New Issue
Block a user