[mythtv] [patch] Proposing some schedule recordings changes
Vedran Rodic
vedran at vodatel.hr
Wed Sep 1 04:48:24 EDT 2004
Bruce Markey wrote:
> Then the end time shouldn't be checked. The chanid_starttime
> is enough to match them up.
>
Okay, the attatched patch should be fine then?
I understand your other points.
But what about this?: There still is a problem with stopping a recording
and starting another on the same program in the same minute. If we add a
unique id to recorded table and make this a primary key instead of
(chanid, startdime) pair then this should be fixed.
If we add a 'stopped' or 'finishled' boolean field to the recorded table
we could solve the 'restart stopped recordings on backend restart' problem.
Vedran
-------------- next part --------------
Index: programs/mythbackend/encoderlink.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/programs/mythbackend/encoderlink.cpp,v
retrieving revision 1.35
diff -u -1 -b -p -u -r1.35 encoderlink.cpp
--- programs/mythbackend/encoderlink.cpp 15 Aug 2004 22:38:31 -0000 1.35
+++ programs/mythbackend/encoderlink.cpp 1 Sep 2004 08:34:23 -0000
@@ -136,4 +136,3 @@ bool EncoderLink::MatchesRecording(Progr
if (tvrec->chanid == rec->chanid &&
- tvrec->recstartts == rec->recstartts &&
- tvrec->recendts == rec->recendts)
+ tvrec->recstartts == rec->recstartts)
{
More information about the mythtv-dev
mailing list