Set default Plex port

This commit is contained in:
Koha9
2025-06-20 22:27:01 +09:00
parent aa4223b413
commit 75a413667d
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ from plexapi.myplex import MyPlexAccount
from plexapi.server import PlexServer
def connect_plex(config, username, password, url, port, library):
def connect_plex(config, username, password, url, port="32400", library=""):
"""Return a connected PlexServer instance and update config with token and server info."""
token = config.get("token")
if not token: