fix 全局变量定义

This commit is contained in:
jxxghp
2024-09-09 22:17:49 +08:00
parent f18b9793b4
commit c3ef3dd7d1
14 changed files with 88 additions and 87 deletions

View File

@@ -22,7 +22,7 @@ class PlexModule(_ModuleBase, _MediaServerBase):
return
for server in mediaservers:
if server.type == "plex" and server.enabled:
self._servers[server.name] = Plex(**server.config)
self._servers[server.name] = Plex(**server.config, sync_libraries=server.sync_libraries)
@staticmethod
def get_name() -> str: