Difference between revisions of "Duplicate matching"

From MythTV Official Wiki
Jump to: navigation, search
m (Fix spelling of episode)
(Better incorporate the reality of dup matching by starting with program ID)
Line 1: Line 1:
MythTV will, unless you tell it otherwise, try and not record programs that have already been recorded.  There are four different methods it can use to determine if a program is a duplicate.
+
MythTV will, unless you tell it otherwise, try to record each episode of a show only once.  To do so, MythTV compares showings in the listings that match recording rules to information about previously-recorded episodes (watched, unwatched, or deleted) of the program, checking for duplicatesThe primary mechanism for duplicate matching is comparing program IDs, and there are four "fallback" methods.
  
 +
== Program ID ==
 +
The program ID is the definitive identifier of an episode.  If the current episode described in the listings and any previously-recorded episode both have a matching program ID, MythTV will not record the new showing--regardless of the duplicate-matching method specified by the recording rule, and regardless of the values of subtitle and description.
 +
 +
If either the current episode described in the listings or the previously-recorded episode (or both) are missing a program ID, duplicate matching will be performed according to the duplicate-matching method specified by the recording rule.
  
 
== Subtitle ==
 
== Subtitle ==
The scheduler will compare the subtitles of the new episode with any recorded (watched, unwatched or deleted) episode and if they match then it will not record the new showing.
+
The scheduler will compare the subtitles of the new episode with any recorded (watched, unwatched or deleted) episode and if they match then it will not record the new showing.  
  
 
== Description ==
 
== Description ==
The scheduler will compare the description of the new episode with any recorded (watched, unwatched or deleted) episode and if they match exactly then it will not record the new showing.
+
The scheduler will compare the description of the new episode with any recorded (watched, unwatched or deleted) episode and if they match exactly then it will not record the new showing.  
  
 
== Subtitle and Description ==
 
== Subtitle and Description ==
The scheduler will compare the subtitles and description of the new episode with any recorded (watched, unwatched or deleted) episode and if they both match exactly then it will not record the new showing.
+
The scheduler will compare the subtitles and description of the new episode with any recorded (watched, unwatched or deleted) episode and if they both match exactly then it will not record the new showing.  
  
 
== Subtitle then Description ==
 
== Subtitle then Description ==
The scheduler will compare the subtitles of the new episode with any recorded(watched,unwatched or deleted) episode and if they match exactly then it will check the description and only if the descriptions are also identical then it will not record the new showing.
+
The scheduler will compare the subtitles of the new episode with any recorded(watched,unwatched or deleted) episode and if they match exactly then it will check the description and only if the descriptions are also identical then it will not record the new showing.  
  
 
== FAQs ==
 
== FAQs ==

Revision as of 11:53, 19 October 2010

MythTV will, unless you tell it otherwise, try to record each episode of a show only once. To do so, MythTV compares showings in the listings that match recording rules to information about previously-recorded episodes (watched, unwatched, or deleted) of the program, checking for duplicates. The primary mechanism for duplicate matching is comparing program IDs, and there are four "fallback" methods.

Program ID

The program ID is the definitive identifier of an episode. If the current episode described in the listings and any previously-recorded episode both have a matching program ID, MythTV will not record the new showing--regardless of the duplicate-matching method specified by the recording rule, and regardless of the values of subtitle and description.

If either the current episode described in the listings or the previously-recorded episode (or both) are missing a program ID, duplicate matching will be performed according to the duplicate-matching method specified by the recording rule.

Subtitle

The scheduler will compare the subtitles of the new episode with any recorded (watched, unwatched or deleted) episode and if they match then it will not record the new showing.

Description

The scheduler will compare the description of the new episode with any recorded (watched, unwatched or deleted) episode and if they match exactly then it will not record the new showing.

Subtitle and Description

The scheduler will compare the subtitles and description of the new episode with any recorded (watched, unwatched or deleted) episode and if they both match exactly then it will not record the new showing.

Subtitle then Description

The scheduler will compare the subtitles of the new episode with any recorded(watched,unwatched or deleted) episode and if they match exactly then it will check the description and only if the descriptions are also identical then it will not record the new showing.

FAQs

Q. I chose the duplicate check method 'Subtitle and Description,' and a set of episodes have the same subtitle and description, yet I still get duplicates.

A. All of those episodes also have a programid, and when episodes have a programid, the duplicate check method is irrelevant. Only the programid is used for comparison because the programid is the definitive identifier of an episode.

Q. But all of the episodes have the same programid.

A. True, but all three episodes have a SH*0000 programid -- the Schedules Direct programid used for generic episodes -- meaning which episode is airing is unknown. Rather than ignore this episode -- just because the listings provider wasn't given information on which episode was airing -- MythTV will record it.

The scheduler gives special treatment to any generic episodes (always recording them in case they're new). Schedules Direct/TMS data uses programid's of the form SH (for show) followed by some digits identifying the program (title) and ending with 4 zeros (meaning unknown episode). If you want MythTV to skip recording generic episodes, you need to explicitly set the recording rule to "Exclude Generic Episodes."