autoscan icon indicating copy to clipboard operation
autoscan copied to clipboard

Prevent crashing when failing to connect to Plex

Open tomerpeleg-pub opened this issue 3 years ago • 1 comments

Right now if autoscan fails to connect to plex it shuts down with the error "Failed initialising target". When using autoscan and plex with docker, it can sometimes take plex a couple minutes to start up, whereas autoscan is much faster. As a result even if starting plex first, autoscan often fails to start and therefore has to be manually restarted later. This makes starting or updating the docker automatically difficult.

Might it be possible to add either a configurable delay to the startup script, or possibly even a method for retrying the connection every few minutes if it initially fails?

Thanks!

tomerpeleg-pub avatar Sep 14 '21 11:09 tomerpeleg-pub

Also interested in this, but with a slightly different approach, I'd like to be able to mark a server as allowed to fail, meaning that if autoscan doesn't see it, it just skips it but continues to push updates to all the online servers

musicderp avatar May 19 '22 03:05 musicderp