Opened 13 years ago

Closed 11 years ago

#4786 closed defect (worksforme)

multirec recording same program twice

Reported by: frank.paulsen@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


Today, svn 16210 record the same program twice with minor differences in start and end-time.

box has 1 DVB-T tuner setup for multirec and 4 concurrent recordings.

looking into recorded_programs i find: 1513 2008-02-26 07:03:32 2008-02-26 07:32:22 Sabrina ... 1513 2008-02-26 07:03:26 2008-02-26 07:32:16 Sabrina ...

files on disk are: -rw-r--r-- 1 xx xx 673186076 26. Feb 07:32 1513_20080226070300.mpg -rw-r--r-- 1 xx xx 641963224 26. Feb 07:32 1513_20080226070500.mpg

Change History (4)

comment:1 Changed 13 years ago by anonymous

At least to me this has been happening for some time (at least 3 weeks). I have seen this problem when recording House every week: it looks like just before the airing the EPG gets updated and usually the program changes the start time to 2-3 minutes after the previous start time in the "old" EPG. At first the program shows like it shows 22.00-23.10 and then it changes to 22.03-22.12 or something similar. And then that happens is that the chapter gets recorded twice, just like Frank said.

I have 0.21-fixes svn from 25 Feb around 15.00 GMT, and the box has 3 tuners with 3 max concurrent recordings each of them.

comment:2 Changed 13 years ago by anonymous

In addition to the problem I described on the last post, today it happened a weird thing. The schedule was the following:

Start Time Name Tuner
22:00 House - Chapter X 4
22:02 House - Chapter X 5
22:05 Los Serrano Conflict
23:00 House - Chapter Y 6
23:55 House - Chapter Z 4

Tuners 1-3 belong to Card 1; Tuners 4-6 belong to Card 2; Tuners 7-9 belong to Card 3; The cards have different priority: Card 1 is +3; Card 2 is +2 and Card 3 is +1, so that scheduling of programmes in the same multiplex is made to the same tv card and more cards are free at any given time.

The House recordings have a +3 priority and Los Serrano recordings have a +1. Los Serrano are shown in a different multiplex to House. All the House chapters are shown back to back in the same channel.

The scheduler decided that there was a conflict even when there where 2 free tv cards, that is, 6 free tuners. As a result it didn't start recording the recording in conflict. However, I went to upcoming recordings screen and told mythtv to reactivate the recording in conflict. It did activate it and the recording was assigned to tuner 1 (Card 1).

So it looks like the scheduler fails some times even when there are free tuners and cards.

I have 0.21-fixes svn of 16 March, and the box has 3 tv cards (3 physical tuners) with 3 "virtual" tuners each (that is, 3 concurrent recordings per card).

comment:3 Changed 12 years ago by anonymous

As a point of note, the conflict reported above may be a secondary bug, or may be related (reasoning below).

I have 3 DVB-T tuners, each set up for 4 concurrent recordings (12 virtual tuners in total). This evening NCIS failed to record - I noticed about half an hour after the recording should start. The scheduler identified it as Conflicting, with another (higher priority) schedule to be recorded. The only other scheduled recording was QI. Originally NCIS's priority was 3, Qi's was 0. Changing NCIS's priority to 99 did not change the situation, but forcing the recording to start did start it recording, with no actual conflict.

I'll watch out for it happening again, and enable "schedule" logging to try and get something useful (including raising a dedicated ticket for the issue, if appropriate).

comment:4 Changed 11 years ago by danielk

Resolution: worksforme
Status: newclosed

Not enough info provided to be sure, but pretty sure this is due to listings data not identifying two recordings as the same when they effectively are the same.

Note: See TracTickets for help on using tickets.