NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 12 13 14 15 16 … 93 Next »
Client - Tuner plugins

 
  • 0 Vote(s) - 0 Average
Client - Tuner plugins
lovemyram4x4
Offline

Member

Posts: 54
Threads: 0
Joined: Jun 2011
#31
2011-09-16, 08:20 PM
I've done a new install on NPVR on a Win 7 64 VM. Trying to tune is still iffy, I can see that my tuner is actually tuned and NPVR starts the buffer file but it just sits at 0kb when it doesn't work if actually works it takes a long time. On changes it's the same as initally starting live TV, it either works or it gets to starting the buffer file but never writes to it, if the channel change actually works it takes 20sec. The last channel changed that failed when I tried to go back(esc) it had tuner no longer available for live TV message instead of the please wait it normally has.

Arrow up/down and +/- keys still giving the message bellow when using networkrecorder+SageDCT.

at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n()
at System.Collections.Generic.List`1.get_Item(Int32 index)................................................

Here's the logs from the last test session.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#32
2011-09-16, 08:30 PM
Can you reproduce the problem with this patch, then post the logs again?

I think the problem lies with the string being returned from the tuner plugin's GetStatus() call. This patch logs that info so I can see what its returning.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,108
Threads: 957
Joined: May 2006
#33
2011-09-16, 09:55 PM
Here's mine if it helps. The second has the reduced channel list. Note the a name I return is not the same as anything in the database, I thought offering a Friendly name for the tray and System plugin was useful and it never cause a problem here.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#34
2011-09-16, 10:08 PM
I'm not sure if it's the cause of the problem or not, but you should try using <LiveTV> instead of <Recording> in your status for live tv.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#35
2011-09-16, 10:22 PM
It may be a case of me giving a complete implementation in the same tuner plugin.

Try doing something like this:

Code:
string status = "";
            status += "  <Device oid=\"" + oid + "\" identifier=\"" + Description + "\"" + quality + ">\r\n";
            if (activeStream != "")
            {
                string escapedTarget = System.Security.SecurityElement.Escape(activeStream);
                int handle = (((CaptureSourceOID & 0x7FFF) << 16) | ((this.handle - 1) & 0xFFFF));

                if (escapedTarget.StartsWith("LIVE"))
                    status += "    <LiveTV handle=\"" + handle.ToString("X") + "\">" + escapedTarget + "</LiveTV>\r\n";
                else
                    status += "    <Recording handle=\"" + handle.ToString("X") + "\">" + escapedTarget + "</Recording>\r\n";
            }
            status += "  </Device>\r\n";
lovemyram4x4
Offline

Member

Posts: 54
Threads: 0
Joined: Jun 2011
#36
2011-09-16, 10:27 PM
Ok here's the logs after the patch. I didn't have any tuning problem during this test, I however couldn't get guide to load or ctrl+w to work during live TV playback so I couldn't do a channel change as per normal I got the error message for arrow up and +/-. goin gback to main menu and choosing new channel worked fine(slow).
lovemyram4x4
Offline

Member

Posts: 54
Threads: 0
Joined: Jun 2011
#37
2011-09-16, 10:33 PM
Oh BTW, I'm currently running w/ the HDhomeruns disabled as when doing channel changes(the couple of times I didn't get the error message)/last channel it tends to change to a clearQAM several channels away instead of the correct one to help keep other issue out of the picture for now.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,108
Threads: 957
Joined: May 2006
#38
2011-09-16, 10:50 PM
sub Wrote:I'm not sure if it's the cause of the problem or not, but you should try using <LiveTV> instead of <Recording> in your status for live tv.

Oops, I was testing for the target starting with LIVE& which I strip off if the writer doesn't support it. Do you want the text to include the LIVE& or not.

Martin.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#39
2011-09-16, 11:00 PM
Yeah, leave LIVE& in the target.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,108
Threads: 957
Joined: May 2006
#40
2011-09-16, 11:51 PM
Ok thanks, that fixes the reduced file list caption. @lovemyram4x4 give the attached update a try. Don't forget you need to restart the recording service before it the changes are made.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  FM tuner support in NextPVR? Goongyae 2 1,502 2022-11-23, 01:22 PM
Last Post: mvallevand
  Plugins and NPVR. Where do we start? sub 80 70,035 2020-11-26, 10:02 PM
Last Post: mandai
  Developing Android TV client fred250 2 1,887 2020-11-16, 06:33 PM
Last Post: fred250
  Tuner status & disk usage mikaelgu 2 2,976 2017-04-10, 04:51 PM
Last Post: mikaelgu
  Determine Server Tuner/Recorder Status from Console App 27InchSony 13 8,442 2016-12-21, 05:03 AM
Last Post: mvallevand
  Web Client: Slow with separate thread and date not obscured cncb 32 16,296 2016-10-10, 02:01 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,373 2015-09-29, 08:07 PM
Last Post: cncb
  How to get edl information for videos in a web client? fred250 27 10,865 2014-12-10, 12:39 AM
Last Post: fred250
  I want to start developing plugins...but how? OrenShapir 6 4,148 2014-11-18, 10:38 PM
Last Post: mvallevand
  Remote client logout timeout. mvallevand 2 2,584 2014-10-28, 12:55 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode