Project

General

Profile

End of program: Time missed - unable to stream/record

Added by flex tcg almost 2 years ago

Hi,

I'm using TVHeadend on a Raspberry Pi, which worked fine for a few weeks. I added an extra tuner and relocated the Pi to a different room, and all the sudden it stopped recording and streaming with no error messages whatsoever.

If I start streaming from the "Configuration/Channel / EPG/Channels" tab, it still works fine, but if I export a playlist, it asks for credentials and after entering them, it just hangs. I've tried reinstalling TVheadend, went through the configs a few times, but I'm out of ideas, and since there are no error messages, I can't even search this up properly.

Could you please help with this?

2022-11-24 11:58:17.009 dvr: "%F_%R" on "Comedy Central" recorder starting
2022-11-24 11:58:17.010 mpegts: 362MHz in AverMedia - tuning on Silicon Labs Si2168 #0 : DVB-C #0
2022-11-24 11:58:17.011 subscription: 005B: "DVR: %F_%R" subscribing on channel "Comedy Central", weight: 500, adapter: "Silicon Labs Si2168 #0 : DVB-C #0", network: "AverMedia", mux: "362MHz", provider: "DIGI", service: "Comedy Central", profile="pass", username="" 
2022-11-24 11:58:47.010 subscription: 005B: "DVR: %F_%R" unsubscribing from "Comedy Central", username="" 
2022-11-24 11:58:47.013 dvr: "%F_%R" on "Comedy Central": End of program: Time missed

Replies (8)

RE: End of program: Time missed - unable to stream/record - Added by Mark Clarkstone almost 2 years ago

Smells like the extra tuner is adding/wanting more power than the Pi can supply, & crashing - yes I've had this. Are you using a powered hub? With two tuners you'll need one as the Pi for whatever reason has limited power output on USB. From what I remember it's 1.25amps between all 4 ports.

Even then if you're running on anything older than a Pi 4 you'll run into the one shared USB bus issue - not fun.

RE: End of program: Time missed - unable to stream/record - Added by Jonas Lang almost 2 years ago

Might be an idea to mention what brand tuners you are using and if they are passive or powered. I doubt TVH is at fault here. Try the dmesg command while the tuners are plugged and unplugged. That should confirm an under voltage condition.

RE: End of program: Time missed - unable to stream/record - Added by flex tcg almost 2 years ago

That's what I assumed at first as well, but there was a different tuner plugged into it, when it was still working fine (XBOX Digital Tuner), I just replaced that when relocating, because the current one is more stable.

Now I'm still able to stream 2 HD channels simultaneously with no issues, but only from the Channels list, not from the actual exported playlist, so I doubt this would be a voltage problem.

It's a Raspberry Pi 3B with the followings plugged into it:

Astrometa (MN88473) tuner
Avermedia TD310 (<- this is what I replaced the XBOX tuner with)
128 GB thumb drive

Running off of a 5V 2.5A PSU.

pi.PNG (1.92 MB) pi.PNG

RE: End of program: Time missed - unable to stream/record - Added by Mark Clarkstone almost 2 years ago

Yes, check dmesg for errors, also Si2168 are very fussy about firmware and bus sharing from my experience.

RE: End of program: Time missed - unable to stream/record - Added by flex tcg almost 2 years ago

I don't see any major errors in it. It won't stream with any of the tuners, not just the AverMedia.

If I open the exported playlist with VLC, and enter the credentials, the TVheadend log wouldn't show anything at all, it looks like it's not even trying to start the stream.

I attached the dmesg log.

RE: End of program: Time missed - unable to stream/record - Added by flex tcg almost 2 years ago

I think I'm onto something. This is going to be some sort of a permission issue I think. If I stop the service (sudo service tvheadend stop) and run it with "sudo tvheadend --noacl", it streams fine through the playlist as well.

I created a test profile in there, restarted it without the --noacl argument, and it did the same thing as in service mode.

Do I have to manually turn on something to allow streaming off of the exported playlist?

RE: End of program: Time missed - unable to stream/record - Added by Jonas Lang almost 2 years ago

Just make sure TVH is running as root from your service daemon.

RE: End of program: Time missed - unable to stream/record - Added by Mark Clarkstone almost 2 years ago

flex tcg wrote:

I think I'm onto something. This is going to be some sort of a permission issue I think. If I stop the service (sudo service tvheadend stop) and run it with "sudo tvheadend --noacl", it streams fine through the playlist as well.

I created a test profile in there, restarted it without the --noacl argument, and it did the same thing as in service mode.

Do I have to manually turn on something to allow streaming off of the exported playlist?

You shouldn't need to, the fact that noacl works means that user options are incorrect, but that shouldn't cause time missed errors, two different issues.

Here's what I have set for a catch all user.

user.png (32.9 KB) user.png
    (1-8/8)