[mythtv] Re: [mythtv-commits] mythtv commits

Bruce Markey bjm at lvcm.com
Sat Jun 19 18:52:30 EDT 2004


mythtv at cvs.mythtv.org wrote:
> ----------------------------------------------------------------------------
> Changes committed by jdonavan on Sat Jun 19 20:32:04 2004
> 
> Modified Files:
>    in mythtv/libs/libmythtv:
>         scheduledrecording.cpp 
> Log Message:
> Allow setProgram to be called with a NULL program info.  This fixes the segfault when adding an override to a serach recording.

Well, now it doesn't dump core while it is failing to get the
proginfo it needs to create the override =). It now creates
type 7 and 8 with NULL chanid, zeroed out timestamps, etc.

David, can you help take a look at why the override button
options don't have proginfo when a search item is selected
from the conflicts page?

To reproduce: Go to Search Listings->Keywords to choose or add
a phrase that matches current listings. Press "M" and click "Record".
Go to Fix Scheduling Conflicts and highlight an item that matches
the search rule. Press Enter and click "Add Override". The override
will not take effect. The recorded table will have an entry with
missing program information:

mysql> select * from record where type = 7 \G
*************************** 1. row ***************************
   recordid: 2325
       type: 7
     chanid: NULL
  starttime: 00:00:00
  startdate: 0000-00-00
    endtime: 00:00:00
    enddate: 0000-00-00
      title:
   subtitle:
description:
   category:
    profile: High Quality
recpriority: -2
 autoexpire: 1
maxepisodes: 0
  maxnewest: 0
startoffset: 0
  endoffset: 89
   recgroup: Default
  dupmethod: 0
      dupin: 0
    station:
   seriesid:
  programid:
     search: 0
1 row in set (0.00 sec)

Note that this does have the profile, priority and endoffset
from the parent but not the chanid, times or title.

--  bjm






More information about the mythtv-dev mailing list