Permalink
Browse files

Rework ordering of command line processing in mythcommflag. Inputs are

no longer processed and stored to temporary variables, as required by
the previous command line parser, but are now pulled out of the parser
object as needed. The --skipdb parameter now behaves properly.

Fixes #9515

Use with no options is no longer permitted.  The old behavior of running
all recordings directly is no longer supported.  If the --queue
parameter is specified alone, it will queue a commercial detection job
for any recording that has not been previously flagged, and is not on a
commercial free channel.  The --force parameter will queue jobs for all
recordings, and the --rebuild will queue jobs to instead rebuild the
seektables.

Fixes #9152
  • Loading branch information...
1 parent 595f890 commit baf6105331ffac50f720e57006223486f8071b72 @wagnerrp wagnerrp committed Jul 7, 2011
Showing with 447 additions and 522 deletions.
  1. +1 −1 mythtv/libs/libmythbase/mythversion.h
  2. +2 −1 mythtv/libs/libmythtv/jobqueue.h
  3. +444 −520 mythtv/programs/mythcommflag/main.cpp
@@ -12,7 +12,7 @@
/// Update this whenever the plug-in API changes.
/// Including changes in the libmythbase, libmyth, libmythtv, libmythav* and
/// libmythui class methods used by plug-ins.
-#define MYTH_BINARY_VERSION "0.25.20110706-1"
+#define MYTH_BINARY_VERSION "0.25.20110707-1"
/** \brief Increment this whenever the MythTV network protocol changes.
*
@@ -58,7 +58,8 @@ enum JobFlags {
JOB_NO_FLAGS = 0x0000,
JOB_USE_CUTLIST = 0x0001,
JOB_LIVE_REC = 0x0002,
- JOB_EXTERNAL = 0x0004
+ JOB_EXTERNAL = 0x0004,
+ JOB_REBUILD = 0x0008
};
enum JobLists {
Oops, something went wrong.

0 comments on commit baf6105

Please sign in to comment.