UPnP / DLNA Media Server for MediaPortal 2 (1 Viewer)

FreakyJ

Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag

    MrTechno

    Development Group
  • Team MediaPortal
  • February 27, 2011
    1,256
    511
    London
    United Kingdom United Kingdom
    Country flag
    @morpheus_xx I'm trying to work out how playlists should be enumerated. Is there a wrapper function? Or is it IMediaLibrary::GetPlaylists to get them all (the container in MediaServer paradigm), IMediaLibrary::ExportPlaylist to get the media item IDs (the container's children) and do a per ID lookup (the children's children)?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    @morpheus_xx I'm trying to work out how playlists should be enumerated. Is there a wrapper function? Or is it IMediaLibrary::GetPlaylists to get them all (the container in MediaServer paradigm), IMediaLibrary::ExportPlaylist to get the media item IDs (the container's children) and do a per ID lookup (the children's children)?
    To be honest: no idea :). I've not touched this code part yet. This was one of the parts that Albert implemented at last.
     

    MrTechno

    Development Group
  • Team MediaPortal
  • February 27, 2011
    1,256
    511
    London
    United Kingdom United Kingdom
    Country flag
    @FreakyJ any ideas? If not I'll just wing it. Sorry did I say "wing it"? I of course mean "implement it using the carefully thought out pseudo code above".
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    I found this while working on the WifiRemote code:
    Code:
    List<PlaylistInformationData> playLists = ServerPlaylists.GetPlaylists().ToList();
    I am using this on the client side, maybe it helps?! I hope I got you right. But the Playlists are also a mistery to me. They behave very different from all the other media items >_> IMO Playlists should be just an own MediaAspect...
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    @Lehmden
    You mentioned so often that you would like to have new build of the DLNA MediaServer so I thought I would provide you with one^^
    Use this installer: http://tinyurl.com/qgufrrc
    (this is the MP2Ext installer because the DLNA Server and MP2Ext are using the same Transcoding Plugin + other changes in this branch^^ to many to recall them all :D )

    The issues you encountered the last time were mainly due to the Transcoding Service and are hopefully fixed now. I would suggest to make a backup of you DB because this build adds new MediaAspects. So a Reimport is also required to fill the DB with the needed information.
     

    Attachments

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,085
    3,685
    Lehmden
    Germany Germany
    Country flag
    Just in Time as I today have setup a fresh Windows on my HTPC. I now even did not have MP2 installed at all... Is it compatible with latest Weekly?

    Edit.. Ok, no.. But then I need to know if it includes the latest SlimTV Client improvements, Morpheus did lately.. The schedules planing is indeed even more important to me than the DLNA server...
     
    Last edited:

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

    OP Similar threads Forum Replies Date
    morpheus_xx [Evaluate] Checking UPnP library for security vulnerabilities MediaPortal 2 7
    raffe How do I setup MP2 as an UPnP server? General 3
    morpheus_xx [Finished] Debugging dead locks in UPnP library MediaPortal 2 1
    Lehmden [WiP] [MP2-824] DLNA Server functionality MediaPortal 2 27
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    J Navigating media drive General 4
    J Will Media Portal meet my requirements? General Support 4
    C Imported media doesn't show up immediately? General 1
    J Show media item location Feature Requests 4
    HTPCSourcer Media Accessor is flooding logs with files from attached monitor MediaPortal 2 9
    N [fixed] [MP2-822] Folder View is not displaying individual media share elements Submit: Bug Reports 4
    A MP2.2.2, understanding movies/videos/tv and WTV recordings. General 16
    T I cannot get a basic media import-what is the best configuration? General 10
    Rob Hexenmeister [solved] Latest Media Handler - skinning buttons Fanart Handler 19
    J MediaPortal TV Server and Kodi media source issues General 9
    D media portal 2.2 have movies shown on genre not name General 6
    M How to Watch my videos from my Media Portal to My TV without TV Tuner Newcomers Forum 1
    D Media Portal wake schedule General Support 29
    R Media portal resumes with wrong screen resolution General Support 3
    Rob Hexenmeister Latest Media Handler - facade properties - itemcount General Support 3
    P WMC on Windows 7 migrating to Media Portal on Windows 10 Newcomers Forum 5
    Rob Hexenmeister [solved] Latest media handler - time reported as date Fanart Handler 18
    Rob Hexenmeister Video Buttons / Latest Media MediaPortal 1 Skins 7
    C DVB-C Empfänger Hauppauge Win TV dual wird in Media Portal nicht aktiviert TV / Streaming 1
    Patrik-See Unitymedia HD+ Fernsehen mit Media Portal legal möglich? TV / Streaming 0
    Similar threads

























    Top Bottom