Plex - Set a timeout of 10 seconds to connect to the server (#596)
authormicha91 <michael.harbarth@gmx.de>
Wed, 29 Mar 2023 19:36:23 +0000 (21:36 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Mar 2023 19:36:23 +0000 (21:36 +0200)
commit43dd9fa7612628ca86a5bd763ff6995e22f68825
tree8eb620327f79e0de99f43b7a14e5631255601ea9
parenta4279fdeb3cd45e9a15dd96c3e4b63f1fb5f2e8d
Plex - Set a timeout of 10 seconds to connect to the server (#596)

Set a timeout of 10 seconds to connect to the server. On connect all known addresses of the server are tried out and afterwards the best one (SSL over non SSL and local over remote) is used. The current timeout sometimes takes longer than the MA timeout of 30 seconds for the setup of a provider
music_assistant/server/providers/plex/__init__.py