[mythtv-commits] Ticket #12290: Commercial Flagging isn't being queued.

MythTV noreply at mythtv.org
Sat Apr 9 18:58:32 UTC 2016


#12290: Commercial Flagging isn't being queued.
------------------------------------+-----------------------------
 Reporter:  Bill Meek <keemllib@…>  |          Owner:
     Type:  Bug Report - General    |         Status:  new
 Priority:  minor                   |      Milestone:  0.28
Component:  MythTV - General        |        Version:  Master Head
 Severity:  medium                  |     Resolution:
 Keywords:                          |  Ticket locked:  0
------------------------------------+-----------------------------

Comment (by Bill Meek <bmeek@…>):

 In [changeset:"2e98fb583276c3966fed21fab354b11c7e5d591c/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="2e98fb583276c3966fed21fab354b11c7e5d591c"
 Restore queuing of jobs when a recording finishes.

 Reverts a portion of ffef83f. In TVRec::FinishedRecording, a check
 of the recording's filesize is made. If it's less than 1000, then
 PreviewGeneratorQueue isn't run. JOB_COMMFLAG and JOB_TRANSCODE
 get removed from the queue.

 After ffef83f ProgramInfo::GetFilesize will, at times, return a
 filesize of 0 even though it's not. This is always 0 at the end
 of a recording (only DVB and HDHOMERUN card types tested.)

 This workaround will use the RecordedInfo filesize value if it's
 non zero because in all tests, if non zero, the RI filesize
 matched the value returned from the DB.

 If RI filesize is zero, then there's no way to know if it's valid,
 so use the 'old' DB query. If VB_RECORD is set and the DB filesize
 is > 0 (and RI filesize = 0) then LOG.

 I'm assuming that simply removing the 1000 byte test is a worse
 workaround to the problem.

 Refs #12290
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12290#comment:17>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list