summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.28/mythtv/disable_mythnotification_tuner_failure.patch
blob: dee880dcd22aebe319a607dbe0c7edaed7ac1199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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'.")