NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 3 4 5 6 7 … 93 Next »
Media Browser Integration

 
  • 0 Vote(s) - 0 Average
Media Browser Integration
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#201
2014-01-19, 11:41 PM
Yep I gave you a mix of XML and JSON Bottom line is sub uses mainly XML with a little JSON and NEWA uses JSON

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#202
2014-01-20, 12:16 AM
Svekke Wrote:Is there also an api call to get the version of the nextpvr client?

When i went to record 2 programs on the same time, i get an internal server error back.
I have a tv-card with 2 tuners so it's possible.

When i start them with nextpvr itself. There is no problem....

No API at present for NPVR version.... I can create one though.... I will post when added.

As for the recording..... 1st upgrade to the latest NEWA dev build following instructions on wiki

Also.... you need to post the web.log when you have issues so I can see if anything unusual is happening in there... as a tip... you will need to stop the npvr recording service to zip the log since it holds it open.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#203
2014-01-20, 12:34 AM
UJB the setting.get method from sub basically returns the XPath into config.xml it is not really a version check but I'd prefer sub's way to dedicated calls for each setting value that sub might add to config.xml

However a JSON call to get NEWA version instead of this XML call http://forums.nextpvr.com/showthread.php...WA-version would be helpful.

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#204
2014-01-20, 02:13 AM
mvallevand Wrote:UJB the setting.get method from sub basically returns the XPath into config.xml it is not really a version check but I'd prefer sub's way to dedicated calls for each setting value that sub might add to config.xml

However a JSON call to get NEWA version instead of this XML call http://forums.nextpvr.com/showthread.php...WA-version would be helpful.

Martin

Is the request for the NPVR version, the NEWA version or both?

I was thinking svekke wanted the current NPVR version.... I can do both... just need to make sure I know what people want.

Also... the changelog is also available on the wiki.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#205
2014-01-20, 02:51 AM
Ideally I think many developers want a full API that only requires JSON although reven seems satisfied with XML. Right now to get everything both are required. As an example I showed that sub has a api that exposes config.xml valyes NEWA does not have this. It doesn't have a login either Right now NEWA exposes more via JSON so it makes a richer client.

The wiki change log is pointless I read changelog attributes as xml to determine the actual running NEWA's version needed until SOAP is dead.

Martin
Svekke
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2012
#206
2014-01-20, 06:41 AM
If you can give both, that would be great.

The problem now is that we need to do also the login (salt,sid).
When we only use the newa json calls, we don't need to do some extra stuff. Smile

It would make our code much cleaner. Smile
Svekke
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2012
#207
2014-01-20, 02:01 PM
Hmm for the LiveStream I still need the login(sid/salt). Not?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#208
2014-01-20, 03:29 PM
Svekke Wrote:Hmm for the LiveStream I still need the login(sid/salt). Not?

No that is YANA (Yet Another NextPVR API) Now that JSON has most of XML there is no login required, it is not integrated with the SID login, although I am hoping sub and UJB work something out so we can have safer internet access in the next version. From an MB3 perspective you it probably isn't an issue.

Personally I still use the XML for the Now/Next guide info because the server side is much faster.

Martin
Svekke
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2012
#209
2014-01-20, 05:34 PM
mvallevand Wrote:No that is YANA (Yet Another NextPVR API) Now that JSON has most of XML there is no login required, it is not integrated with the SID login, although I am hoping sub and UJB work something out so we can have safer internet access in the next version. From an MB3 perspective you it probably isn't an issue.

Personally I still use the XML for the Now/Next guide info because the server side is much faster.

Martin

Do you maybe have an example how to call it?
Pointing me in the right direction. Smile
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#210
2014-01-20, 05:50 PM
There are two

/live?channel=##&client=uniqueid
/live?channeloid=##&client=uniqueid

You are responsible for the uniqueid if &client is not provided only one stream is available via the API.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (56): « Previous 1 … 19 20 21 22 23 … 56 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Looking for C# UPnP Media Server code bgowland 5 7,773 2016-12-16, 08:25 PM
Last Post: mvallevand
  Media\Show Directory mvallevand 12 6,165 2014-07-02, 10:58 AM
Last Post: sub
  Media\Shows Metadata mvallevand 2 1,956 2013-05-22, 04:09 AM
Last Post: mvallevand
  Streaming media imilne 44 13,258 2012-12-14, 04:05 AM
Last Post: mvallevand
  SkyDrive Eplorer Integration Released.....also available for Mac and iPad UncleJohnsBand 0 1,493 2012-04-24, 01:06 AM
Last Post: UncleJohnsBand
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,967 2012-02-05, 10:29 AM
Last Post: bgowland
  Windows Media Connect - Storing stuff on a Home Server psycik 3 2,781 2009-09-29, 03:47 AM
Last Post: mvallevand
  Plugin notification of stopped media mvallevand 7 2,429 2009-08-19, 11:16 PM
Last Post: mvallevand
  GBPVR Media Events KingArgyle 1 1,624 2005-03-27, 07:12 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