Opened 14 years ago

Closed 14 years ago

#298 closed patch (fixed)

add --clearflagging option to mythcommflag

Reported by: jwestfall@… Owned by: cpinkham
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

patch adds a new option --clearflagging to mythcommflag that does a bulk reset all programs that are in a flagging state (COMM_FLAG_PROCESSING) back to not flagged (COMM_FLAG_NOT_FLAGGED).

Attachments (2)

commflag-clearflagging.diff (2.7 KB) - added by jwestfall@… 14 years ago.
commflag-clearflagging.2.diff (2.9 KB) - added by jwestfall@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by jwestfall@…

Attachment: commflag-clearflagging.diff added

Changed 14 years ago by jwestfall@…

comment:1 Changed 14 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham

comment:2 Changed 14 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [7270]) Mythcommflag and JobQueue? related changes.

  • Get rid of ProgramInfo::IsCommProcessing?() and convert all references to use JobQueue::IsJobRunning?(). In order for this method to still return true when a user ia manually running mythcommflag, mythcommflag will now insert a 'fake' job into the JobQueue? when it is not run from the JobQueue?. This job will be updated with normal status updates and will list the number of commercial breaks found, but will not be controlable by the user via mythfrontend. This also includes code to make sure shows aren't left in a state where they show they are being flagged when they really aren't. Also closes #298 since there should be no need for a --clearflagging command-line option to mythcommflag any more after this commit.
Note: See TracTickets for help on using tickets.