Tvheadend stopped working after upgrade
Added by Three ByFive about 9 years ago
Hello,
first, tvheadend stopped working for me in Kodi, but the backend still worked from the web interface. I could stream TV through my network just fine.
Then I updated tvheadend to 4.0.5. I used to have like 40 channels mapped; now I have 5 and they won't play. I can't get any of my muxes, services or channels to play. The log just says:
subscription: 008B: service instance is bad, reason: No input detected
webui: Couldn't start streaming /stream/channel/85480cc1429ecc8208bdf7f2b7bdb0bc, No input detected
subscription: 008B: No input source available for subscription "HTTP" to channel "Test Channel"
The ATSC interface under TV Adapters was not enabled, so I enabled it. I still can't get anything to work, though. The Scan Result is 'FAIL' for all muxes. What do I do?
Replies (2)
RE: Tvheadend stopped working after upgrade - Added by N A about 9 years ago
I'm also encountering what may be a similar issue, though I'm working from a git master.
The other thing that changed in my ATSC OTA setup is that I switched from my desktop Ubuntu 15.04 AMD64 Linux 4.1 AU0828 custom module (to add my usb tuner) (tvh unknown git version from last month) -> ODroid XU4 (exynos-5422) Ubuntu 15.04 Linux 4.2 through a USB 2.0 hub HTS Tvheadend 4.1-373~gcb5f6a1-dirty.
1) I had NOT encountered this issue from my desktop.
2) I find it only seems to happen after a period of idle time. For example, I had some recordings to occur, but found "time missed" and the log:
Aug 16 10:57:50 odroid tvheadend[3393]: subscription: 008C: "scan" unsubscribing Aug 16 16:55:05 odroid tvheadend[3393]: AVAHI: Service name collision, renaming service to 'Tvheadend #2' Aug 16 16:55:06 odroid tvheadend[3393]: AVAHI: Service 'Tvheadend #2' successfully established. Aug 16 16:57:30 odroid tvheadend[3393]: dvr: "ABC World News Tonight" on "9.1 KCRGDT" recorder starting Aug 16 16:57:30 odroid tvheadend[3393]: mpegts: 189.028MHz in ATSC Network - tuning on Auvitek AU8522 QAM/8VSB Frontend : ATSC #0 Aug 16 16:57:30 odroid tvheadend[3393]: subscription: 008D: "DVR: ABC World News Tonight" subscribing on channel "9.1 KCRGDT", weight: 300, adapter: "Auvitek AU8522 QAM/8VSB Frontend : ATSC #0", network: "ATSC Network", mux: "189.028MHz", service: "KCRG-D1", profile="pass" Aug 16 16:57:31 odroid tvheadend[3393]: linuxdvb: Auvitek AU8522 QAM/8VSB Frontend : ATSC #0 - poll TIMEOUT Aug 16 16:57:36 odroid tvheadend[3393]: subscription: 008D: service instance is bad, reason: No input detected Aug 16 16:57:40 odroid tvheadend[3393]: subscription: 008D: No input source available for subscription "DVR: ABC World News Tonight" to channel "9.1 KCRGDT" Aug 16 16:57:40 odroid tvheadend[3393]: dvr: Recording unable to start: "ABC World News Tonight": No input detected Aug 16 16:57:42 odroid tvheadend[3393]: subscription: 008D: No input source available for subscription "DVR: ABC World News Tonight" to channel "9.1 KCRGDT" Aug 16 17:27:30 odroid tvheadend[3393]: message repeated 894 times: [ subscription: 008D: No input source available for subscription "DVR: ABC World News Tonight" to channel "9.1 KCRGDT"]
I'm pretty sure the "Service name collision" was from the tvheadend still running on my desktop with NO tuner. After seeing that, I disabled tvheadend on my desktop.
I also went ahead and disabled "Power Save" for the tuner on the ODroid and had the TV running for a few hours with no problem. I don't think I tried to change any channels outside of that frequency though.
Then I went out for ~1 hour, went to start the TV (using Kodi 16-Alpha1 Git:2015-07-31-06eee488) and it wouldn't start. The log was showing the same thing:
Aug 17 05:34:54 odroid tvheadend[6032]: htsp: <client ip> [ kodi | Kodi Media Center ]: Disconnected Aug 17 07:04:42 odroid tvheadend[6032]: htsp: Got connection from <client ip> Aug 17 07:04:42 odroid tvheadend[6032]: htsp: <client ip>: Welcomed client software: Kodi Media Center (HTSPv22) Aug 17 07:04:42 odroid tvheadend[6032]: htsp: <client ip> [ Kodi Media Center ]: Identified as user 'kodi' Aug 17 07:04:42 odroid tvheadend[6032]: htsp: <client ip> [ kodi | Kodi Media Center ]: Privileges updated Aug 17 07:04:51 odroid tvheadend[6032]: mpegts: 189.028MHz in ATSC Network - tuning on Auvitek AU8522 QAM/8VSB Frontend : ATSC #0 Aug 17 07:04:51 odroid tvheadend[6032]: subscription: 0012: "<client ip> [ kodi | Kodi Media Center ]" subscribing on channel "9.1 KCRGDT", weight: 150, adapter: "Auvitek AU8522 QAM/8VSB Frontend : ATSC #0", network: "ATSC Network", mux: "189.028MHz", service: "KCRG-D1", profile="htsp", hostname="<client ip>", username="kodi", client="Kodi Media Center" Aug 17 07:04:57 odroid tvheadend[6032]: subscription: 0012: service instance is bad, reason: No input detected Aug 17 07:05:01 odroid tvheadend[6032]: subscription: 0012: No input source available for subscription "<client ip> [ kodi | Kodi Media Center ]" to channel "9.1 KCRGDT" Aug 17 07:09:27 odroid tvheadend[6032]: message repeated 133 times: [ subscription: 0012: No input source available for subscription "<client ip> [ kodi | Kodi Media Center ]" to channel "9.1 KCRGDT"]
After a "$ sudo systemctl restart tvheadend.service", it was fine... for now... HA! Ok, just as I'm about to submit this, the tv stops streaming and Kodi starts taking up more CPU. I find that Kodi will do that every now and again, even when I was using my desktop as the host AND client, and when I am doing some time shifting.
So, I stop Kodi from playing, select the same channel and again it says "No input detected"
2015-08-17 07:45:46.203 TS: ATSC Network/189.028MHz/KCRG-D1: MPEG2VIDEO @ #49 Continuity counter error (total 16) 2015-08-17 07:45:46.203 TS: ATSC Network/189.028MHz/KCRG-D1: AC3 @ #52 Continuity counter error (total 7) 2015-08-17 07:45:47.799 parser: transport stream AC3, DTS discontinuity. DTS = 142718400, last = 142585920 2015-08-17 07:46:20.901 TS: ATSC Network/189.028MHz/KCRG-D1 Transport error indicator (total 72) 2015-08-17 07:46:20.901 TS: ATSC Network/189.028MHz/KCRG-D1: MPEG2VIDEO @ #49 Continuity counter error (total 21) 2015-08-17 07:46:56.568 TS: ATSC Network/189.028MHz/KCRG-D1 Transport error indicator (total 79) 2015-08-17 07:47:31.897 TS: ATSC Network/189.028MHz/KCRG-D1 Transport error indicator (total 83) 2015-08-17 07:48:07.249 TS: ATSC Network/189.028MHz/KCRG-D1 Transport error indicator (total 87) 2015-08-17 07:48:07.249 TS: ATSC Network/189.028MHz/KCRG-D1: MPEG2VIDEO @ #49 Continuity counter error (total 23) 2015-08-17 07:48:39.310 TS: ATSC Network/189.028MHz/KCRG-D1 Transport error indicator (total 92) 2015-08-17 07:48:50.841 subscription: 000A: "<client ip> [ kodi | Kodi Media Center ]" unsubscribing from "9.1 KCRGDT", hostname="<client ip>", username="kodi", client="Kodi Media Center" 2015-08-17 07:49:01.653 mpegts: 189.028MHz in ATSC Network - tuning on Auvitek AU8522 QAM/8VSB Frontend : ATSC #0 2015-08-17 07:49:01.653 subscription: 000B: "<client ip> [ kodi | Kodi Media Center ]" subscribing on channel "9.1 KCRGDT", weight: 150, adapter: "Auvitek AU8522 QAM/8VSB Frontend : ATSC #0", network: "ATSC Network", mux: "189.028MHz", service: "KCRG-D1", profile="htsp", hostname="<client ip>", username="kodi", client="Kodi Media Center" 2015-08-17 07:49:02.464 linuxdvb: Auvitek AU8522 QAM/8VSB Frontend : ATSC #0 - poll TIMEOUT 2015-08-17 07:49:07.000 subscription: 000B: service instance is bad, reason: No input detected 2015-08-17 07:49:11.000 subscription: 000B: No input source available for subscription "<client ip> [ kodi | Kodi Media Center ]" to channel "9.1 KCRGDT"
RE: Tvheadend stopped working after upgrade - Added by N A about 9 years ago
I also find that I don't necessarily have to restart the service.
I can just jump around to different channels and subchannels and eventually one of them will work and I might be able to go back to the failing channel.
Thing is, that channel frequency is the strongest signal channel I get currently.