Server Version#: 1.41.3.9314
Player Version#: n/a
Tuner Make/Model:
Guide/Lineup name:
Using XMLTV?:
Channel number/Name:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
I noticed high CPU usage on my plex server. Investigation showed that Commercial Skipper was being run for shows which had already had their ads stripped out. In the middle of the night, as a housekeeping task? Not sure why it triggers on two-day old shows.
I have “Detect and Delete Commercials” set for these shows. That part works fine… the resulting show has commercials stripped out as expected. Of course subsequent run of the Commercial skipper shows “no commercials found” in the log, but why is it being rerun at all?
Seems like a bug? Server should know that there is no reason to rerun the ad skipper for such tv shows.
Server Version#: 1.41.4.9463
Player Version#: n/a
Tuner Make/Model: HDHomerun Flex 4K
Guide/Lineup name: n/a
Using XMLTV?: no
Channel number/Name: n/a
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
I, too, noticed high CPU usage on my server, and investigation shows that commercial skipper is re-processing every TV show I’ve ever recorded with my DVR, every night. This is absurd.
Was going to create a new post regarding this but I found this one so I decided to tag onto it.
Are you using the “Detect and Delete Commercials” option as well?
Detect and mark for skip is the safer option. It also prevents the issue you’re seeing because Plex can determine if an item has already had ad detection run by looking for the presence of commercial markers. (That’s how it determines whether or not ad detection should be run for an item.)
The only workaround I’m aware of for the problem you’re seeing is to set PMS’ Settings → Library → Generate ad video markers to Never. In this way items recorded by the DVR will still have ad detection run immediately after recording, but no scheduled task will run to catch ads in manually-added items.
[Edit]
Actually, I misspoke. Setting it to Never doesn’t actually work (I’d have sworn it did in the past). So I’m not actually aware of any workaround.
Yes I’m using “detect and delete” commercials. Posting to enliven this thread.
Mainly because for these shows I don’t want to have to jump up to grab the remote to skip.
The commercial cutter works perfectly for the shows I’m recording.
Also opposed to the idea of wasting disk storage on commercial pap.
Seems all that’s needed is a flag in the metadata for whether the commercial cutter has been run or not for the item.. a simple task for someone with access to the code is my guess. Just depending on the skip flags does not work for all cases.
It’s really annoying to find the plex host running full on CPU for hours on end every night. The only way I have been able to get around it is to move the shows off to separate library or otherwise manually clean things up which really sucks.
Same is happening with Win 10 and Win 11 Plex server. The commercial skipper runs at 2:00 a.m. like crazy on all recordings even if the commercials have already been stripped. Heavy CPU and disk use. Very annoying, especially for large recorded libraries.
" All I need to do really is turn off the commercial scan option for the library itself in the tv show library settings."
Are you referring to the Manage/Libraries/Edit Library (recordings)/Advanced/Ad Detection and set this to Disabled? How about credits detection and intro detection? Will these trigger scheduled task reanalysis at 2am also?
Yes. that’s it… credits and intro detection should be fine because they are contained in the metadata. BUT commercials if stripped and deleted there is no metadata preserved, only the truncated file itself and no way for plex server to know the work had already been done.
IMHO a bug but easily worked around by turning off that setting as you noted.
at least for my use case it’s fine.
FYI to view metadata for an item use the menu down to “Get Info” and click on “view XML”
I came here looking for answers because I have the same problem.
My CPU has been re-running the commercial detection on shows for the past few months over and over.
It doesn’t do it for every show, but I think it’s doing it for shows that it wasn’t able to detect commercials on the first time. So then it tries again the next night (which will likely fail again since nothing has changed).
There was one user that mentioned this could be a possibility a while ago:
If this is the case, that’s a bit disappointing.
agree, in retrospect I can’t see why anyone would use this option to autoscan the folder.
if say I had a batch of shows which contained commercials and I wanted to strip them I would just dump the files into the folder, let them populate and then run an “analyize” on the folder one and done