[mythtv-commits] mythtv commit: r7949 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Nov 20 17:00:38 EST 2005


      Author: cpinkham
        Date: 2005-11-20 22:00:37 +0000 (Sun, 20 Nov 2005)
New Revision: 7949
   Changeset: http://cvs.mythtv.org/trac/changeset/7949

Modified:

   trunk/mythtv/programs/mythbackend/autoexpire.cpp

Log:

Make AutoExpire MaxEpisodes remember which programs it has seen that are
not over the Max so if it sees another part of the same program, it will
not expire that part either and will not count it towards the MaxEpisodes
count.  This comparison is done using chanid, progstart, and progend to
detect situations where a recording is split across multiple files such as
happens when a backend is reestarted while it is recording something.
When a program with multiple recording parts does expire because it is
over the max, all parts of the recording should be expired, not just one.
This is only for MaxEpisodes, normal AutoExpire has not been modified to
work this way (yet).

Add a LOC #define for autoexpire.cpp similar to what other source files use
in their VERBOSE calls.






More information about the mythtv-commits mailing list