Page 1 of 1

Every recording duplicated

Posted: Sat Nov 02, 2019 1:03 pm
by backseat
Of late - sorry, not sure when it started - every recording is duplicated. The first records fine; the second is a 0 byte recording.

I've looked at the 'recorded' db table, and the unified diff from a pair of entries is shown below.

Any suggestions for troubleshooting?

Code: Select all

$ diff -U 0 successful.txt zerobyte.txt 
--- successful.txt	2019-11-02 12:50:08.689174267 +0000
+++ zerobyte.txt	2019-11-02 12:50:32.361120270 +0000
@@ -2,2 +2,2 @@
-      starttime: 2019-10-30 20:55:01
-        endtime: 2019-10-30 22:10:02
+      starttime: 2019-10-30 20:55:00
+        endtime: 2019-10-30 20:55:04
@@ -11 +11 @@
-       bookmark: 1
+       bookmark: 0
@@ -15 +15 @@
-    commflagged: 1
+    commflagged: 0
@@ -21,2 +21,2 @@
-   lastmodified: 2019-10-31 16:10:00
-       filesize: 2794482760
+   lastmodified: 2019-10-31 16:09:57
+       filesize: 0
@@ -32 +32 @@
-       basename: 2103_20191030205501.ts
+       basename: 2103_20191030205500.ts
@@ -37 +37 @@
-      duplicate: 1
+      duplicate: 0
@@ -41 +41 @@
- bookmarkupdate: 2019-10-30 23:11:41
+ bookmarkupdate: 0000-00-00 00:00:00
@@ -43 +43 @@
-     recordedid: 1983
+     recordedid: 1982

Re: Every recording duplicated

Posted: Sun Dec 08, 2019 10:56 am
by backseat
Seems I had a duplicate cardinputid in the inputgroup table:

Code: Select all

+-------------+--------------+----------------------+
| cardinputid | inputgroupid | inputgroupname       |
+-------------+--------------+----------------------+
|           1 |            6 | woodlands|HDHomeRun0 |
|           1 |            8 | woodlands|1232C5D1-0 |
|           2 |            9 | woodlands|1232C5D1-1 |
+-------------+--------------+----------------------+
Removing the first line from that table seems to have resolved the problem.

Re: Every recording duplicated

Posted: Fri Jan 03, 2020 7:02 pm
by backseat
Just in case anyone finds this thread and has a similar problem, the final fix turned out to be: https://code.mythtv.org/trac/changeset/ ... 199/mythtv