mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix: 避免在匿名环境下暴露Plex地址以及Plex Token
This commit is contained in:
@@ -294,7 +294,9 @@ class PlexModule(_ModuleBase, _MediaServerBase[Plex]):
|
|||||||
links = []
|
links = []
|
||||||
items: List[schemas.MediaServerPlayItem] = self.mediaserver_latest(num=count, username=username)
|
items: List[schemas.MediaServerPlayItem] = self.mediaserver_latest(num=count, username=username)
|
||||||
for item in items:
|
for item in items:
|
||||||
link = server.get_remote_image_by_id(item_id=item.id, image_type="Backdrop")
|
link = server.get_remote_image_by_id(item_id=item.id,
|
||||||
|
image_type="Backdrop",
|
||||||
|
plex_url=False)
|
||||||
if link:
|
if link:
|
||||||
links.append(link)
|
links.append(link)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user