summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-30/mythtv/disable_mythnotification_tuner_failure.patch
blob: 8e03f243028cd93429c26192bf2dcd31cc6dd14d (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
43
--- src/mythtv/libs/libmythtv/tv_rec.cpp.orig   2017-09-15 21:17:57.761339002 +0000
+++ src/mythtv/libs/libmythtv/tv_rec.cpp        2017-09-15 21:16:22.383499573 +0000
@@ -3956,19 +3956,6 @@ MPEGStreamData *TVRec::TuningSignalCheck
             newRecStatus = RecStatus::Failing;
             curRecording->SaveVideoProperties(VID_DAMAGED, VID_DAMAGED);

-            QString desc = tr("Good signal seen after %1 ms")
-                           .arg(genOpt.channel_timeout +
-                        startRecordingDeadline.msecsTo(current_time));
-            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'")
@@ -4016,19 +4003,6 @@ MPEGStreamData *TVRec::TuningSignalCheck

         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'.")