NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 25 26 27 28 29 … 44 Next »
Bug if no tuners available

 
  • 0 Vote(s) - 0 Average
Bug if no tuners available
janoonk
Offline

Member

Netherlands
Posts: 111
Threads: 34
Joined: Dec 2020
#11
2021-01-12, 09:04 AM
(2021-01-11, 04:26 PM)sub Wrote:
(2021-01-11, 08:20 AM)janoonk Wrote: Why don't you use the HDHomeRun API to check tuner availability?
https://info.hdhomerun.com/info/http_api

You could also just check the status page through a simple web API call for example http://192.168.11.105/tuners.html
and parse the results.

You can also just use auto in the url so a free tuner will be used, no need to specify the exact tuner.
And if you check the API docs you can read that if a call to http://192.168.11.105:5004/auto/v1
and if it fails, because all tuners are occupied, a 503 HTTP status code will be returned. It even returns more detailed info in the response headers:
X-HDHomeRun-Error: 805 All Tuners In Use
In addition to what was already said above...

There would be no point in me checking what tuners are available at the time you schedule the recordings, since that in no way reflects what tuners will be available at some later time when the recordings are due to happen. ie, you might be watching live tv in some other software now, but it doesn't mean you will be later when the recordings are due to start. NextPVR has to assume that it can schedule recordings on any tuners you told it are available. ie, if you have four tuners which you've setup in NextPVR, it has to assume those four tuners will be available at recording time, so will allow you to schedule four recordings. When the recordings try to start, if a tuner isn't available, that recording will ultimately get an error.

If you're going to use the software in different applications, I'd recommend deleting a couple of the tuners in NextPVR, so that it's not working on the assumption that it can user all the tuners.

Of course. And reserving 1 tuner is a reasonably work-around.

But let me clarify a few things:
I meant watching *Live* TV with my HDHomeRun app. Secondly my first post of this thread is about making at the same time *ad hoc* recordings (4 times) from the TV guide. But as 1 of the tuners is occupied with watching live TV (for example by one of my kids) the fourth ad hoc recording fails. But the user is not getting a error about this. Even worse is that if you cancel 1 of the three that did succeed and try to re-record the fourth failed channel NextPVR still thinks it's recording that channel. You first have to "cancel" it. The very first time I used NextPVR, when I was doing research on a successor for TV Mosaic and was searching and testing all recording software, when I did this test I almost already gave up on NextPVR. How this case is currently handled is not a good user experience.

But as we already said maybe it's not worth the dev effort since it's a not so common use case and there's a workaround by reservering a tuner.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,170
Threads: 958
Joined: May 2006
#12
2021-01-12, 02:10 PM (This post was last modified: 2021-01-12, 02:10 PM by mvallevand.)
Actually if you schedule a recording NextPVR will kill live TV if no other tuner is available.

Also other full clients like NextPVR and Kodi will be more responsive to error condions then the web. A browser is not an ideal client because of issues like the browser cache.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#13
2021-01-12, 04:19 PM
(2021-01-12, 08:32 AM)janoonk Wrote: Then hopefully sub will get at least 100 years old so I can continue using it Smile
All jokes aside as much as I love people working hard and be passionate about it... what if sub stops developing or something happens to him? Open-source is the way to go. It's inspiring to have multiple people working on the same project, helping and learning from each other. You spread/lower the risk that the project get's abandoned. But ok that's just my opinion.
I know there is people that would like NextPVR to be open source, but sorry, NextPVR was never intended to be an open source project, and there is no plans for me to change this any time soon.

For anyone worried about longevity - NextPVR began it's life nearly 20 years ago (2003), and I've been consistently putting out releases ever since then. In that time, numerous similar applications, both commerical and open source, and come and gone. No one needs to worry about this being a short lived project which could be abandoned at any time.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is it possible to rename IPTV tuners? brcarls 1 370 2025-02-27, 07:58 PM
Last Post: sub
  Linux Ending Tuner Recording Early For New Recording Despite Idle Tuners Available LinuxDVR 5 1,202 2022-11-18, 09:30 PM
Last Post: mvallevand
  Keep Tuners Primed vitony 4 1,388 2021-12-29, 05:26 PM
Last Post: vitony
  Multiple tuners - Not working aTF6i 24 5,385 2021-12-09, 01:45 AM
Last Post: aTF6i
  Need help. [Failed: No errors, but no data delivered] pci-e and usb tuners briantho 3 1,283 2021-11-29, 05:35 PM
Last Post: briantho
  Cannot seem to disable tuners, and importing channels peterdegroot 3 1,369 2021-07-15, 07:26 AM
Last Post: peterdegroot
  Prime Digital Tuners setting Red5ive 7 3,182 2020-01-20, 07:19 PM
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