Add plex.timeout configuration
MODIFY
plextraktsync/config.default.yml
plextraktsync/config.default.yml
@@ -8,6 +8,9 @@ excluded-libraries:
config:
dotenv_override: true
+plex:
+ timeout: 30
+
logging:
append: true
debug: false

MODIFY
plextraktsync/plex_server.py
plextraktsync/plex_server.py
@@ -29,6 +29,7 @@ def _get_plex_server():
server = None
plexapi.X_PLEX_PLATFORM = PLEX_PLATFORM
+ plexapi.TIMEOUT = CONFIG["plex"]["timeout"]
plexapi.BASE_HEADERS["X-Plex-Platform"] = plexapi.X_PLEX_PLATFORM
session = factory.session()

Add plex.timeout configuration