[mythtv] [PATCH] Controlled autoexpire vs immediate deletion

Kai Fritzowsky mythtv-dev at blackhole.hadinet.de
Sun Mar 27 01:11:34 UTC 2005


On Sat, Mar 26, 2005 at 02:50:51PM -0800, Brad Templeton wrote:
> On Sat, Mar 26, 2005 at 11:46:39PM +0100, Kai Fritzowsky wrote:
> > 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.

Agreed. But I'd like to have some feedback in the ui. Maybe a list similar
to "Set Priorities"? For now I'm using the attached perl script to see which
recordings will be autoexpired next.

/Kai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printautoexpirelist.pl
Type: text/x-perl
Size: 1739 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050327/c06adec2/printautoexpirelist.pl


More information about the mythtv-dev mailing list