[mythtv-users] mythcommflag continues flagging after a show is deleted

Simon Hobson linux at thehobsons.co.uk
Mon Jan 8 17:45:32 UTC 2018


Will Dormann <wdormann at gmail.com> wrote:

> I have commercial flagging set up to start after recording is finished.
> Because the system is quite underpowered, the flagging will continue a
> good amount of time after the recording has finished.
> 
> The unexpected behavior I see is this:
> If I delete a recording that is being flagged (e.g. via mythweb), if I
> look at CPU usage of the system or via mythweb status, I can see that
> mythcommflag continues until the flagging is 100% complete.   Shouldn't
> MythTV cancel any flagging when a show is deleted?

My *guess* is that the devs didn't think it would be very common that people would be deleting recordings before they've finished flagging.
BTW - have you tried starting commflagging when the recording starts ? There's a fair number of things that can affect it, but running commflag as the program as it's being recorded means that commflag will be reading the program stream that's still cached in memory. Not starting till the recording is finished can mean that the data is no longer cached in memory and so needs to be read from disk again - adding significantly to disk I/O load.



More information about the mythtv-users mailing list