Remove library selection and default theme
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user