summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.28/mythtv/disable_mythnotification_tuner_failure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mythtv/stable-0.28/mythtv/disable_mythnotification_tuner_failure.patch')
-rw-r--r--abs/core/mythtv/stable-0.28/mythtv/disable_mythnotification_tuner_failure.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-0.28/mythtv/disable_mythnotification_tuner_failure.patch b/abs/core/mythtv/stable-0.28/mythtv/disable_mythnotification_tuner_failure.patch
new file mode 100644
index 0000000..dee880d
--- /dev/null
+++ b/abs/core/mythtv/stable-0.28/mythtv/disable_mythnotification_tuner_failure.patch
@@ -0,0 +1,42 @@
+--- src/mythtv/libs/libmythtv/tv_rec.cpp.orig 2016-04-15 16:17:06.197470998 +0000
++++ src/mythtv/libs/libmythtv/tv_rec.cpp 2016-04-15 16:17:53.558049686 +0000
+@@ -3931,19 +3931,6 @@
+ newRecStatus = RecStatus::Failing;
+ curRecording->SaveVideoProperties(VID_DAMAGED, VID_DAMAGED);
+
+- QString desc = tr("Good signal seen after %1 ms")
+- .arg(genOpt.channel_timeout +
+- startRecordingDeadline.msecsTo(MythDate::current()));
+- QString title = curRecording->GetTitle();
+- if (!curRecording->GetSubtitle().isEmpty())
+- title += " - " + curRecording->GetSubtitle();
+-
+- MythNotification mn(MythNotification::Check, desc,
+- "Recording", title,
+- tr("See 'Tuning timeout' in mythtv-setup "
+- "for this input."));
+- gCoreContext->SendEvent(MythEvent(mn));
+-
+ LOG(VB_GENERAL, LOG_WARNING, LOC +
+ QString("It took longer than %1 ms to get a signal lock. "
+ "Keeping status of '%2'")
+@@ -3984,19 +3971,6 @@
+
+ SendMythSystemRecEvent("REC_FAILING", curRecording);
+
+- QString desc = tr("Taking more than %1 ms to get a lock.")
+- .arg(genOpt.channel_timeout);
+- QString title = curRecording->GetTitle();
+- if (!curRecording->GetSubtitle().isEmpty())
+- title += " - " + curRecording->GetSubtitle();
+-
+- MythNotification mn(MythNotification::Error, desc,
+- "Recording", title,
+- tr("See 'Tuning timeout' in mythtv-setup "
+- "for this input."));
+- mn.SetDuration(30);
+- gCoreContext->SendEvent(MythEvent(mn));
+-
+ LOG(VB_GENERAL, LOG_WARNING, LOC +
+ QString("TuningSignalCheck: taking more than %1 ms to get a lock. "
+ "marking this recording as '%2'.")