mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-13 17:09:43 +08:00
fix 添加订阅成功消息增加演员名称、简介
This commit is contained in:
@@ -233,6 +233,10 @@ class SubscribeChain(ChainBase, metaclass=Singleton):
|
||||
text = f"评分:{mediainfo.vote_average},来自用户:{username}"
|
||||
else:
|
||||
text = f"评分:{mediainfo.vote_average}"
|
||||
if mediainfo.actors:
|
||||
text += f"\n演员:{'、 '.join([actor['name'] for actor in mediainfo.actors])}"
|
||||
if mediainfo.overview:
|
||||
text += f"\n简介:{mediainfo.overview}"
|
||||
if mediainfo.type == MediaType.TV:
|
||||
link = settings.MP_DOMAIN('#/subscribe/tv?tab=mysub')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user