Ticket #2655: smartdup3.patch
File smartdup3.patch, 4.4 KB (added by , 17 years ago) |
---|
-
mythtv/libs/libmythtv/recordingtypes.h
35 35 kDupCheckNone = 0x01, 36 36 kDupCheckSub = 0x02, 37 37 kDupCheckDesc = 0x04, 38 kDupCheckSubDesc = 0x06 38 kDupCheckSubDesc = 0x06, 39 kDupCheckSmart = 0x08 39 40 }; 40 41 41 42 enum RecSearchType -
mythtv/libs/libmythtv/programinfo.cpp
1390 1390 (description.lower() != other.description.lower()))) 1391 1391 return false; 1392 1392 1393 if ((dupmethod & kDupCheckSmart) && 1394 ((subtitle == "" && other.subtitle == "" && description.lower() != other.description.lower()) || 1395 (subtitle.lower() != other.subtitle.lower()) || 1396 (description == "" && subtitle == ""))) 1397 return false; 1398 1393 1399 return true; 1394 1400 } 1395 1401 -
mythtv/programs/mythbackend/scheduler.cpp
2198 2198 " AND " 2199 2199 " (((RECTABLE.dupmethod & 0x04) = 0) OR (program.description <> '' " 2200 2200 " AND program.description = oldrecorded.description)) " 2201 " AND " 2202 " (((RECTABLE.dupmethod & 0x08) = 0) OR (program.subtitle <> '' " 2203 " AND program.subtitle = oldrecorded.subtitle) OR (program.subtitle = '' " 2204 " AND oldrecorded.subtitle = '' AND program.description <> '' " 2205 " AND program.description = oldrecorded.description)) " 2201 2206 " ) " 2202 2207 " ) " 2203 2208 " ) " … … 2225 2230 " AND " 2226 2231 " (((RECTABLE.dupmethod & 0x04) = 0) OR (program.description <> '' " 2227 2232 " AND program.description = recorded.description)) " 2233 " AND " 2234 " (((RECTABLE.dupmethod & 0x08) = 0) OR (program.subtitle <> '' " 2235 " AND program.subtitle = recorded.subtitle) OR (program.subtitle = '' " 2236 " AND recorded.subtitle = '' AND program.description <> '' " 2237 " AND program.description = recorded.description)) " 2228 2238 " ) " 2229 2239 " ) " 2230 2240 " ) " -
mythplugins/mythweb/modules/_shared/lang/English_GB.lang
539 539 "subtitle" 540 540 "Subtitle" 541 541 "Subtitle and Description" 542 "Subtitle else Description" 542 543 "Subtitled" 543 544 "Sunday" 544 545 "The requested recording schedule has been deleted." -
mythplugins/mythweb/modules/tv/includes/recording_schedules.php
436 436 case 2: $str .= t('Subtitle'); break; 437 437 case 4: $str .= t('Description'); break; 438 438 case 6: $str .= t('Subtitle and Description'); break; 439 case 8: $str .= t('Subtitle else Description'); break; 439 440 case 22: $str .= t('Sub and Desc (Empty matches)'); break; 440 441 } 441 442 $str .= "</dd>\n"; -
mythplugins/mythweb/modules/tv/tmpl/default/detail.php
457 457 if ($schedule->dupmethod == 6 || $schedule->dupmethod == 0) 458 458 echo ' SELECTED'; 459 459 echo '>'.t('Subtitle and Description').'</option>'; 460 echo '<option value="8"'; 461 if ($schedule->dupmethod == 8) 462 echo ' SELECTED'; 463 echo '>'.t('Subtitle else Description').'</option>'; 460 464 ?></select></dd> 461 465 <dt><?php echo t('Preferred Input') ?>:</dt> 462 466 <dd><?php input_select($schedule->prefinput, 'prefinput') ?></dd>