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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#71
2013-11-30, 09:17 PM
mvallevand Wrote:I've got python examples if you are interested and it usually provides option to use one or the other for comparison. You can typically do more with the NEWA JSON because it sends lots of information, but it a bit more awkward to interface with. My problem right now is I need to use XML, JSON and SOAP to get everything I need, at least until UJB updates all the SOAP calls to JSON.

Martin

Which ones are you waiting on to be converted....let me know in priority order and I can start on them....
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
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#72
2013-11-30, 09:28 PM
thanks. i'll start playing with your swagger docs.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#73
2013-11-30, 09:45 PM
UncleJohnsBand Wrote:Which ones are you waiting on to be converted....let me know in priority order and I can start on them....

No real priority since I'm in limbo until sub moves beyond 3.1.1 As you know, I really am hoping for NEWA-JSON can integrate with sub's API login to provide an improved security model. If you are considering dropping SOAP at one point, search api's will be the most time consuming change for me.

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#74
2013-12-01, 06:23 AM
lukemb3 Wrote:Glad you're liking it. I think you can get those descriptions filled in, you just have to look at what swagger is expecting.

lukemb3 Wrote:thanks. i'll start playing with your swagger docs.

I figured out how to role my own docs for Swagger display.... I can start working on them...... they will provide much better detail than what is there now. For instance.... you don't see anything about the guideservice taking in a querystring parameter allowing for date/time range.
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
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#75
2013-12-01, 07:19 PM
Thanks. Let me know if you have any updates i should download.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#76
2013-12-02, 04:33 AM
lukemb3 Wrote:Thanks. Let me know if you have any updates i should download.

There is a new build on the FTP server.... no new services but if you access http://localhost:8866/swagger-2/ you will get much better API doc.

I have documented all but the VLC service which I will do tomorrow night. I used the swagger-core no-server example from GIT to build it out and Swashbuckle provides me the automated JSON object skeleton for the API's...I just need to grab the raw output and put it into the documentation area and wire it up. It is actually simple once you get the hang of it.



mvallevand - you may want to check it out as well.... I think this is the type of thing you were looking for early on.....

Cheers
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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#77
2013-12-04, 01:19 AM
UncleJohnsBand Wrote:There is a new build on the FTP server.... no new services but if you access http://localhost:8866/swagger-2/ you will get much better API doc.

I have documented all but the VLC service which I will do tomorrow night. I used the swagger-core no-server example from GIT to build it out and Swashbuckle provides me the automated JSON object skeleton for the API's...I just need to grab the raw output and put it into the documentation area and wire it up. It is actually simple once you get the hang of it.



mvallevand - you may want to check it out as well.... I think this is the type of thing you were looking for early on.....

Cheers

Another new build on the FTP server.... VLC service now documented.
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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#78
2013-12-06, 04:26 AM (This post was last modified: 2013-12-06, 04:38 AM by UncleJohnsBand.)
New release on FTP server....

Location of swagger doc is now localhost:8866/api

Added:
DetailService - Get Recurring information from Recurring OID
GuideService - Get a list of genres and the corresponding colors for each defined in NPVR.
GuideService - Get a list of the Channel Groups defined by the user in NPVR
GuideService - Get a channel listing consisting of the Channel number, Channel Name, Channel OID and Relative URL for Channel Icon download

Details REST service is now = to SOAP service
Guide REST service is now = to SOAP service
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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#79
2013-12-07, 04:20 AM
Another NEWA release is on the FTP server.

Fixed swagger API docs to work from whatever url is hosting the docs.... access at :8866/api/

Fixed the listing service I broke with the last update.
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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#80
2013-12-09, 03:43 AM
Another new release on the FTP server.

Swagger now works from the server completely.....provides path to service when service calls are made.

Completed SearchService API.

Note.... POST actions from the Swagger API Info do not work.... but the service does. I had to use Advanced REST Client for Chrome to test out posting....... something in how the swagger framework performs a post of the object is not correct.

Let me know of any issues.
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
« Next Oldest | Next Newest »

Users browsing this thread: 5 Guest(s)

Pages (56): « Previous 1 … 6 7 8 9 10 … 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,157 2014-07-02, 10:58 AM
Last Post: sub
  Media\Shows Metadata mvallevand 2 1,951 2013-05-22, 04:09 AM
Last Post: mvallevand
  Streaming media imilne 44 13,253 2012-12-14, 04:05 AM
Last Post: mvallevand
  SkyDrive Eplorer Integration Released.....also available for Mac and iPad UncleJohnsBand 0 1,490 2012-04-24, 01:06 AM
Last Post: UncleJohnsBand
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,966 2012-02-05, 10:29 AM
Last Post: bgowland
  Windows Media Connect - Storing stuff on a Home Server psycik 3 2,778 2009-09-29, 03:47 AM
Last Post: mvallevand
  Plugin notification of stopped media mvallevand 7 2,428 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