[mythtv] [mythtv-commits] Ticket #3788: instead of deleting a show, mark it for auto-expire and put in a "deleted" group

Roo roo.watt at gmail.com
Fri Aug 3 09:46:33 UTC 2007

On 03/08/07, MythTV <mythtv at cvs.mythtv.org> wrote:
> #3788: instead of deleting a show, mark it for auto-expire and put in a "deleted"
> group

I have only quickly reviewed the patch on the ticket (I am not a
programmer either) but have a few thoughts:

Firstly, great idea, I like it! :)

Looking at the patch it appears the config is a boolean, checkbox for
autoexpire instead of delete. I wonder if users will treat this as a
"Recycle Bin" for recordings, if they accidentally delete a recording
they can "Undelete" it.

I am concerned about the case where the recording is moved to the
"Deleted" group and the auto-expirer runs almost immediately
afterwards. This may mean the recording is not able to be undeleted
when the user is expecting the recording to not be immediately

Is it possible to retain the recordings in the "Deleted" group for a
configurable number of minutes, before enabling the auto-expire?
ie: "Autoexpire instead of delete after N minutes", that way I know I
have *at least* N minutes to "Undelete" the recording.

Maybe there already is a deterministic minimum time that the recording
will remain in the "Deleted Recordings" group as a function of the
housekeeping / auto expirer anyway.

I also think this works well with "slow deletes", the auto-expirer
could schedule deletes for times of low activity. ie no recordings
scheduled and no recordings being played back. Unless you are running
low on storage you will never be using myth when the deletes actually

I really like this idea... hope it gets committed soon. :)

More information about the mythtv-dev mailing list