[mythtv-users] Removing commercials

Michael Rice mikerice1969 at gmail.com
Sat Nov 3 07:05:39 UTC 2007


On 11/2/07, Harry Devine <lifter89 at comcast.net> wrote:
> OK, I made that change to the script, and setup another recording last
> night.  I setup the recording job via Mythweb and told it to flag
> commercials, and to run the Remove Commercials user job (formerly User
> Job #1).  I just checked the recording and the commercials are still in
> there, so obviously, that didn't work either.  Would there be any
> information in the logs somewhere that I could look at?

The removecommercials script flags the commercials so you don't need
to run a separate job for that.  Not sure if mythcommflag returns an
error if trying to reflag but if so that might explain why the script
exited early.

In any case you can check the Information Center/System Info/Log
Entries in the front end to see if your job ran and if it succeeded.
You can also check your mythbackend log.  That is where you will find
the messages related to your job.  You should see something like this:

2007-10-01 17:30:39.304 JobQueue: Started "Remove Commercials" for
"That '70s Show" recorded from channel 1053 at Mon Oct 1 17:00:00 2007
2007-10-01 17:30:39.315 jobqueue: Job "Remove Commercials" Started:
Started "Remove Commercials" for "That '70s Show" recorded from
channel 1053 at Mon Oct 1 17:00:00 2007
2007-10-01 17:30:40.280 Using runtime prefix = /usr
2007-10-01 17:30:40.460 New DB connection, total: 1
2007-10-01 17:30:40.511 mythcommflag version: 0.20.20070821-1 www.mythtv.org
2007-10-01 17:30:40.512 Enabled verbose msgs: important

MythTV Commercial Flagger, started at Mon Oct  1 17:30:40 2007
Flagging commercial breaks for:
ChanID  Start Time      Title                                      Breaks
------  --------------  -----------------------------------------  ------
2007-10-01 17:30:40.525 New DB connection, total: 2
1053    20071001170000  That '70s Show                             2007-10-01 17

...

Finished commercial break flagging at Mon Oct  1 17:32:48 2007
...
2007-10-01 17:32:48.967 Switching to MPEG-2 transcoder.
2007-10-01 17:32:49.068 Parser not found for Codec Id: 94210 !
Mux rate: 4.46 Mbit/s
2007-10-01 17:32:54.070 16.2% complete
2007-10-01 17:32:59.350 26.7% complete
2007-10-01 17:33:04.448 35.0% complete
2007-10-01 17:33:09.476 40.5% complete
2007-10-01 17:33:14.479 47.8% complete
2007-10-01 17:33:19.484 60.7% complete
2007-10-01 17:33:24.495 76.9% complete
2007-10-01 17:33:29.571 86.8% complete
2007-10-01 17:33:34.627 99.9% complete
2007-10-01 17:33:51.460 Using runtime prefix = /usr
2007-10-01 17:33:51.606 New DB connection, total: 1
2007-10-01 17:33:51.653 mythcommflag version: 0.20.20070821-1 www.mythtv.org
2007-10-01 17:33:51.654 Enabled verbose msgs: important

MythTV Commercial Flagger, started at Mon Oct  1 17:33:51 2007
Rebuilding SeekTable(s) for:
ChanID  Start Time      Title                                      Status
------  --------------  -----------------------------------------  ------
2007-10-01 17:33:51.677 New DB connection, total: 2

...
2007-10-01 17:34:40.792 JobQueue: Finished "Remove Commercials" for
"That '70s Show" recorded from channel 1053 at Mon Oct 1 17:00:00
2007.
2007-10-01 17:34:40.863 jobqueue: Job "Remove Commercials" Finished:
Finished "Remove Commercials" for "That '70s Show" recorded from
channel 1053 at Mon Oct 1 17:00:00 2007.


More information about the mythtv-users mailing list