[mythtv] (How) does allow re-record work?

David Engel david at istwok.net
Tue Jul 24 18:43:32 UTC 2007


On Mon, Jul 23, 2007 at 04:59:03PM -0400, Tony Lill wrote:
> The "allow re-record" button in the "Previous Recorded" menu clears
> the duplicate flag in the old recorded table by calling ForgetHistory,
> which makes the scheduler ignore that entry when joining for duplicates.
> 
> The thing is that this button appears on all current recordings, and
> pressing this button seems to do SFA unless it's on an episode that is
                                   ???
> currently on. Although I suppose that, once I delete the recording, it
> will re-record then. Probably this button should be removed or made to
> function correctly in these cases.
> 
> Any ideas on a means to allow a currently recorded program to
> re-record without doing a delete? 

Using a find one showing rule with duplicate checking turned off might
work.  Using a single record or override record for future showing
that appears in the guide will work.  If you don't mind changing the
database directly, you can set recorded.duplicate to 0.

> I'm thinking now that if I can clear the duplicate flag in BOTH the
> recorded and oldrecorded tables, it would do what I want. Should I
> call ForgetHistory to deal with the oldrecorded table (since it does
> some extra cleanup)? 

Yes.

> Conversly, should ForgetHistory clear the
> duplicate flag in the recorded table. That should make the "allow
> re-record" to work.

Perhaps.  You could also add a menu item only available from the watch
recording screen to clear recorded.duplicate.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list