For a while now my server has been pretty chaotic when it comes to detecting intros and credits. Its almost constantly doing it, and creates a CPU rollercoaster (as seen in screenshot).
While I appreciate this feature very much, I wonder if perhaps the state of my PMS is somehow corrupted. Is this a normal pattern? Is there a way to kind of optimize/reset the intro detection for my library? I’ve often noticed it re-processing the same episodes, etc.
Set the time window for server maintenance to a time of day where you are not using your Plex server much. Set it to perform intro and credits detection not while ingesting new media. https://support.plex.tv/articles/201553286-scheduled-tasks/
The algorithms for intro/credit detection are sometimes updated in a new server version. All detections done with an earlier version are updated automatically.
Apart from that, make sure that your server’s general /temp folder has plenty of free storage available as it is used during detection. A lack of free space leads to the detection being aborted and retried next time.
I do have my scheduled tasks setup for an overnight window, however intro/credit detection does not seem to adhere to this window, and runs outside it. Are you 100% certain that intro/credits detection is considered ‘background maintenance’?