Skip to content

Commit

Permalink
Merge pull request #965 from glensc/plex-timeout-config
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Jul 7, 2022
2 parents 740017e + 29d1f00 commit 355e19b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plextraktsync/config.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ excluded-libraries:
config:
dotenv_override: true

plex:
timeout: 30

logging:
append: true
debug: false
Expand Down
1 change: 1 addition & 0 deletions plextraktsync/plex_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 355e19b

Please sign in to comment.