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

Chris Petersen lists at forevermore.net
Tue Dec 2 00:50:04 EST 2003


Ok, since no one has responded to my previous question, I'm asking
again.

Mythweb is currently broken - not getting the correct recording status
of to-be-recorded shows.  As far as I can tell, the data structure has
changed, but I don't know what that means.  The following is from
ToStringList:

((title != "") ? title : QString(" "));
((subtitle != "") ? subtitle : QString(" "));
((description != "") ? description : QString(" "));
((category != "") ? category : QString(" "));
((chanid != "") ? chanid : QString(" "));
((chanstr != "") ? chanstr : QString(" "));
((chansign != "") ? chansign : QString(" "));
((channame != "") ? channame : QString(" "));
((pathname != "") ? pathname : QString(" "));
encodeLongLong(list, filesize);
startts.toString(Qt::ISODate);
endts.toString(Qt::ISODate);
QString::number(conflicting);
QString::number(recording);
QString::number(override);
((hostname != "") ? hostname : QString(" "));
QString::number(sourceid);
QString::number(cardid);
QString::number(inputid);
((recpriority != "") ? recpriority : QString(" "));
QString::number(norecord);
QString::number(recordid);
QString::number(rectype);
QString::number(recdups);
recstartts.toString(Qt::ISODate);
recendts.toString(Qt::ISODate);
QString::number(repeat);


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.

-Chris



More information about the mythtv-dev mailing list