[mythtv-users] maxnewest | maxepisodes | autoexpire

John Patrick Poet john at BlueSkyTours.com
Wed Aug 4 16:46:54 EDT 2004


On Wed, 4 Aug 2004, Chris Pinkham wrote:

> As the guy who added both the autoexpire and maxnewest/maxepisodes
> options, I'll say they function separately as intended.

Thanks Chris.  I like the way it works.

>  The code that
> handles the maxepisodes delete is inside the autoexpire thread, but that
> was done for ease of implementation.  I have had it on my TODO for a long
> time to look at adding some sort of "UNdeletable" flag on a recording
> that could be turned on to mark an episode as undeletable.  This flag
> would apply everywhere in Myth including auto-expire, maxepisodes, and
> the Watch Recordings and Delete screens.  Here's how it would be handled:
>
> Auto-Expire -
> 	Auto-expire would ignore this recording when gathering the list of
> 	programs that can be expired (even if the auto-expire flag was set
> 	for the recording).
>
> MaxNewest/MaxEpisodes -
> 	If maxnewest and maxepisodes were set, then the code that deletes
> 	the oldest episode would delete the oldest episode that was deletable
> 	meaning the oldest episode that did not have the undeletable flag set.
>
> Watch Recordings/Delete screens -
> 	If the user tried to delete the recording, a popup would inform them
> 	that the recording was flagged as undeletable.  The 'Delete' button
> 	would probably not be available on the menu, or it could be available,
> 	but would popup the "this recording is flagged as undeletable" dialog
> 	the same as if the user had hit the 'D' key.


Sounds good.

When "auto expiring", would it make sense to sort by lowest priority first,
then age?  I get the impression that it currently just checks age.

Thanks,

John


More information about the mythtv-users mailing list