Ticket #2051: eit_airdate_fix.diff

File eit_airdate_fix.diff, 572 bytes (added by otto at kolsi dot fi, 13 years ago)

Fix for airdate problem

  • mythtv/libs/libmythtv/eit.cpp

     
    297297    if (lcategory.isEmpty() && !match.category.isEmpty())
    298298        lcategory = match.category;
    299299
    300     if (lairdate.isEmpty() && !match.airdate.isEmpty())
     300    if (lairdate.isEmpty() && !match.airdate.isEmpty() && !match.airdate == '0')
    301301        lairdate = match.airdate;
    302302
    303303    if (!loriginalairdate.isValid() && match.originalairdate.isValid())