Ticket #11119: patch.txt

File patch.txt, 679 bytes (added by jbreitner@…, 7 years ago)

patch to resolve LiveTV while recording same channel issue

Line 
1--- tv_rec.cpp  2013-12-10 19:23:30.000000000 -0500
2+++ tv_rec.cpp.new      2013-12-10 18:39:51.000000000 -0500
3@ -4488,7 +4487,7 @@
4         prog->SetChanID(chanid);
5     }
6 
7-    if (!pseudoLiveTVRecording)
8+    if (!pseudoLiveTVRecording && !IsRecording())
9         prog->SetRecordingStartTime(MythDate::current(true));
10 
11     prog->SetStorageGroup("LiveTV");
12@@ -4504,9 +4503,9 @@
13         prog->SetPathname(sgroup.FindNextDirMostFree());
14     }
15 
16-    if (!pseudoLiveTVRecording)
17+    if (!pseudoLiveTVRecording && !IsRecording())
18         prog->ApplyRecordRecGroupChange("LiveTV");
19-
20+   
21     StartedRecording(prog);
22 
23     *rb = RingBuffer::Create(prog->GetPathname(), true);