[mythtv-users] 0.25 lookup metadata as part of jobqueue?

Michael Watson michael at thewatsonfamily.id.au
Mon Mar 19 01:49:00 UTC 2012


On 19/03/2012 12:21 PM, Scott & Nicole Harris wrote:
>>> On 03/17/2012 04:28 PM, Scott&  Nicole Harris wrote:
>>>> I have upgraded to 0.25.  I've put Michael W's (thanks Michael W!)
>>>> script
>>>> in
>>>> place, but removed the --logfile part because 0.25 doesn't like it.
>>>> Don't
>>>> have any recordings scheduled until tomorrow, so I'll keep you posted.
>>> In 0.25 on Ubuntu (assuming you're using their packages from their repo
>>> - http://www.mythbuntu.org/repos ), you should use --syslog local7 .
>>> See http://www.mythtv.org/wiki/Rsyslog_Configuration .
>>> Mike
>> It actually seems worse under 0.25.  Now commflag jobs are failing or
>> deciding half way through a show that they're finished.  The attached log
>> is
>> basically for 2 commflag jobs that I have been trying to run tonight.  One
>> failed so I re-queued it.  Then both came back as "finished" but the shows
>> were still recording.
>> I then re-queued both again under mythbackend oto see what would happen.
>> Both went a little longer, but then decided they were done at about the
>> 50% - 70% point.
> It appears that jobs running from the SBE that run in real time are deciding
> they're done when they catch up to the actual recording in progress.  This
> has happened consistently now with every recording from tonight over several
> re-queues, under mythjobqueu or mythbackend.  Here's the releveant logs from
> two of them...
>
> Mar 18 20:00:07 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:179 (OpenDatabase) Connected to database 'mythconverg' at
> host: 192.168.25.30
> Mar 18 20:00:07 myth-backend2 mythjobqueue[933]: I Commflag_7505
> jobqueue.cpp:2275 (DoFlagCommercialsThread) JobQueue: Commercial Detection
> Starting for "Once Upon a Time":"Heart of Darkness" recorded from channel
> 1131 at 2012-03-18T20:00:00
> Mar 18 20:00:07 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager4'
> Mar 18 20:00:12 myth-backend2 mythjobqueue[933]: I Commflag_7506
> mythdbcon.cpp:75 (MSqlDatabase) Database connection created: DBManager5
> Mar 18 20:00:12 myth-backend2 mythjobqueue[933]: I Commflag_7506
> mythdbcon.cpp:298 (popConnection) New DB connection, total: 4
> Mar 18 20:00:12 myth-backend2 mythjobqueue[933]: I Commflag_7506
> mythdbcon.cpp:179 (OpenDatabase) Connected to database 'mythconverg' at
> host: 192.168.25.30
> Mar 18 20:00:12 myth-backend2 mythjobqueue[933]: I Commflag_7506
> jobqueue.cpp:2275 (DoFlagCommercialsThread) JobQueue: Commercial Detection
> Starting for "The Amazing Race":"Uglier Than a Mud Rail Fence" recorded from
> channel 1031 at 2012-03-18T20:00:00
> Mar 18 20:00:12 myth-backend2 mythjobqueue[933]: I Commflag_7506
> mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager5'
> Mar 18 20:01:16 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:75 (MSqlDatabase) Database connection created: DBManager6
> Mar 18 20:01:16 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:298 (popConnection) New DB connection, total: 4
> Mar 18 20:01:16 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:179 (OpenDatabase) Connected to database 'mythconverg' at
> host: 192.168.25.30
> Mar 18 20:01:16 myth-backend2 mythjobqueue[933]: E Commflag_7505
> jobqueue.cpp:2361 (DoFlagCommercialsThread) JobQueue: Commercial Detection
> Errored: "Once Upon a Time":"Heart of Darkness" recorded from channel 1131
> at 2012-03-18T20:00:00 (Failed with exit status 140)
> Mar 18 20:01:16 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager6'
> Mar 18 20:07:16 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:75 (MSqlDatabase) Database connection created: DBManager7
> Mar 18 20:07:16 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:298 (popConnection) New DB connection, total: 4
> Mar 18 20:07:16 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:179 (OpenDatabase) Connected to database 'mythconverg' at
> host: 192.168.25.30
> Mar 18 20:07:16 myth-backend2 mythjobqueue[933]: I Commflag_7505
> jobqueue.cpp:2275 (DoFlagCommercialsThread) JobQueue: Commercial Detection
> Starting for "Once Upon a Time":"Heart of Darkness" recorded from channel
> 1131 at 2012-03-18T20:00:00
> Mar 18 20:07:16 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager7'
> Mar 18 20:24:08 myth-backend2 mythjobqueue[933]: I Commflag_7506
> mythdbcon.cpp:75 (MSqlDatabase) Database connection created: DBManager8
> Mar 18 20:24:08 myth-backend2 mythjobqueue[933]: I Commflag_7506
> mythdbcon.cpp:298 (popConnection) New DB connection, total: 4
> Mar 18 20:24:08 myth-backend2 mythjobqueue[933]: I Commflag_7506
> mythdbcon.cpp:179 (OpenDatabase) Connected to database 'mythconverg' at
> host: 192.168.25.30
> Mar 18 20:24:08 myth-backend2 mythjobqueue[933]: W Commflag_7506
> previewgenerator.cpp:735 (IsLocal) Preview: Output path
> '/mythtv_storage2/recordings' is not writeable
> Mar 18 20:24:10 myth-backend2 mythjobqueue[933]: E Commflag_7506
> previewgenerator.cpp:254 (Run) Preview: Encountered problems running
> '/usr/bin/mythpreviewgen --size 0x0 --chanid 1031 --starttime
> 20120318200000 --verbose general --loglevel info --syslog local7 --quiet'
> (128)
> Mar 18 20:24:10 myth-backend2 mythjobqueue[933]: I Commflag_7506
> mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager8'
> Mar 18 20:35:44 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:75 (MSqlDatabase) Database connection created: DBManager9
> Mar 18 20:35:44 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:298 (popConnection) New DB connection, total: 4
> Mar 18 20:35:44 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:179 (OpenDatabase) Connected to database 'mythconverg' at
> host: 192.168.25.30
> Mar 18 20:35:44 myth-backend2 mythjobqueue[933]: W Commflag_7505
> previewgenerator.cpp:735 (IsLocal) Preview: Output path
> '/mythtv_storage1/recordings' is not writeable
> Mar 18 20:35:45 myth-backend2 mythjobqueue[933]: E Commflag_7505
> previewgenerator.cpp:254 (Run) Preview: Encountered problems running
> '/usr/bin/mythpreviewgen --size 0x0 --chanid 1131 --starttime
> 20120318200000 --verbose general --loglevel info --syslog local7 --quiet'
> (128)
> Mar 18 20:35:45 myth-backend2 mythjobqueue[933]: I Commflag_7505
> mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager9'
>
>
Do the commflag jobs report "Failed with exit status 140"?
I have gotten this randomly on commflag jobs since upgraded to 0.25 (on 
Ubuntu 10.04).
Hasnt concerned me that much, as commflagging seems to be pretty random 
in my part of the world anyway.
(ie, some recordings its almost perfect, other recordings it will detect 
0 commercials, even when the commflag job runs successfully)



More information about the mythtv-users mailing list