ok from record table the dupmethod is set to 6 is that right?
also with your mini-patch i still get the same problem when i schedule
a bunch of shows - HOWEVER if i restart mythbackend it resolves them
all:
mythbox:/usr/local/src/mythtv# mythbackend -v schedule
2005-10-15 13:00:31.267 Using runtime prefix = /usr/local
2005-10-15 13:00:31.274 New DB connection, total: 1
Starting up as the master server.
2005-10-15 13:00:31.282 New DB connection, total: 2
2005-10-15 13:00:31.336 DVB#0 Using DVB card 0, with frontend Conexant
CX22702 DVB-T.
2005-10-15 13:00:31.337 New DB connection, total: 3
2005-10-15 13:00:31.357 DVB#1 Using DVB card 1, with frontend Zarlink
MT352 DVB-T.
2005-10-15 13:00:31.362 New DB scheduler connection
2005-10-15 13:00:31.392 mythbackend version: 0.19.20050712-1 www.mythtv.org
2005-10-15 13:00:31.392 Enabled verbose msgs : important general schedule
2005-10-15 13:00:31.393 AutoExpire: Found 2 recorders w/max rate of 277 MiB/min
2005-10-15 13:00:31.394 AutoExpire: space: 2.2 GB w/freq: 5 min
2005-10-15 13:00:33.367 Reschedule requested for id -1.
Query 0: /record.search = :NRST AND (record.recordid = :NRRECORDID OR
:NRRECORDID = -1) AND program.manualid = 0 AND program.title =
record.title
2005-10-15 13:00:33.373 |-- Start DB Query 0...
2005-10-15 13:00:33.375 |-- -1 results in 0.002162 sec.
2005-10-15 13:00:33.375 +-- Done.
2005-10-15 13:00:33.376 PruneOldRecords...
2005-10-15 13:00:33.376 AddNewRecords...
2005-10-15 13:00:33.377 |-- Start DB Query...
2005-10-15 13:00:33.383 |-- 40 results in 0.006168 sec. Processing...
2005-10-15 13:00:33.390 +-- Cleanup...
2005-10-15 13:00:33.390 AddNotListed...
2005-10-15 13:00:33.390 |-- Start DB Query...
2005-10-15 13:00:33.392 |-- 0 results in 0.001418 sec. Processing...
2005-10-15 13:00:33.392 Sort by time...
2005-10-15 13:00:33.392 PruneOverlaps...
2005-10-15 13:00:33.392 Sort by priority...
2005-10-15 13:00:33.393 BuildListMaps...
2005-10-15 13:00:33.393 SchedNewRecords...
2005-10-15 13:00:33.393 Scheduling:
2005-10-15 13:00:33.393 ClearListMaps...
2005-10-15 13:00:33.393 Sort by time...
2005-10-15 13:00:33.393 PruneRedundants...
2005-10-15 13:00:33.393 Sort by time...
--- print list start ---
Title - Subtitle Chan ChID Day Start End S C I T N Pri
--- print list end ---
2005-10-15 13:00:33.393 Scheduled 0 items in 0.0 = 0.01 match + 0.02 place
2005-10-15 13:00:33.395 Seem to be woken up by USER
2005-10-15 13:00:39.488 MainServer::HandleAnnounce Playback
2005-10-15 13:00:39.488 adding: crystal as a client (events: 0)
2005-10-15 13:00:41.740 MainServer::HandleAnnounce Playback
2005-10-15 13:00:41.740 adding: crystal as a client (events: 0)
2005-10-15 13:00:41.792 Reschedule requested for id 49.
Query 0: /record.search = :NRST AND (record.recordid = :NRRECORDID OR
:NRRECORDID = -1) AND program.manualid = 0 AND program.title =
record.title
2005-10-15 13:00:41.797 |-- Start DB Query 0...
2005-10-15 13:00:41.798 |-- -1 results in 0.000966 sec.
2005-10-15 13:00:41.798 +-- Done.
2005-10-15 13:00:41.799 PruneOldRecords...
2005-10-15 13:00:41.799 AddNewRecords...
2005-10-15 13:00:41.800 |-- Start DB Query...
2005-10-15 13:00:41.806 |-- 42 results in 0.006155 sec. Processing...
2005-10-15 13:00:41.813 +-- Cleanup...
2005-10-15 13:00:41.813 AddNotListed...
2005-10-15 13:00:41.813 |-- Start DB Query...
2005-10-15 13:00:41.815 |-- 0 results in 0.001404 sec. Processing...
2005-10-15 13:00:41.815 Sort by time...
2005-10-15 13:00:41.815 PruneOverlaps...
2005-10-15 13:00:41.815 Sort by priority...
2005-10-15 13:00:41.816 BuildListMaps...
2005-10-15 13:00:41.816 SchedNewRecords...
2005-10-15 13:00:41.816 Scheduling:
+Triptyk 30 1030 15 12:57-14:35 1 1 1 S 1 1
2005-10-15 13:00:41.816 ClearListMaps...
2005-10-15 13:00:41.816 Sort by time...
2005-10-15 13:00:41.816 PruneRedundants...
2005-10-15 13:00:41.816 Sort by time...
--- print list start ---
Title - Subtitle Chan ChID Day Start End S C I T N Pri
Triptyk 30 1030 15 12:57-14:35 1 1 1 S 1 1
--- print list end ---
2005-10-15 13:00:41.816 Scheduled 1 items in 0.0 = 0.01 match + 0.02 place
2005-10-15 13:00:41.819 Estimated program length: 85 minutes, size:
14743 MB, free space: 132068 MB
2005-10-15 13:00:41.819 TVRec(1): Changing from None to RecordingOnly
2005-10-15 13:00:41.873 DVB#0 Using DVB card 0, with frontend Conexant
CX22702 DVB-T.
2005-10-15 13:00:41.901 Started recording: Triptyk: channel 1030 on
cardid 1, sourceid 1
2005-10-15 13:00:42.954 DVB#0 DVB SI Table Parser Started
2005-10-15 13:00:43.149 Prog title: Triptyk
2005-10-15 13:00:43.154 DVB#0 Data read from DMX - This is for
debugging with transform.c
2005-10-15 13:00:44.296 MainServer::HandleAnnounce Playback
2005-10-15 13:00:44.296 adding: crystal as a client (events: 0)
2005-10-15 13:00:45.944 MainServer::HandleAnnounce Playback
2005-10-15 13:00:45.944 adding: crystal as a client (events: 0)
2005-10-15 13:00:48.776 MainServer::HandleAnnounce Playback
2005-10-15 13:00:48.776 adding: crystal as a client (events: 0)
2005-10-15 13:00:48.832 Reschedule requested for id 50.
Query 0: /record.search = :NRST AND (record.recordid = :NRRECORDID OR
:NRRECORDID = -1) AND program.manualid = 0 AND program.title =
record.title
2005-10-15 13:00:48.839 |-- Start DB Query 0...
2005-10-15 13:00:48.840 |-- -1 results in 0.001129 sec.
2005-10-15 13:00:48.840 +-- Done.
2005-10-15 13:00:48.841 PruneOldRecords...
2005-10-15 13:00:48.841 AddNewRecords...
2005-10-15 13:00:48.842 |-- Start DB Query...
2005-10-15 13:00:48.849 |-- 44 results in 0.006738 sec. Processing...
2005-10-15 13:00:48.856 +-- Cleanup...
2005-10-15 13:00:48.857 AddNotListed...
2005-10-15 13:00:48.857 |-- Start DB Query...
2005-10-15 13:00:48.858 |-- 0 results in 0.001373 sec. Processing...
2005-10-15 13:00:48.858 Sort by time...
2005-10-15 13:00:48.858 PruneOverlaps...
2005-10-15 13:00:48.858 Sort by priority...
2005-10-15 13:00:48.859 BuildListMaps...
2005-10-15 13:00:48.859 SchedNewRecords...
2005-10-15 13:00:48.859 Scheduling:
+Australia Eye of the Storm - "South 21 1021 15 12:27-13:40 1 2 2 S 2 1
2005-10-15 13:00:48.859 ClearListMaps...
2005-10-15 13:00:48.859 Sort by time...
2005-10-15 13:00:48.859 PruneRedundants...
2005-10-15 13:00:48.860 Sort by time...
--- print list start ---
Title - Subtitle Chan ChID Day Start End S C I T N Pri
Australia Eye of the Storm - "South 21 1021 15 12:27-13:40 1 2 2 S 2 1
Triptyk 30 1030 15 13:01-14:35 1 1 1 S 1 1
--- print list end ---
2005-10-15 13:00:48.860 Scheduled 2 items in 0.0 = 0.01 match + 0.02 place
2005-10-15 13:00:48.863 Estimated program length: 60 minutes, size:
10406 MB, free space: 132064 MB
2005-10-15 13:00:48.863 TVRec(2): Changing from None to RecordingOnly
2005-10-15 13:00:48.880 DVB#1 Using DVB card 1, with frontend Zarlink
MT352 DVB-T.
2005-10-15 13:00:48.933 Started recording: Australia Eye of the Storm
"Southern Exposure": channel 1021 on cardid 2, sourceid 1
2005-10-15 13:00:49.539 DVB#1 DVB SI Table Parser Started
2005-10-15 13:00:49.669 Prog title: Australia Eye of the Storm
2005-10-15 13:00:49.675 DVB#1 Data read from DMX - This is for
debugging with transform.c
2005-10-15 13:00:52.792 MainServer::HandleAnnounce Playback
2005-10-15 13:00:52.792 adding: crystal as a client (events: 0)
2005-10-15 13:00:54.586 MainServer::HandleAnnounce Playback
2005-10-15 13:00:54.586 adding: crystal as a client (events: 0)
2005-10-15 13:00:57.405 MainServer::HandleAnnounce Playback
2005-10-15 13:00:57.405 adding: crystal as a client (events: 0)
2005-10-15 13:00:57.461 Reschedule requested for id 51.
Query 0: /record.search = :NRST AND (record.recordid = :NRRECORDID OR
:NRRECORDID = -1) AND program.manualid = 0 AND program.title =
record.title
2005-10-15 13:00:57.466 |-- Start DB Query 0...
2005-10-15 13:00:57.467 |-- -1 results in 0.001183 sec.
2005-10-15 13:00:57.468 +-- Done.
2005-10-15 13:00:57.468 PruneOldRecords...
2005-10-15 13:00:57.469 AddNewRecords...
2005-10-15 13:00:57.470 |-- Start DB Query...
2005-10-15 13:00:57.477 |-- 46 results in 0.006907 sec. Processing...
2005-10-15 13:00:57.484 +-- Cleanup...
2005-10-15 13:00:57.485 AddNotListed...
2005-10-15 13:00:57.485 |-- Start DB Query...
2005-10-15 13:00:57.486 |-- 0 results in 0.00138 sec. Processing...
2005-10-15 13:00:57.486 Sort by time...
2005-10-15 13:00:57.486 PruneOverlaps...
2005-10-15 13:00:57.487 Sort by priority...
2005-10-15 13:00:57.487 BuildListMaps...
2005-10-15 13:00:57.487 SchedNewRecords...
2005-10-15 13:00:57.487 Scheduling:
?King's School - "You Would If You C 21 1021 15 13:30-14:00 1 2 2 S - 1
?King's School - "You Would If You C 21 1021 15 13:30-14:00 1 1 1 S - 1
?King's School - "You Would If You C 21 1021 15 13:27-14:00 1 2 2 S - 1
?King's School - "You Would If You C 21 1021 15 13:27-14:00 1 1 1 S - 1
?King's School - "You Would If You C 21 1021 15 13:30-14:10 1 2 2 S - 1
?King's School - "You Would If You C 21 1021 15 13:30-14:10 1 1 1 S - 1
?King's School - "You Would If You C 21 1021 15 13:27-14:10 1 2 2 S - 1
?King's School - "You Would If You C 21 1021 15 13:27-14:10 1 1 1 S - 1
2005-10-15 13:00:57.488 ClearListMaps...
2005-10-15 13:00:57.488 Sort by time...
2005-10-15 13:00:57.488 PruneRedundants...
2005-10-15 13:00:57.488 Sort by time...
--- print list start ---
Title - Subtitle Chan ChID Day Start End S C I T N Pri
Australia Eye of the Storm - "South 21 1021 15 13:01-13:40 1 2 2 S 2 1
Triptyk 30 1030 15 13:01-14:35 1 1 1 S 1 1
King's School - "You Would If You C 21 1021 15 13:27-14:10 1 0 0 S C 1
--- print list end ---
2005-10-15 13:00:57.488 Scheduled 3 items in 0.0 = 0.01 match + 0.02 place
2005-10-15 13:00:59.529 MainServer::HandleAnnounce Playback
2005-10-15 13:00:59.529 adding: crystal as a client (events: 0)
RESTART BACKEND HERE
mythbox:/usr/local/src/mythtv# mythbackend -v schedule
2005-10-15 13:01:49.786 Using runtime prefix = /usr/local
2005-10-15 13:01:49.794 New DB connection, total: 1
Starting up as the master server.
2005-10-15 13:01:49.801 New DB connection, total: 2
2005-10-15 13:01:49.803 DVB#0 Using DVB card 0, with frontend Conexant
CX22702 DVB-T.
2005-10-15 13:01:49.805 New DB connection, total: 3
2005-10-15 13:01:49.843 DVB#1 Using DVB card 1, with frontend Zarlink
MT352 DVB-T.
2005-10-15 13:01:49.874 New DB scheduler connection
2005-10-15 13:01:49.884 mythbackend version: 0.19.20050712-1 www.mythtv.org
2005-10-15 13:01:49.884 Enabled verbose msgs : important general schedule
2005-10-15 13:01:49.885 AutoExpire: Found 2 recorders w/max rate of 277 MiB/min
2005-10-15 13:01:49.886 AutoExpire: space: 2.2 GB w/freq: 5 min
2005-10-15 13:01:51.880 Reschedule requested for id -1.
Query 0: /record.search = :NRST AND (record.recordid = :NRRECORDID OR
:NRRECORDID = -1) AND program.manualid = 0 AND program.title =
record.title
2005-10-15 13:01:51.886 |-- Start DB Query 0...
2005-10-15 13:01:51.888 |-- -1 results in 0.002249 sec.
2005-10-15 13:01:51.888 +-- Done.
2005-10-15 13:01:51.889 PruneOldRecords...
2005-10-15 13:01:51.890 AddNewRecords...
2005-10-15 13:01:51.890 |-- Start DB Query...
2005-10-15 13:01:51.897 |-- 46 results in 0.006721 sec. Processing...
2005-10-15 13:01:51.905 +-- Cleanup...
2005-10-15 13:01:51.905 AddNotListed...
2005-10-15 13:01:51.905 |-- Start DB Query...
2005-10-15 13:01:51.907 |-- 0 results in 0.001395 sec. Processing...
2005-10-15 13:01:51.907 Sort by time...
2005-10-15 13:01:51.907 PruneOverlaps...
2005-10-15 13:01:51.907 Sort by priority...
2005-10-15 13:01:51.908 BuildListMaps...
2005-10-15 13:01:51.908 SchedNewRecords...
2005-10-15 13:01:51.908 Scheduling:
+King's School - "You Would If You C 21 1021 15 13:27-14:10 1 1 1 S 1 1
+Triptyk 30 1030 15 12:57-14:35 1 2 2 S 2 1
?Australia Eye of the Storm - "South 21 1021 15 12:30-13:30 1 2 2 S - 1
?Australia Eye of the Storm - "South 21 1021 15 12:30-13:30 1 1 1 S - 1
-King's School - "You Would If You C 21 1021 15 13:27-14:10 1
1 1 S L 1
+King's School - "You Would If You C 21 1021 15 13:30-14:10 1
1 1 S 1 1
+Australia Eye of the Storm - "South 21 1021 15 12:30-13:30 1 1 1 S 1 1
2005-10-15 13:01:51.909 ClearListMaps...
2005-10-15 13:01:51.909 Sort by time...
2005-10-15 13:01:51.909 PruneRedundants...
2005-10-15 13:01:51.909 Sort by time...
--- print list start ---
Title - Subtitle Chan ChID Day Start End S C I T N Pri
Australia Eye of the Storm - "South 21 1021 15 12:30-13:30 1 1 1 S 1 1
Triptyk 30 1030 15 12:57-14:35 1 2 2 S 2 1
King's School - "You Would If You C 21 1021 15 13:30-14:10 1 1 1 S 1 1
--- print list end ---
2005-10-15 13:01:51.909 Scheduled 3 items in 0.0 = 0.01 match + 0.02 place
2005-10-15 13:01:51.911 Recording starts soon, AUTO-Startup assumed
2005-10-15 13:01:51.913 Estimated program length: 60 minutes, size:
10406 MB, free space: 131972 MB
2005-10-15 13:01:51.914 TVRec(1): Changing from None to RecordingOnly
2005-10-15 13:01:51.914 DVB#0 Using DVB card 0, with frontend Conexant
CX22702 DVB-T.
2005-10-15 13:01:51.978 Started recording: Australia Eye of the Storm
"Southern Exposure": channel 1021 on cardid 1, sourceid 1
2005-10-15 13:01:51.980 Estimated program length: 85 minutes, size:
14743 MB, free space: 131972 MB
2005-10-15 13:01:51.993 TVRec(2): Changing from None to RecordingOnly
2005-10-15 13:01:51.994 DVB#1 Using DVB card 1, with frontend Zarlink
MT352 DVB-T.
2005-10-15 13:01:52.061 Started recording: Triptyk: channel 1030 on
cardid 2, sourceid 1
2005-10-15 13:01:52.796 DVB#1 DVB SI Table Parser Started
2005-10-15 13:01:52.872 DVB#0 DVB SI Table Parser Started
2005-10-15 13:01:52.916 Prog title: Triptyk
2005-10-15 13:01:52.927 DVB#1 Data read from DMX - This is for
debugging with transform.c
2005-10-15 13:01:52.984 Prog title: Australia Eye of the Storm
2005-10-15 13:01:52.991 DVB#0 Data read from DMX - This is for
debugging with transform.c
2005-10-15 13:01:55.020 MainServer::HandleAnnounce Playback
2005-10-15 13:01:55.020 adding: crystal as a client (events: 0)
On 10/15/05, David Engel <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 14, 2005 at 06:14:31PM +1000, David Shirley wrote:
> > Yep i just enabled it, but still got problems:
>
> For some reason, it doesn't appear to be trying other showings. What
> is your dupmethod set to? Maybe this patch will help.
>
> David
> --
> David Engel
> [EMAIL PROTECTED]
>
> --- programs/mythbackend/scheduler.cpp.orig 2005-10-14 10:15:07.011753243
> -0500
> +++ programs/mythbackend/scheduler.cpp 2005-10-14 10:14:37.690883142 -0500
> @@ -697,7 +697,8 @@
> if (q->recstatus != rsEarlierShowing &&
> q->recstatus != rsLaterShowing)
> continue;
> - if (!p->IsSameProgram(*q))
> + if (!p->IsSameProgram(*q) &&
> + !p->IsSameTimeslot(*q))
> continue;
> if ((p->rectype == kSingleRecord ||
> p->rectype == kOverrideRecord) &&
>
>
> _______________________________________________
> mythtv-dev mailing list
> [email protected]
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
>
>
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev