fix
This commit is contained in:
parent
8ce0db0bcf
commit
310015820e
@ -72,7 +72,7 @@ class TransferChain(ChainBase):
|
||||
if not mediainfo:
|
||||
logger.warn(f'未识别到媒体信息,标题:{torrent.get("title")}')
|
||||
self.post_message(title=f"{torrent.get('title')} 未识别到媒体信息,无法入库!\n"
|
||||
f"回复:```/transfer {torrent.get('hash')} [tmdbid]``` 手动识别转移。")
|
||||
f"回复:```\n/transfer {torrent.get('hash')} [tmdbid]\n``` 手动识别转移。")
|
||||
continue
|
||||
else:
|
||||
mediainfo = arg_mediainfo
|
||||
@ -85,8 +85,7 @@ class TransferChain(ChainBase):
|
||||
logger.warn(f"{torrent.get('title')} 入库失败")
|
||||
self.post_message(
|
||||
title=f"{mediainfo.get_title_string()}{meta.get_season_episode_string()} 入库失败!",
|
||||
text=f"原因:{transferinfo.get('message') if transferinfo else '未知'}\n"
|
||||
f"路径:{torrent.get('path')}",
|
||||
text=f"原因:{transferinfo.get('message') if transferinfo else '未知'}",
|
||||
image=mediainfo.get_message_image()
|
||||
),
|
||||
continue
|
||||
|
@ -35,7 +35,7 @@ class Command(metaclass=Singleton):
|
||||
"description": "同步站点Cookie",
|
||||
"data": {}
|
||||
},
|
||||
"/doubansync": {
|
||||
"/douban_sync": {
|
||||
"func": DoubanSyncChain().process,
|
||||
"description": "同步豆瓣想看",
|
||||
"data": {}
|
||||
|
@ -69,7 +69,7 @@ class AutoSignIn(_PluginBase):
|
||||
:return: 命令关键字、事件、描述、附带数据
|
||||
"""
|
||||
return {
|
||||
"cmd": "/sitesignin",
|
||||
"cmd": "/site_signin",
|
||||
"event": EventType.SiteSignin,
|
||||
"desc": "站点签到",
|
||||
"data": {}
|
||||
|
@ -70,7 +70,7 @@ class SiteStatistic(_PluginBase):
|
||||
:return: 命令关键字、事件、描述、附带数据
|
||||
"""
|
||||
return {
|
||||
"cmd": "/sitestatistic",
|
||||
"cmd": "/site_statistic",
|
||||
"event": EventType.SiteStatistic,
|
||||
"desc": "站点数据统计",
|
||||
"data": {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user