On Sat, 2005-11-12 at 11:52 -0500, Isaac Richards wrote: > On Saturday 12 November 2005 11:49 am, Daniel Kristjansson wrote: > > I wonder how hard would it be to add 'seconds' to the starttime? > A second or two would work just as well as a minute, I'd just be worried > about > a race when creating the recordings. Right now we call ProgramInfo::StartedRecording() after we've created the Ringbuffer so the threat of a race is real. But if we called this just before creating the RingBuffer, we could insure that the chanid w/starttime is unique in StartedRecording() and then generate the RingBuffer filename with the possibly modified starttime.
If the recording never starts filling up the file for any reason (such as no-signal in the DTV case) we could delete the recorded table entry and the file, when the recording finishes. It could even be handled with the auto-expire of short recordings code... -- Daniel
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
