[mythtv] programinfo.cpp -> ToStringList (help?)

Isaac Richards ijr at po.cwru.edu
Tue Dec 2 01:51:37 EST 2003


On Tuesday 02 December 2003 12:50 am, Chris Petersen wrote:
> Ok, since no one has responded to my previous question, I'm asking
> again.

Sorry, I was thinking David would respond since they're his changes =)

> I understand most of this, since it's the same as it has been before,
> but some stuff like conflicting, etc seems to have moved from where it
> used to reside in the array.  And I don't see the ever-useful
> is_duplicate marker that used to be there.
>
> Could someone please enlighten me?  I'd like to get this stuff fixed.

Well, for duplicates, I believe it's going to have the 'norecord' value set to 
'2' -- see the NoRecordType enum in programinfo.h for all the various values.

If you want to enable a disabled recording (that's not a scheduling conflict), 
I believe you want to create a new entry in the recordoverride table with a 
override type of '1'..  To disable a program that would otherwise record, 
same thing with an override type of '2'.  Check out the SetOverride function 
in programinfo.cpp for how that works..

'Course, I'm not really _that_ familiar with the code, and I could be 
completely wrong here =)

Isaac


More information about the mythtv-dev mailing list