Ticket #10046: channeldata.patch

File channeldata.patch, 887 bytes (added by Jerry Rubinow <jerrymr@…>, 13 years ago)

patch for files in mythfilldatabase

  • mythtv/programs/mythfilldatabase/channeldata.cpp

    old new  
    270270                                     " WHERE xmltvid = :XMLTVID "
    271271                                     "AND sourceid = :SOURCEID;");
    272272                    subquery.bindValue(":CHANID", chanid);
    273                     subquery.bindValue(":NAME", (*i).name);
    274                     subquery.bindValue(":CALLSIGN", (*i).callsign);
     273                    subquery.bindValue(":NAME", (*i).name.trimmed());
     274                    subquery.bindValue(":CALLSIGN", (*i).callsign.trimmed());
    275275                    subquery.bindValue(":CHANNUM", (*i).chanstr);
    276276                    subquery.bindValue(":FINE", (*i).finetune.toInt());
    277277                    subquery.bindValue(":ICON", localfile);