Ticket #12165: autoexpire.2.patch

File autoexpire.2.patch, 696 bytes (added by wowatheron@…, 10 years ago)

Fixed patch, was missing a space in the query

  • (a) a/mythtv/mythtv/programs/mythbackend/autoexpire.cpp.orig vs. (b) b/mythtv/mythtv/programs/mythbackend/autoexpire.cpp

    diff --git a/mythtv/mythtv/programs/mythbackend/autoexpire.cpp.orig b/mythtv/mythtv/programs/mythbackend/autoexpire.cpp
    index 6f19eef..5ac7b4e 100644
    a b void AutoExpire::ExpireEpisodesOverMax(void) 
    665665
    666666    MSqlQuery query(MSqlQuery::InitCon());
    667667    query.prepare("SELECT recordid, maxepisodes, title "
    668                   "FROM record WHERE maxepisodes > 0 "
     668                  "FROM record WHERE maxepisodes > 0 and autoexpire != 0 "
    669669                  "ORDER BY recordid ASC, maxepisodes DESC");
    670670
    671671    if (query.exec() && query.isActive() && query.size() > 0)