NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 82 83 84 85 86 … 101 Next »
No HDHR tuner connection on system start

 
  • 0 Vote(s) - 0 Average
No HDHR tuner connection on system start
othello
Offline

Junior Member

Posts: 7
Threads: 3
Joined: Oct 2017
#1
2020-05-26, 06:09 PM
One more step towards autonomous bliss. This new NextPVR is now starting up before Kodi and it's green but the tuners aren't there.
NextPVR console shows all of my HDHomerun tuners as "unavailable" and trying to start a stream with the client gets the dreaded "Unable to find available capture device"
and the Web client shows "failed to start requested stream" error.

This will continue until I restart the NPVR service. Once restarted everything works and Kodi is happy.
Windows 10 Pro on NUC10i7FNH and fresh NextPVR install.

Attached the cold start logs.


Attached Files
.zip   logs-202005251352.zip (Size: 208.09 KB / Downloads: 3)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#2
2020-05-26, 06:12 PM (This post was last modified: 2020-05-26, 06:17 PM by mvallevand.)
You can't have it both ways. Although I have asked sub to change the logic, NextPVR doesn't retry when it launches before the network is available and can't connect to the HDHR. His solution is to use delayed start.

You can use delayed started and then see if you use NextPVR scripts to launch Kodi if that is your main concern.

Martin
othello
Offline

Junior Member

Posts: 7
Threads: 3
Joined: Oct 2017
#3
2020-05-26, 06:43 PM
Not intending to whine about it but, no wait yes I can whine about it. This did not happen with NextPVR 4. It was quite solid no matter how flaky Kodi got.
I use the Launcher4Kodi to start up Kodi. I tried making it wait for a bit but this gets very tricky and annoying having to now wait several minutes for NPVR to catch up.
I guess I have some decisions to make before my hard drive for recordings arrives.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#4
2020-05-26, 06:48 PM
I don't support whiners it isn't productive.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2020-05-26, 08:07 PM
(2020-05-26, 06:43 PM)othello Wrote: Not intending to whine about it but, no wait yes I can whine about it. This did not happen with NextPVR 4. It was quite solid no matter how flaky Kodi got.
In theory it's exactly the same as v4. It could also try to use a network tuner before the network was up.

Were you using the HDHR or DVB/ATSC style device on v4? It's possible the latter has some different behaviour to HDHR - I'm not sure if SiliconDust implement some sort of delay or retry in their BDA drivers.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#6
2020-05-26, 08:10 PM
Does the problem only happen on a reboot, or does it also happen on wake from standby?

I'll look at putting a fix in, but want to make sure I understand the problem correctly first.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#7
2020-05-26, 08:28 PM
You could see if this updated NShared.dll helps, at least for the on-reboot scenario.


Attached Files
.zip   NShared.zip (Size: 305.13 KB / Downloads: 2)
othello
Offline

Junior Member

Posts: 7
Threads: 3
Joined: Oct 2017
#8
2020-05-26, 11:39 PM
The problem happens only on reboot. If the service is set to Automatic then it starts quick but won't see the HDHR tuners. (HDHR, not ATSC) If the service is set to Delayed Start then Kodi will fail to connect to the NPVR backend unless the auto-start is set to wait up to 2 minutes, and Kodi has a similar problem to NPVR that it won't retry a failed plugin. When both NPVR and Kodi are working hand-in-hand (like in v4) then you get that clean worry-free appliance feel. I never even saw my desktop unless I exited Kodi.

I just tried your updated NShared.dll file. Shut down service, replaced file, restarted computer to test. No change in behavior, the tuners are still marked "unavailable" on the browser admin client.
But I thank you profusely for the effort to help.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#9
2020-05-26, 11:46 PM
Could you send the log again to help sub out?

There seems to be something quite odd in your startup since Kodi tries to connect to NextPVR for 30 seconds after it starts, it would be interesting to see an Kodi debug log.

For Matrix I can see probably add a setting to wait longer for startup.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#10
2020-05-27, 01:25 AM
Yeah, I'll definitely need to see the logs. Please use this slightly later NShared.dll though:
https://forums.nextpvr.com/showthread.ph...#pid541550
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  error: No tuner was available for the requested channel jzk 3 215 2025-04-19, 03:30 PM
Last Post: mvallevand
  Install Fail on Existing System jsauser11 8 478 2025-03-22, 05:35 AM
Last Post: sub
  Audio connection problem at TV jamesefrye 1 227 2025-01-18, 02:07 AM
Last Post: sub
  Issue changing channel to same IPTV connection curtisfeatures 18 1,052 2025-01-14, 04:22 PM
Last Post: mvallevand
  NPVR NOT in system tray now RichU 4 387 2025-01-05, 10:20 PM
Last Post: RichU
  Device does not start kevin939 2 492 2024-12-29, 05:52 PM
Last Post: kevin939
  Fail To start Live TV PeterK2003 2 285 2024-12-15, 10:30 PM
Last Post: PeterK2003
  I can't start service daydreaming5 17 874 2024-12-08, 03:24 AM
Last Post: daydreaming5
  Recording Auto Transcode Problem and HDHR Viewing Problems in v7 Metroid 8 1,005 2024-12-06, 04:42 AM
Last Post: mvallevand
  V7 Resume now always Plays from File Start peter t 2 367 2024-11-16, 03:53 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode