MP2 Webservices

Discussion in 'Plugin Development' started by Mike Lowrey, July 30, 2011.

  1. Mike Lowrey

    Mike Lowrey Portal Pro

    Joined:
    February 4, 2009
    Messages:
    638
    Likes Received:
    125
    Location:
    Berlin
    Ratings:
    +125 / 0
    Home Country:
    Germany Germany
    Hi,

    since i'm currently designing a more elegant Webservice to access the current MP 1.1/1.2 databases based on the MS MEF framework i'm thinking whether there is any interest in an MP2 based webservice to provide the same apis for MP2 like for MP1.

    My idea is to design a generic api for movies, tv shows, music which will then be filled with data based on mef plugins.

    The result could be an MP(-version) "independent" webservice which provides all information MP2(and 1) stores in it's database.



    Are there any thoughts about web access(or UPNP independet API in general)?
     
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Albert
    • Team MediaPortal

    Albert MP2 Developer

    Joined:
    February 18, 2008
    Messages:
    1,297
    Likes Received:
    1,125
    Gender:
    Male
    Occupation:
    Dipl.-Inform.
    Location:
    Freiburg im Breisgau, Germany
    Ratings:
    +1,130 / 1
    Home Country:
    Germany Germany
    AW: MP2 Webservices

    UPnP AV provides a generic API to access a media library... MP2 will provide a UPnP AV device.
     
  4. Mike Lowrey

    Mike Lowrey Portal Pro

    Joined:
    February 4, 2009
    Messages:
    638
    Likes Received:
    125
    Location:
    Berlin
    Ratings:
    +125 / 0
    Home Country:
    Germany Germany
    The question is how much use has this api for mobile devices for example? As far as i know UPNP isn't the best supported way to get information on mobile platforms.
     
  5. Smeulf
    • Team MediaPortal

    Smeulf Test Group

    Joined:
    October 27, 2010
    Messages:
    672
    Likes Received:
    227
    Location:
    France
    Ratings:
    +228 / 0
    Home Country:
    France France
    Show System Specs
    Re : Re: MP2 Webservices

    If I understand you correctly, you're first question was about an UPnP independent Web Service.

    There is no sutch web service planned for MP2 actually (Albert please correct me if I'm wrong), and I don't think it will be. All the communications between the client and the server use UPnP, and later UPnP Av will be implemented, to work with more standard hardware.

    If you think it's usefull to have a "Full Web Service API", you can of course create it as a plugin for the server but without breaking the actual UpNP please ;)

    I hope it answer your question.

    Cheers.

    Smeulf.
     
  6. DieBagger
    • Team MediaPortal

    DieBagger Retired Team Member

    Joined:
    September 11, 2007
    Messages:
    2,516
    Likes Received:
    1,257
    Gender:
    Male
    Occupation:
    Android Developer
    Location:
    Austria
    Ratings:
    +1,302 / 0
    Home Country:
    Austria Austria
    Show System Specs
    Re: Re : Re: MP2 Webservices

    Of course it is useful, how else are we supposed to create all the mobile magic??? ;)
     
  7. Albert
    • Team MediaPortal

    Albert MP2 Developer

    Joined:
    February 18, 2008
    Messages:
    1,297
    Likes Received:
    1,125
    Gender:
    Male
    Occupation:
    Dipl.-Inform.
    Location:
    Freiburg im Breisgau, Germany
    Ratings:
    +1,130 / 1
    Home Country:
    Germany Germany
    AW: MP2 Webservices

    The UPnP protocol consists of four sub protocols: The low level SSDP for the "Advertisement" - provides the "plug & play", with that protocol the control point finds the devices in the network; after the devices are known, HTTP is used for "description" = declaration of the supported devices, and later, SOAP is used for control = service calls. For eventing, a protocol called GENA is used.

    If you don't want to use the full UPnP protocol "package", you can also only use the "control" part = SOAP calls.

    What I want to say is; with our UPnP implementation, we already have a kind of "Full Web Service API", with additional UPnP features.
     
  8. DieBagger
    • Team MediaPortal

    DieBagger Retired Team Member

    Joined:
    September 11, 2007
    Messages:
    2,516
    Likes Received:
    1,257
    Gender:
    Male
    Occupation:
    Android Developer
    Location:
    Austria
    Ratings:
    +1,302 / 0
    Home Country:
    Austria Austria
    Show System Specs
    Re: AW: MP2 Webservices

    I can only speak for the android part, and there Soap SUCKS ... big times. Now with the wcf services I have a nice and simple http api with json objects. UPnP is nice and good but I'd much prefer a simple http interface then having to deal with the full upnp package.
     
  9. Oxan
    • Team MediaPortal

    Oxan Retired Team Member

    Joined:
    August 29, 2009
    Messages:
    1,730
    Likes Received:
    1,024
    Gender:
    Male
    Ratings:
    +1,115 / 2
    Home Country:
    Netherlands Netherlands
    Isn't UPnP supported natively on most new Android devices?

    What about transcoding? Even with the evolving power of mobile devices, there'll probably always be a need for transcoding as we'll eventually get an successor to Full HD too. I don't know anything about MPII or UPnP, but would it be possible to implement that using the same framework too?
     
  10. lulsam

    lulsam Portal Pro

    Joined:
    December 28, 2006
    Messages:
    116
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    Spain Spain
    Yeah, maybe it is not fully related with the discussion started, but I think there are a lot of us praying for the evolution of TV-Server to Media-Server with streaming capabilities, not only inside the home network but crossing the boundaries to serve home media contents to the internet. I am wondering if a DLNA or uPnP could cover the internet streaming part of it. Transcoding is, of course a must, not only because the capabilities of the mobile devices but specially because of the available bandwidth when you are on the road.

    Sure there are packages out there that provides DLNA (TVersity, mezzmo, etc.) or even HTTP capabilities (Wild Media Server), and could be used for complement the MePo functionalities, but it seems that the new MP2 architecture provider - model basedis able to deal with such a new media server intra+internet approach.

    Anyway it is only my humbble opinion....
     
  11. SiLenTYL
    • Team MediaPortal

    SiLenTYL Retired Team Member

    Joined:
    April 23, 2004
    Messages:
    1,144
    Likes Received:
    144
    Gender:
    Male
    Location:
    Melbourne
    Ratings:
    +153 / 0
    Home Country:
    Australia Australia
    until mp2 has a tv server of its own .. im happy using WebMediaportal/MpExtended with Mp1

    as for MP2 .. it would be great to see similar or improved webservices!
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!