I never turn the computer off. I let it go to sleep automatically. My Windows power plan is set to make that happen after 10 minutes of inactivity.
Any scheduled task should cause the computer to wake up, just like scheduled OTA recordings do in NextPVR, but sadly, not in PlexDVR. Sigh.
The scheduled task isn’t mention anywhere in the doc about commercial skipping, also.
The Scheduled task menu itself doesn’t mention anything about commercial skipping.
I think it’s really silly not to run the commercial skipping when content is scanned into the library. I certainly don’t want to wait 24 hours to watch programs commercial-free.
I set the scheduled task to the hour before now, and I see comskip is indeed running over the whole library I re-created. It’s using only about 15% CPUs - about 2 of the 16 logical threads. Task manager shows it chugging at about 24 MB/s, which is way more than the maximum throughput of any TV tuner, or even quad tuner. I really don’t see why the commercial skip processing has to be delayed.
In fact, I would like to sometimes like to watch programs delayed by just 15 minutes, so I can start at 15 minutes on the hour and finish on the next hour, and have the commercials automatically skipped in real-time. I have tried that with NextPVR, but there is a bug, probably in the NextPVR client, when watching a program the same time as it is being analyzed for commercials. NextPVR skips at bogus times in that scenario, making the program unwatchable. Once the program is fully recorded and analyzed, commercial skips are properly skipped.
I haven’t tried the same scenario in PlexDVR. The doc for commercial skip implies that comskip only runs after the program is recorded, not while it’s being recorded. It should be able to run real-time though, since it consumes so little CPU.
If the processing must run on a schedule, then at least it should be more efficient. Scheduling it at night at using only 2 out of 16 processor threads is silly. That means commercial skip processing will run 8 times as long as it otherwise could, and thus consume 8 times as much electricity as needed.
I tried to play with thread_count in comskip.ini, but the best I could achieve was about 50% CPU utilization with thread_count=32 on my Ryzen 2700 . I guess it makes sense that commercial skipping algorithms are not highly parallel. Plex Media Server could allow spawning multiple comskip processes at once, though, on different videos, though, but I didn’t see any such option.
None of this would be an issue if commercial skipping ran immediately upon importing content, as opposed to on schedule.
Or if Plex DVR supported proper power management and wake-up events for recordings, so that NextPVR didn’t have to be used.