NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 239 240 241 242 243 … 433 Next »
Remote clients knocking each other off their tuners

Remote clients knocking each other off their tuners
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#11
2013-10-27, 10:40 PM
crutonius Wrote:It looks like the latest release is Sep 16 2011. I got it from here: http://www.nextpvr.com/nwiki/pmwiki.php?...order#toc1. Is there a newer version?
I was referring to the discussion Martin and I were having above, where it was sounding like the Network Recorder was never denying a request to start live tv, and the Network Recorder would need to be changed to fix that. (ie, a change not yet made)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,201
Threads: 958
Joined: May 2006
#12
2013-10-27, 10:45 PM
Sub's meant I probably need to update it, and I probably do, but right now I don't know what needs changing because I thought the calls were on one tuner.

Martin
crutonius
Offline

Junior Member

Posts: 12
Threads: 2
Joined: Jan 2013
#13
2013-10-27, 10:45 PM
Also, the when computer b knocks out computer a then computer a has a message about the tuner being needed for a recording.
crutonius
Offline

Junior Member

Posts: 12
Threads: 2
Joined: Jan 2013
#14
2013-10-27, 10:50 PM
mvallevand Wrote:Sub's meant I probably need to update it, and I probably do, but right now I don't know what needs changing because I thought the calls were on one tuner.

Martin

Oh. Is it open source? I might be able to help.

When NPVR starts to use one of these tuners it seems like NPVR on the client and server ends freezes while this is going on. A hefty delay seems to be necessary in NetworkRecorder.xml to get these tuners to function reliably. Maybe the thread that services the requests from the client is held up too long by the request of the other client to use a tuner?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,201
Threads: 958
Joined: May 2006
#15
2013-10-27, 11:01 PM
During your dead time of 8000ms not much is happening on that thread and your logs show it come out cleanly. The API doesn't have a yield function and sub doesn't recommend Application.DoEvents() so I didn't want to put one in NRecorder

Code:
int steps = delay / 1000 * 2;
                for (int i = 0; i < steps; i++)
                {
                    System.Threading.Thread.Sleep(500);
                }

Did you try with 5000 since using the donator version of SageDCT?

I still need sub's comment on my post with the analysis on why he sends the stop to me.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#16
2013-10-27, 11:25 PM
mvallevand Wrote:I still need sub's comment on my post with the analysis on why he sends the stop to me.
It looks like one of the clients hasn't requested a renewal in a timely fashion.
Code:
2013-10-27 15:54:20.875    [ERROR][9]    Live stream expired without renewal. (handle:1603E8)
crutonius
Offline

Junior Member

Posts: 12
Threads: 2
Joined: Jan 2013
#17
2013-10-27, 11:43 PM
Yes. I'm currently at 4000. I seem to have problems with the tuners actualy starting if I go lower than that.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,201
Threads: 958
Joined: May 2006
#18
2013-10-27, 11:43 PM
Yes he posted the logs for the client

Code:
2013-10-27 15:53:38.917    [DEBUG][1]    Updating OSD.
2013-10-27 15:53:42.549    [DEBUG][1]    Frame Render Rate=17.4364032745361
2013-10-27 15:53:42.909    [DEBUG][1]    Hiding OSD.
2013-10-27 15:53:45.646    [DEBUG][1]    Client about to request renewal of handle: 1603E8
2013-10-27 15:53:55.692    [DEBUG][1]    Client about to request renewal of handle: 1603E8
2013-10-27 15:54:15.386    [DEBUG][1]    Stopping graph@1

There's likely blocking in NRecorder but I don't know if I can avoid it in NRecorder. The streaming thread I create shows it growing.

Martin
crutonius
Offline

Junior Member

Posts: 12
Threads: 2
Joined: Jan 2013
#19
2013-10-28, 07:04 AM
Here's a new piece of information that might be useful. It seems to work if the second client is XBMC.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,201
Threads: 958
Joined: May 2006
#20
2013-10-28, 09:56 PM
Yes that info ties into my post just above, something in the client seems to block live tv. I added the Application.DoEvents into that loop to see if frees the thread enough to let the client through. Does this help? Replace the files and restart the recording service, I don't think clients need to be updated. Again this approach is not recommend by sub so consider it experimental.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR and Remote viewing MaxiBelas 2 1,771 2021-09-07, 05:29 PM
Last Post: sub
  Duel USB tuners lock out cablood1 4 1,843 2020-10-30, 05:35 PM
Last Post: sub
  Start With Remote RTKAT 2 1,483 2020-02-13, 03:59 PM
Last Post: RTKAT
  Nextpvr can't find tuners RTKAT 7 2,778 2020-02-11, 07:34 PM
Last Post: RTKAT
  MCE Remote Opens NextPVR Behind Other Windows 1sae 3 2,471 2020-01-13, 06:19 PM
Last Post: Stanno
  Remapping a RC6 MCE IR USB remote for Subtitles wwhenderson 0 1,798 2019-12-22, 06:50 PM
Last Post: wwhenderson
  Unified remote for nextPvr? rv0987 2 1,729 2019-11-01, 12:31 PM
Last Post: rv0987
  No tuners and cannot watch/record ukmark62 13 4,312 2019-08-11, 08:41 PM
Last Post: ukmark62
  Unused Tuners jcole998 4 1,608 2019-07-04, 01:20 PM
Last Post: jcole998
  6 tuners, multiple recordings issue Ddodge13 25 5,637 2019-02-19, 01:01 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