[mythtv-users] Undelete - new feature idea
Michael T. Dean
mtdean at thirdcontact.com
Sat Feb 24 00:20:12 UTC 2007
On 02/23/2007 07:00 PM, Joel Anderson wrote:
> I once made an attempt at this and hacked up source from the .18-ish
> (maybe older) code to do an undelete of sorts, making use of the
> existing autoexpire functionality. I made some small changes and then
> a tiny shell script on a cron job to update the autoexpire field on
> the recordings (due to lack of c++ coding skill/experience to do it in
> the Myth code properly).
>
> In Myth enabled autoexpire on most of my recordings, set to "oldest
> first" mode (IIRC), "do not re-record autoexpired shows", and made a
> recording group called "watched". Anything that got put into that
> group had it's autoexpire value bumped up to a high number based on
> when it was marked as watched by the cron job. Inverse of the
> record's last modified date I think it was, to cause "oldest watched"
> to have the highest number and therefore expired first.
Current SVN trunk has a "watched" flag that can be specified and Myth
can be configured with:
Auto Expire watched programs before unwatched
If set, programs that have been marked as watched will be expired first
Oh, and there's a setting:
Re-record watched programs
If set, programs that have been marked as watched and are auto-expired
will be re-recorded if they are shown again.
Myth can even be configured to:
Automatically mark a record watched
If set, when you exit near the end of a recording it will be marked as
watched. The automatic detection is not foolproof, so do not enable this
setting if you don't want an unwatched recording marked as watched.
I don't remember if it's possible to filter the Watched recordings from
the playback box, but if so, all the better.
Note, though, that this isn't the same as an "undelete" in that it is
used to specify that you have seen a program, and nothing more. It's
just that these other options allow those who choose to do so to use it
to get the same functionality they expect of the "undelete."
Mike
More information about the mythtv-users
mailing list