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

MrTechno

Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    It's still the DLNA_v2 branch as before I was just setting up an automated build for it. Hopefully I can get searching finished off at the weekend and do the category browsing. Starting to think how it can be extended by other plugins (include RecordingAspect for SlimTV, a server side OnlineVideos thing would be nice too)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    @MrTechno
    I'm trying to implement an UPnP Renderer as a Plugin (currently a console application). Does this interfere in any way with your work on the UPnP lib?
     

    MrTechno

    Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    @FreakyJ @McGoober @morpheus_xx what was the intention in MediaServerPlugin::InitialiseContainerTree?
    Code:
    RootContainer = new BasicContainer("0") { Title = "MediaPortal Media Library" };
    var audioContainer = new BasicContainer("A") { Title = "Audio" };
    RootContainer.Add(audioContainer);
    var pictureContainer = new BasicContainer("P") { Title = "Picture" };
    RootContainer.Add(pictureContainer);
    var videoContainer = new BasicContainer("V") { Title = "Video" };
    RootContainer.Add(videoContainer);
    videoContainer.Add(new MediaLibraryGenreContainer("VG") { Title = "Genres" });
    RootContainer.Add(new MediaLibraryShareContainer("S") { Title = "Shares" });
    Should audioContainer have sub-containers for albums / artists / songs / genres, videoContainer have movies / series?
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    It is basically the media library view from MP.
    When you go to shares you get the shares from mp which can contain audio and video at the same time.
    I have to double check, but I think the shares view in the upnp server gives you the file name and folder structure.
    Video would give you: series/[name of tv show]/season x/[episodes] with all the available meta data requestable by the client.
    Does that make sense? :)
     

    MrTechno

    Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    The shares view I understand because it's actually populated, the others don't seem to be. I assume I need to do something similar MediaPortal.UiComponents.Media.Models.ScreenData which uses SimpleMLFilterCriterion to get all unique values for a particular MIA attribute (AudioFilterByAlbumScreenData uses AudioAspect.ATTR_ALBUM for example). So it's code all this up now and change it when the MIA rework is done or wait and only do one lot of coding :)
     

    Users who are viewing this thread

    Top Bottom