[mythtv-users] deleted recordings don't seem to be expiring

Michael T. Dean mtdean at thirdcontact.com
Mon Jan 23 15:52:31 UTC 2017


On 01/23/2017 10:27 AM, Brian J. Murrell wrote:
> I have a number of recordings that seem to fit this pattern:
>
> # ls -l 1032_20100831120000.mpg
> -rw-rw-r-- 235 mythtv mythtv 34816 Nov 25  2014 1032_20100831120000.mpg
>
> $ echo 'select autoexpire,title,subtitle,starttime,basename,recgroup from recorded where basename = "1032_20100831120000.mpg";' | mysql -h pvr -u mythtv -pxxx mythconverg
> autoexpire	title	subtitle	starttime	basename	recgroup
> 9999	Holmes on Homes	Capitol Offence	2010-08-31 16:00:00	1032_20100831120000.mpg	Deleted
>
> $ mythbackend --printexpire | grep 1032_20100831120000
> [no results]
>
> Clearly that is a very old recording which was marked for deletion
> (probably a long time ago also) but is still hanging around.
>
> Any idea why?  It must not be meeting some criteria to be actually
> deleted but I don't know what it could be.
>
> Cheers,
> b.

TTBOMK deleted recordings aren't listed for "expiration". Expiration is 
automatic removal of a show rather than removal at user request.  
However, when MythTV needs space on the file system, deleted recordings 
like that one will be removed before any programs are actually expired.  
(Deleted first, then Live TV, then expiration of other recordings.)

If you want it to be removed before the space is required, set the "Time 
to retain deleted recordings (days)" setting to a value other than -1.

Mike


More information about the mythtv-users mailing list