[mythtv] Autoexpire bug in 0.15

Chris Pinkham cpinkham at bc2va.org
Wed Jul 21 23:26:33 EDT 2004

> After over a year of enjoyment using MythTV, I finally found a very tiny way 
> to give a little something back.  Since I use MythTV in "production" (I have 
> a total of 3 boxes dedicated to myth and a slave backend on another), this 
> patch applies to (at least) 0.15, or specifically 0.15.1-r1 as it was 
> packaged by gentoo.  It is a small fix for the "Delete oldest over max" 
> function (and maybe others), when the target program resides on a slave.  It 
> appears that DoHandleDeleteRecording does a comparison against 
> ProgramInfo->hostname to determine where the file is.  However 
> GetProgramFromRecorded doesn't populate that field.  The attached patch (in 
> diff -u format) adds a few lines to ~/libs/libmythtv/programinfo.cpp to query 
> the hostname from the DB.  I only tested that this successfully autoexpired 
> files wherever they were.

Thanks for the patch.  I merged it into my local tree and will get it
committed to CVS in a little while.



More information about the mythtv-dev mailing list