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

FreakyJ

Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,421
    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,748
    7,110
    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,421
    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,421
    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,316
    3,781
    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

    Similar threads
    OP Title Forum Replies Date
    morpheus_xx [Finished] 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
    D MP2 DLNA status? General 10
    Lehmden [WiP] [MP2-824] DLNA Server functionality MediaPortal 2 27
    K MP2 - V2.3.2 media import General 11
    R MP Extended for Media Portal 1 MPExtended 10
    T MP2 - V2.3 Media Portal Crashes Every Few Days Submit: Bug Reports 3
    M [solved] Media Portal 2.3.2 Audiotitel werden übersprungen Allgemeines Support- und Diskussionsforum 7
    Wladi 1.27.0 Media Portal freezes watch/edit Videos 0
    J Copying Old VHS tapes Newcomers Forum 8
    C Media Portal 1.22 hängt neuerdings beim Start Allgemeines Supportforum 3
    toricred MP2 - V2.3 MP 2.3 Media Library Duplicates General 20
    O No Video playback on Media Portal 2.2.3 Newcomers Forum 2
    F Remote goes tos Media Center after Media Portal Remotes 2
    S Kommerzielle HTPC´s mit "selbst entwickelter Media center Distribution auf Basis von Media Portal" MediaPortal Café 9
    F Media Port 1.16 to 1.25 Installation, configuration support 1
    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 10
    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

    Similar threads

    Top Bottom