Remove library selection and default theme

This commit is contained in:
Koha9
2025-06-20 22:32:05 +09:00
parent 75a413667d
commit 83c5780c57
4 changed files with 6 additions and 15 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ from plexapi.myplex import MyPlexAccount
from plexapi.server import PlexServer
def connect_plex(config, username, password, url, port="32400", library=""):
def connect_plex(config, username, password, url, port="32400"):
"""Return a connected PlexServer instance and update config with token and server info."""
token = config.get("token")
if not token:
@@ -12,5 +12,5 @@ def connect_plex(config, username, password, url, port="32400", library=""):
base_url = f"http://{url}:{port}"
server = PlexServer(base_url, token)
config.update({"server_url": url, "server_port": port, "library": library})
config.update({"server_url": url, "server_port": port})
return server