[mythtv] [PATCH] Allow recording of shows that have already started

Isaac Richards mythtv-dev@snowman.net
Fri, 18 Oct 2002 17:09:37 -0400

On Friday 18 October 2002 12:28 pm, Jim Radford wrote:
> Hi Isaac,
> It turns out that StartRecording currently does nothing when it is
> already recording.  There was a memory leak in that case, so I moved
> the allocation to tv.cpp where the delete was anyway.  So with this
> patch it does the right thing.  I also moved the sleep to a more
> logical place and added continues so that we don't use nextRecording
> when it's NULL.
> Currently there are no
>   recording -> recording
> transitions in tv.cpp so adding a second conflicting but higher
> priority show for the current time will not change what is currently
> recording.  If this is added then a special check for a noop when
> transitioning to recording the "same" show needs to be added.
> Would you accept a patch to save partially recorded shows?

Yup.  I'll commit this current patch once I get back from vacation.