[mythtv-users] Excessive disk usage in remotecache on Raspberry Pi

Michael T. Dean mtdean at thirdcontact.com
Tue Dec 6 11:45:53 UTC 2016


On 12/06/2016 06:33 AM, Tremayne, Steve wrote:
> Going back to the original post:
>
>>> This directory has many files with names like 3707_20161124170000.ts.png.
> Isn't the conversation about ctime / atime / mtime / *time irrelevant? The filename already contains a timestamp...
>
> So, couldn't the logic be something simpler like "if (characters 6-13) of filename > (today + 30days) then delete"?

The time information in the file name is the start time for the 
recording.  So, that would tell us that it was recorded more than 30 
days ago--which doesn't say whether the user still needs the thumbnail.  
It also wouldn't help with other (non-recording-thumbnail) images.  :(

Mike


More information about the mythtv-users mailing list