mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 00:16:57 +08:00
Merge remote-tracking branch 'origin/v2' into v2
This commit is contained in:
@@ -233,6 +233,10 @@ class SubscribeChain(ChainBase, metaclass=Singleton):
|
|||||||
text = f"评分:{mediainfo.vote_average},来自用户:{username}"
|
text = f"评分:{mediainfo.vote_average},来自用户:{username}"
|
||||||
else:
|
else:
|
||||||
text = f"评分:{mediainfo.vote_average}"
|
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:
|
if mediainfo.type == MediaType.TV:
|
||||||
link = settings.MP_DOMAIN('#/subscribe/tv?tab=mysub')
|
link = settings.MP_DOMAIN('#/subscribe/tv?tab=mysub')
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -238,6 +238,7 @@ class ConfigModel(BaseModel):
|
|||||||
SECURITY_IMAGE_DOMAINS: List[str] = Field(
|
SECURITY_IMAGE_DOMAINS: List[str] = Field(
|
||||||
default_factory=lambda: ["image.tmdb.org",
|
default_factory=lambda: ["image.tmdb.org",
|
||||||
"static-mdb.v.geilijiasu.com",
|
"static-mdb.v.geilijiasu.com",
|
||||||
|
"bing.com",
|
||||||
"doubanio.com",
|
"doubanio.com",
|
||||||
"lain.bgm.tv",
|
"lain.bgm.tv",
|
||||||
"raw.githubusercontent.com",
|
"raw.githubusercontent.com",
|
||||||
|
|||||||
Reference in New Issue
Block a user