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

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#1
2013-07-09, 07:14 PM
Hey guys,
I'm one of the lead developers of Media Browser 3 and would like to integrate this product into ours. Is there anywhere I can find api information? It appears most of the developer docs are geared towards next pvr plugin development, whereas I would be talking to it externally.

For a little background, about us, MB3 is a client-server architecture with streaming and encoding to multiple devices. We have the following clients in production:

- Media Browser Classic (wmc)
- Media Browser Theater (new htpc client, in WPF)
- Android
- iOS
- Roku
- Win Phone
- Win RT
- HTML5 Web client (built into server)
- Media Portal 1/2

Github: https://github.com/MediaBrowser
Promo site: http://www.mediabrowser3.com
Community: http://community.mediabrowser.tv

Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#2
2013-07-09, 07:28 PM
What sort of integration are you hoping to achieve? This will help us point you in the right direction.

As a guess - if you're wanting to query the list of channels, get their channel icons, stream the channels, query list of recordings, stream a recording, you might be best to look at the source code to the NextPVR addon for XBMC, which does this type of thing. It uses an external http based API. See https://github.com/sub3/xbmc-pvr-addons/...extpvr/src

For example, calls like "http://127.0.0.1:8866/service?method=channel.list" will get you an xml channel list.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,851
Threads: 954
Joined: May 2006
#3
2013-07-09, 08:04 PM
NEWA Web Services provides pretty much all NextPVR functionality and it is documented through wsdl.


http://localhost:8866/public/services/De...rvice.asmx
http://localhost:8866/public/services/GuideService.asmx
http://localhost:8866/public/services/Ma...rvice.asmx
http://localhost:8866/public/services/Sc...rvice.asmx
http://localhost:8866/public/services/Se...rvice.asmx

It does help to know the API though.

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#4
2013-07-10, 07:01 PM
sub - yes, that's exactly what i want to do. I guess I'll have to poke through both of those apps to piece it all together.

What I want to do is allow the user to set it up through our server so that all of our clients can then access it. Our server will provide a normalization layer so that we can support multiple back-ends later if we want to.
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#5
2013-07-10, 07:03 PM
mvallevand - how can i view that externally? Or is the newa source available somewhere?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#6
2013-07-10, 08:03 PM
lukemb3 Wrote:mvallevand - how can i view that externally? Or is the newa source available somewhere?
The newa source is included with the NextPVR install. It can be found in the c:\users\public\npvr\web directory.

NEWA is web app that runs within NextPVR's web server. As well as providing web pages for users preferring to manage/schedule their recordings etc via a web browser, it also provides the web services Martin refers to above, which some applications use for interacting with NextPVR. Pointing your web browser at the URLs he mentioned will show you a description of those web services. NEWA makes use of internal API for communicating to the NextPVR's recording service (which is the same process as the web server)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,851
Threads: 954
Joined: May 2006
#7
2013-07-10, 08:06 PM
When you install NextPVR NEWA is also installed. The source is also installed in the DataDirectory\web folder and it even shows example of how to use the NextPVR API from a non-plugin. NextPVR is moving to .NET 40 though, so you might have issues only being 3.5

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,851
Threads: 954
Joined: May 2006
#8
2013-07-10, 08:06 PM
Sub beats me to the punch yet again!
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#9
2013-07-10, 08:41 PM
Thanks guys. I will install and look at that. We're recently built from the ground up with 4.5, so there won't be any issues there.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,851
Threads: 954
Joined: May 2006
#10
2013-07-10, 09:38 PM
Also you can look at the x-newa plugin for xbmc. http://www.nextpvr.com/nwiki/pmwiki.php?...-1.4.9.zip It exercises most of the web services in python.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (56): 1 2 3 4 5 … 56 Next »
Jump to page 


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