Plex-Meta-Manager icon indicating copy to clipboard operation
Plex-Meta-Manager copied to clipboard

Feature Request: add flag to skip loading library data from Plex

Open chazlarson opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Sometimes I run iterative tests of stuff; for these tests I don't really care if the list of movies in Plex is absolutely current, yet I have to wait for the library to be loaded from Plex every time. For large libraries, this can be time-consuming. For example, my main Movie library has >45K movies in it, and I'm willing to accept that during the twenty minutes I'm testing something, I won't get information on any new movies that happen to show up in Plex. The tradeoff of not having to wait through the minutes of loading on each iteration is more valuable in that context.

Describe the solution you'd like I envision a --cache-library flag that will, on first run, cache sufficient information from Plex that subsequent runs with that flag can skip the "loading from Plex" step entirely. The first run without the flag in place would clear the cache, which ensures that it's only in place for the time that the user needs it and won't have follow-on effects the next time it's run.

Describe alternatives you've considered A not-quite alternative would be a small testing library, but that would have to be recreated for each scenario, and it still has the issue of PMM having to scan the same stuff from Plex every iteration. I often run these sort of tests against my 4K library, which only has 2800 movies, but of course there's a lot of scenarios not covered by those 2800, and scanning those 2800 adds a minute or two to every iteration.

chazlarson avatar Feb 03 '22 21:02 chazlarson