As mentioned in #35, the current approach is not suited for huge libraries as the scan of the Plex library happens too often and can take too much time.
This PR adds:
A cache file for the PlexServerCache class
A parameter refresh_library_on_scan that prevents PAL from refreshing the library on every Plex scan if set to false. The drawback of disabling this is that the episode with updated files will no longer be picked up outside of the scheduler task
As mentioned in #35, the current approach is not suited for huge libraries as the scan of the Plex library happens too often and can take too much time.
This PR adds:
PlexServerCache
classrefresh_library_on_scan
that prevents PAL from refreshing the library on every Plex scan if set tofalse
. The drawback of disabling this is that the episode with updated files will no longer be picked up outside of the scheduler task