[mythtv-users] recording every _day_ vs recording every week typoi

Kirby Vandivort kvandivo at ks.uiuc.edu
Sun Aug 24 19:19:33 EDT 2003


Figured it out..

on, or around line 106 in infodialog.cpp (I had added the progtype line
below, remember) there is code that looks like:

    if (programtype == 2 ||
        programtype == -1 ||
        recordstatus == kWeekslotRecord)
    {
        msg = tr("Record this program in this timeslot every week");
        rt = kTimeslotRecord;
    }



change that    rt =    to
   
        rt = kWeekslotRecord;


and it is now working as it should be.





On Sun, Aug 24, 2003 at 06:50:40PM -0400, Chris Pinkham wrote:
> > I'm hitting 'enter' or the space bar.
> > 
> > Fwiw, the mysql entry for gilmore girls immediately after I hit
> > enter on the 'record this program in this timeslot every week' option
> > from the program guide is:
> 
> > | recordid | type | chanid | starttime | startdate  | endtime  | enddate    | title         | subtitle             | description | profile | category | rank | maxepisodes | autoexpire | recorddups | maxnewest |
> > |       74 |    2 |   1012 | 19:00:00  | 2003-08-26 | 20:00:00 | 2003-08-26 | Gilmore Girls | Happy Birthday, Baby | Lorelai is busy rebuilding the inn when Richard surprises her. |       0 | Drama    |    0 |           0 |          1 |          0 |         0 |
> 
> That shows a type '2' which is daily timeslot.  Can you try scheduling it
> as something else to see if it saves correctly?  The list of types is
> in mythtv/libs/libmythtv/scheduledrecording.h at the top.
> 
> > I've tried removing the scheduled recording and adding it again, and it
> > remains the same.  I'll be happy to provide any other info that I can.
> > I'm now running the latest cvs.  (not even from a few days ago.  :)
> 
> When you re-added it, did the data look the same in mysql?
> 
> > Ahh.. I just discovered something interesting..  If I'm in the program 
> > guide and hit the space bar on gilmore girls, I get the description
> > screen as described above, but at that point, I also get the following
> > on stdout..
> 
> Can you add a line like this:
> 
> 	programtype = pginfo->IsProgramRecurring();
> 
> around line 56 or so in libs/libmythtv/infodialog.cpp and see if that
> fixes that up?  It should be above the section that looks like this:
> 
>     if (recordstatus == kTimeslotRecord && programtype == 0)
>     {
>         cerr << "error, somehow set to record timeslot and it doesn't seem to "
>                 "have one\n";
>         recordstatus = kSingleRecord;
>     }
> 
> 
> -- 
> 
> Chris
> 

> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


-- 

Kirby Vandivort                      Theoretical and Computational Biophysics 
Email: kvandivo at ks.uiuc.edu          3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/    University of Illinois
Phone: (217) 244-5711                405 N. Mathews Ave
Fax  : (217) 244-6078                Urbana, IL  61801, USA


More information about the mythtv-users mailing list