MP2 Webservices (1 Viewer)

DieBagger

Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    36
    Austria
    Austria Austria
    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!
    We will probably just adapt MpExtended for MP2... Especially when it comes to video streaming/transcoding it would be a waste of everones time to develop this twice...

    Also: This would mean that existing clients (aMPdroid, WebMP,...) can be used with MP2 also without any changes needed.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,972
    Germany Germany
    Country flag
    Yes this sounds good. So I assume the important part is the communication with the MP2 media library
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    36
    Austria
    Austria Austria
    Yes this sounds good. So I assume the important part is the communication with the MP2 media library
    Yeah, in MP1 we directly read from the DB and oxan has optimized the linq queries for that... I think he can answer best on what we would need for MP2.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,972
    Germany Germany
    Country flag
    The MP2 media library is very flexible, i.e. it automatically adds new DB tables for new metadata aspects. Also tables are auto-renamed when an Aspect changes it's guid due to content changes:
    i.e. we had "Actor" not defined as m:n and changed this. With this changes we also assigned a new Aspect GUID, this resulted into a new db-table with "_1" appended.

    I only want to say that Albert put a lot of logic into the ML and I recommend not to access DB directly but use the ML library interfaces.
     

    Mike Lowrey

    Portal Pro
    February 4, 2009
    638
    124
    Berlin
    Germany Germany
    I haven't had a look at the ML library but with such a dynamic layout it seems nearly impossible to map these data on a fixed api like the one of MPExtended.
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    36
    Austria
    Austria Austria
    The MP2 media library is very flexible, i.e. it automatically adds new DB tables for new metadata aspects. Also tables are auto-renamed when an Aspect changes it's guid due to content changes:
    i.e. we had "Actor" not defined as m:n and changed this. With this changes we also assigned a new Aspect GUID, this resulted into a new db-table with "_1" appended.

    I only want to say that Albert put a lot of logic into the ML and I recommend not to access DB directly but use the ML library interfaces.
    KK, like I said oxan really did most of the work there but what we are currently doing is creating the sqlite query from the linq query (get shows 20-30 sort tite order asc). I'm sure we will find a solution for this though... ;)

    Some other issues that come to mind:
    - Where to put the upnp/dlna code.
    - Run MpExtended as standalone service or MP2 server plugin (what about clients)
    - Combine User-Management of MpExtended/MP2 (when there is one in MP2)
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Netherlands Netherlands
    Well, the way we access the databases doesn't really matter. It would be nice if we could just use the library code from MP2 (which unfortunately wasn't possible with MP1). MPExtended uses a plugin architecture for the media libraries, so in the best case we only need some wrapping code.

    I'm personally not really interested in implementing MP2 support in MPExtended (yet), but I'd be more than happy to help someone do it.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Netherlands Netherlands
    I haven't had a look at the ML library but with such a dynamic layout it seems nearly impossible to map these data on a fixed api like the one of MPExtended.
    I don't expect it to be a bigger problem than the changing databases in MP1.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    mp2-ulrich [solved] MP 2.2.3 spielt nur manche Sender Allgemeines Support- und Diskussionsforum 2
    H MP2 database won't keep in synch with recordings General 8
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 68
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    C Streaming/transcoding MP2 vs MP1? General 4
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    CyberSimian MP2 synchronising of stoptime MediaPortal 1 Talk 5
    M Initial Setup MP2 (On Wndows 10) General 2
    R [solved] MP2 Client ist extrem langsam Allgemeines Support- und Diskussionsforum 5
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    T Amazon und Netflix in MP2 - Wie? Allgemeines Support- und Diskussionsforum 6
    J [solved] How to in MP2 General 19
    M [fixed] [MP2-831] 12h time format shown in TV Guide with Swedish language settings Submit: Bug Reports 27
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    B [solved] MP2.2.3 TV Guide not scrolling with mouse wheel General 2
    Similar threads

























    Top Bottom