MythTV does not run mythcommflag

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
weff
Junior
Posts: 28
Joined: Sun Nov 26, 2017 5:46 am
Australia

MythTV does not run mythcommflag

Post by weff »

Thought I'd try out mythcommflag again after giving up on it about 10 years ago. Trouble is, I can't get mythtv to run it at all!

It's OK on the command-line.

In mythtvsetup I have:

JobQueue->CPU = Medium
JobQueue-> Allow Advert-detection jobs - ticked
Channel Setup->All the channels are "Use Global Settings"

JobQueueCommFlagCommand /usr/bin/mythcommflag --syslog --method all -j %JOBID% -V %VERBOSELEVEL% NULL
... but I also tried plain 'mythcommflag'

Is there something else involved?

So I tried substituting a script for mythcommflag command so I could at least see if it tried to start:

JobQueueCommFlagCommand /usr/local/bin/debug /usr/bin/mythcommflag --syslog --method all -j %JOBID% -V %VERBOSELEVEL% NULL

where 'debug' is this:

Code: Select all

#!/usr/bin/env bash
logger -- $0 "$@"
... but nothing showed up in the logs (journalctl -e) so it looks like it's not trying to start the commflag.

I even tried allowing commflag to run while recording - but nada.

This is mythtv-0.28 on fedora-24

Any ideas?
User avatar
bill6502
Developer
Posts: 2325
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: MythTV does not run mythcommflag

Post by bill6502 »

Hi,

"plain 'mythcommflag'" is all you need, the other options will be supplied/
inherited from mythbackend.

You've got the right bits above, but didn't mention setting the option in the
recording rule. I set it in the Default rule so new rules get it set automatically.
If you change the Default, you still must change all existing rules you want
it to run on.

On a running backend, type: mythbackend --setverbose system to see the
actual command being run.
weff
Junior
Posts: 28
Joined: Sun Nov 26, 2017 5:46 am
Australia

Re: MythTV does not run mythcommflag

Post by weff »

Ah! The recording rule needs a tweak too! Thank you- it's now flagging. I'm also going to be trying silence dot py instead of mythcommflag as the latter doesn't do such a good job with Australian FTA as far as I can see.
Post Reply