userxy79 Please give me a little Feedback 😉
I have some promising results, but I am not yet sure that they are valid.
Unpatched 'Production' system log (Times in UTC)
2025-11-26 22:05:15.509 [WARNING] TS: DVB-T Network/177.5MHz/7HD Sydney Transport error indicator (total 28)
2025-11-26 22:05:15.509 [WARNING] TS: DVB-T Network/177.5MHz/7HD Sydney: H264 @ #577 Continuity counter error (total 20)
2025-11-26 22:31:39.697 [WARNING] tsfix: transport stream H264, DTS discontinuity. DTS = -9223372036854775808, last = 5969067570
2025-11-26 22:31:40.432 [WARNING] tsfix: transport stream TELETEXT, DTS discontinuity. DTS = -9223372036854775808, last = 5969066220
2025-11-26 22:31:40.432 [WARNING] tsfix: transport stream AC3, DTS discontinuity. DTS = -9223372036854775808, last = 5969067840
2025-11-26 22:31:41.250 [WARNING] tsfix: transport stream TEXTSUB, DTS discontinuity. DTS = -9223372036854775808, last = 5969057430
^^^^ DTS ERROR HERE FOLLOWED BY KODI RESET - THIS IS NORMAL
2025-11-26 22:31:51.155 [ INFO] htsp: 127.0.0.1 [ | Kodi Media Center ]: Disconnected
2025-11-26 22:31:51.155 [ INFO] subscription: 0001: "127.0.0.1 [ | Kodi Media Center ]" unsubscribing from "7 Digital", hostname="127.0.0.1", username="127.0.0.1", client="Kodi Media Center"
2025-11-26 22:31:51.158 [ INFO] htsp: Got connection from 127.0.0.1
2025-11-26 22:31:51.164 [ INFO] htsp: 127.0.0.1: Welcomed client software: Kodi Media Center (HTSPv35)
2025-11-26 22:31:51.164 [ INFO] htsp: 127.0.0.1 [ Kodi Media Center ]: Identified as user ''
2025-11-26 22:31:51.295 [ INFO] mpegts: 177.5MHz in DVB-T Network - tuning on Silicon Labs Si2168 #0 : DVB-T #0
2025-11-26 22:31:51.296 [ INFO] subscription: 0002: "127.0.0.1 [ | Kodi Media Center ]" subscribing on channel "7 Digital", weight: 100, adapter: "Silicon Labs Si2168 #0 : DVB-T #0", network: "DVB-T Network", mux: "177.5MHz", provider: "Seven Network", service: "7HD Sydney", profile="htsp", hostname="127.0.0.1", username="127.0.0.1", client="Kodi Media Center"
Patched 'Test' system log (Times in UTC+1100)
2025-11-27 02:37:07.327 [WARNING] TS: Default-DVB-T/177.5MHz/7HD Sydney Transport error indicator (total 81)
2025-11-27 02:37:07.327 [WARNING] TS: Default-DVB-T/177.5MHz/7HD Sydney: H264 @ #577 Continuity counter error (total 41)
2025-11-27 02:37:07.327 [WARNING] TS: Default-DVB-T/177.5MHz/7HD Sydney: AC3 @ #579 Continuity counter error (total 14)
2025-11-27 04:42:12.635 [WARNING] TS: Default-DVB-T/177.5MHz/7HD Sydney Transport error indicator (total 82)
<SNIP> LARGE NUMBER OF CONTINUITY ERRORS
2025-11-27 09:05:15.488 [WARNING] TS: Default-DVB-T/177.5MHz/7HD Sydney Transport error indicator (total 100)
2025-11-27 09:05:15.488 [WARNING] TS: Default-DVB-T/177.5MHz/7HD Sydney: H264 @ #577 Continuity counter error (total 52)
2025-11-27 09:31:39.692 [WARNING] tsfix: transport stream H264, DTS discontinuity. DTS = 0, last = 5973227761
^^^^ APPROXIMATELY THE SAME TIME - NO ERROR - NO KODI RESET
2025-11-27 09:43:14.004 [ INFO] epgdb: snapshot start
2025-11-27 09:43:14.148 [ INFO] epgdb: queued to save (size 4398258)
2025-11-27 09:43:14.149 [ INFO] epgdb: broadcasts 10566
2025-11-27 09:43:14.149 [ INFO] epgdb: save start
2025-11-27 09:43:14.268 [ INFO] epgdb: stored (size 899994)
The good news is that the patched version of TVH did not appear to encounter the INT64_MIN problem when at the same time the unpatched version encountered the error. 👍️
The bad news is that the test system also encountered a lot more incidental discontinuity errors that may possibly have skewed the results in some way. Maybe, the test system is just under-powered for the task or maybe I am just being over-cautious.
Both systems are fed by the same antenna cable into the same splitter. From that splitter, each system has its own dedicated cable and USB tuner device. Both USB tuner devices are the same make/model.
I plan to rerun the test swapping the USB tuner, cable and port between the 2 systems. If the continuity errors follow the USB tuner, then I know that the issue is with that cable, splitter port or USB tuner. If the continuity errors follow the test system, then I know that the test system is under-powered or faulty in some other way.
This is potentially good news, just a little more testing is required to confirm my findings. However, if it were up to me, I would still not accept a patch this fundamental to the operation of TVH until it had been tested and proven on multiple systems with multiple configurations under various real-world conditions. Live TV, Recorded TV, DVB-T, DVB-C, DVB-S, ATSC, etc, etc...
IMHO, either more testing volunteers are required, or, there needs to be a parameter to disable this patch in a running system just in case there are has unexpected consequences.
Note: Even though the channels used appear to have different names, the come from the same service. The test system did a channel scan after the broadcaster changed the channel name. The production system has not been rescanned for a long time, the service name changed, but the channel name was not updated.