[solved]mythcommflag not working

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

Moderator: Forum Moderators

User avatar
bill6502
Developer
Posts: 2439
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: mythcommflag not working

Post by bill6502 »

OK, let's rule out the issue in that link. Enter this on your backend:

Code: Select all

curl --silent --header 'Accept:Application/JSON' localhost:6544/Myth/GetSetting?Key=JobQueueCommFlagCommand\&HostName=_GLOBAL_
Since it works from the command line, this shouldn't be the issue.

I would be nice to see the full mythcommflag log from one failing session. You could put
it at pastebin.com or wherever you prefer as long as anyone can read it. Put a link to it
here. Or, if it's short, just paste it here.
hedgehog52
Junior
Posts: 79
Joined: Fri Sep 04, 2015 6:08 pm
United States of America

Re: mythcommflag not working

Post by hedgehog52 »

bill6502 wrote:
Thu May 04, 2023 4:47 pm
OK, let's rule out the issue in that link. Enter this on your backend:

Code: Select all

curl --silent --header 'Accept:Application/JSON' localhost:6544/Myth/GetSetting?Key=JobQueueCommFlagCommand\&HostName=_GLOBAL_
Since it works from the command line, this shouldn't be the issue.
Here is what I got

Code: Select all

bob@musem:~$ curl --silent --header 'Accept:Application/JSON' localhost:6544/Myth/GetSetting?Key=JobQueueCommFlagCommand\&HostName=_GLOBAL_
{"String": "\/usr\/bin\/mythcommflag --file %FILE%"}
I would be nice to see the full mythcommflag log from one failing session. You could put
it at pastebin.com or wherever you prefer as long as anyone can read it. Put a link to it
here. Or, if it's short, just paste it here.
Give me maybe 30 minutes on this. I had already manually started mythcommflag to see if that would result in a log entry. That may have to complete before starting one in mythfrontend will run. I dunno.
User avatar
bill6502
Developer
Posts: 2439
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: mythcommflag not working

Post by bill6502 »

Do you have a private version of mythcommflag? The link says change it to just: mythcommflag
(that's what mine is).
User avatar
bill6502
Developer
Posts: 2439
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: mythcommflag not working

Post by bill6502 »

Do you have a private version of mythcommflag? The link says change it to just: mythcommflag
(that's what mine is).

It's in mythtv-setup General->Job Queue (Global):->Commercial Detection Command

When you run from the command line it doesn't look at that setting. When Job Queue runs,
it does.

No need for a log if this fixes it.
hedgehog52
Junior
Posts: 79
Joined: Fri Sep 04, 2015 6:08 pm
United States of America

Re: mythcommflag not working

Post by hedgehog52 »

bill6502 wrote:
Thu May 04, 2023 5:22 pm
Do you have a private version of mythcommflag? The link says change it to just: mythcommflag
(that's what mine is).
Yeah, I had reread that thread and noticed he said *"mythcommflag" is a special word that tells the job queue to use the normal commercial flagging application* probably about the same time you did. So I changed it and it does work! I've been stuck on this for about 2 1/2 years now and this was all it took to fix it. :( I'm pretty sure that doing the same to transcode will fix that problem, as well.

Thank you Very Very Much for helping me with this. I would still be foundering on the shores of aggravation without your help!
Post Reply