[mythtv] [PATCH] Controlled autoexpire vs immediate deletion
Brad Templeton
brad+mydev at templetons.com
Sat Mar 26 22:50:51 UTC 2005
On Sat, Mar 26, 2005 at 11:46:39PM +0100, Kai Fritzowsky wrote:
> Hi!
>
> Sometimes (or often), you want to delete a recording after watching it.
> You delete it and the day after your wife tells you that you shouldn't...
>
> This patch adds a menu entry to the delete box enabling the user to set the
> autoexpire value to 999, so the given recording will be deleted before the
> untouched ones but not immediately. So far, there is no indication of the
> current autoexpire value in the frontend. If there's some interest, I will
> be happy to add that.
>
> A short time ago there was the thread "Proposed alternate behaviour for show
> delete". Since there was no consensus about the necessity of an undelete
> functionality, I don't think this patch will make it into the cvs.
> Unfortunately I don't have enough time to implement one of the better ideas
> mentioned there. Anyway, it works quite good for me, and I thought someone
> might be interested.
Well, it seemed that while many people are in the "Delete shows when done,
autoexpire is a backup" camp but Isaac isn't so he wasn't too keen as
you indicate.
However, even with a partial implementation, I suggest the following:
Add 1000 to the existing autoexpire number rather than setting it
to 999. Thus if there was already an autoexpire ordering on the
files, it keeps it even for the deleted shows. Right now the only
autoexpire ordering is done by tvwish, and the very basic binary
(0 or 1) setting.
More information about the mythtv-dev
mailing list