Ticket #5869: free_scheduling_channel_blacklist.3.diff
File free_scheduling_channel_blacklist.3.diff, 4.5 KB (added by , 15 years ago) |
---|
-
i18n/mythfrontend_de.ts
7370 7370 <translation>es war markiert als "Niemals aufnehmen".</translation> 7371 7371 </message> 7372 7372 <message> 7373 <source>A</source> 7374 <comment>RecStatusChar rsNotAllowed</comment> 7375 <translation>A</translation> 7376 </message> 7377 <message> 7378 <source>Not Allowed</source> 7379 <translation>Nicht erlaubt</translation> 7380 </message> 7381 <message> 7382 <source>this recording is not allowed on this channel.</source> 7383 <translation>diese Aufnahme ist auf diesem Kanal nicht erlaubt.</translation> 7384 </message> 7385 <message> 7373 7386 <source>Channel Separator</source> 7374 7387 <translation type="obsolete">Trennzeichen fÃŒr Sender (bei ATSC)</translation> 7375 7388 </message> -
libs/libmythtv/programinfo.h
129 129 rsInactive = 10, 130 130 rsNeverRecord = 11, 131 131 rsOffLine = 12, 132 rsOtherShowing = 13 132 rsOtherShowing = 13, 133 rsNotAllowed = 14 133 134 }; 134 135 135 136 enum AvailableStatusType { -
libs/libmythtv/programinfo.cpp
3298 3298 return QObject::tr("F", "RecStatusChar rsOffLine"); 3299 3299 case rsOtherShowing: 3300 3300 return QObject::tr("O", "RecStatusChar rsOtherShowing"); 3301 case rsNotAllowed: 3302 return QObject::tr("A", "RecStatusChar rsNotAllowed"); 3301 3303 default: 3302 3304 return "-"; 3303 3305 } … … 3358 3360 return QObject::tr("Recorder Off-Line"); 3359 3361 case rsOtherShowing: 3360 3362 return QObject::tr("Other Showing"); 3363 case rsNotAllowed: 3364 return QObject::tr("Not Allowed"); 3361 3365 default: 3362 3366 return QObject::tr("Unknown"); 3363 3367 } … … 3471 3475 message += QObject::tr("this episode will be recorded on a " 3472 3476 "different channel in this time slot."); 3473 3477 break; 3478 case rsNotAllowed: 3479 message += QObject::tr("this recording is not allowed on this channel."); 3480 break; 3474 3481 default: 3475 3482 message += QObject::tr("you should never see this."); 3476 3483 break; … … 4591 4598 recstatus == rsEarlierShowing || 4592 4599 recstatus == rsOtherShowing || 4593 4600 recstatus == rsNeverRecord || 4601 recstatus == rsNotAllowed || 4594 4602 recstatus == rsRepeat || 4595 4603 recstatus == rsInactive || 4596 4604 recstatus == rsLaterShowing)) … … 4610 4618 recstatus != rsPreviousRecording && 4611 4619 recstatus != rsCurrentRecording && 4612 4620 recstatus != rsNeverRecord && 4621 recstatus != rsNotAllowed && 4613 4622 recstatus != rsNotListed) 4614 4623 { 4615 4624 if (recstartts > now) -
programs/mythbackend/scheduler.cpp
2810 2810 "oldrecstatus.recstatus, oldrecstatus.reactivate, " 2811 2811 "program.videoprop+0, program.subtitletypes+0, program.audioprop+0, " 2812 2812 "RECTABLE.storagegroup, capturecard.hostname, recordmatch.oldrecstatus, " 2813 "RECTABLE.avg_delay, " + pwrpri + QString( 2813 "RECTABLE.avg_delay, " + pwrpri + QString(", " 2814 "RECTABLE.search " 2814 2815 "FROM recordmatch " 2815 2816 " INNER JOIN RECTABLE ON (recordmatch.recordid = RECTABLE.recordid) " 2816 2817 " INNER JOIN program ON (recordmatch.chanid = program.chanid AND " … … 2970 2971 if ((threadrunning || specsched) && !cardMap.contains(p->cardid)) 2971 2972 p->recstatus = rsOffLine; 2972 2973 2974 // Check for rsNotAllowed 2975 if ((result.value(47).toInt() != kNoSearch || 2976 p->rectype == kAllRecord || 2977 p->rectype == kFindWeeklyRecord || 2978 p->rectype == kFindDailyRecord || 2979 p->rectype == kFindOneRecord) && p->recpriority <= -500) 2980 p->recstatus = rsNotAllowed; 2981 2973 2982 // Check for rsTooManyRecordings 2974 2983 if (checkTooMany && tooManyMap[p->recordid] && !p->reactivate) 2975 2984 p->recstatus = rsTooManyRecordings;