UPnP / DLNA Media Server for MediaPortal 2 (3 Viewers)

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Lehmden, thank you very much for testing :) I really appreciate your help (y)
    The credentials stored in the MP2 config are not used now, I think... That's why I have to remove the MediaServer Plugin again as this is blocking the regular usage of MP2.
    I have a suspicion :sneaky:
    I won't have time tomorrow and today is to late, but probably on Thursday. My suspicion is that the call to ffmpeg.exe needs special treatment. I hope our Thumbnail generator will give me more infos on that^^

    I will post new binaries for you here once I have something :)
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    By the way, all devices I have are able to play 1080p without issues, so I don't need transcoding and for this I'm not the person to test this...
    I don't know if I understand you correctly but the need to transcode is not only dependent on the resolution but also on the container or codecs used by the source media.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I don't know exactly what you are talking about, but if your talking about configuring the client:
    The whole concept of DLNA is to provide a out of the box experience. So you shouldn't need to configure anything on the client side. The server side probably needs tweaking as we talk about a very early alpha version here :)
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,566
    3,947
    Lehmden
    Home Country
    Germany Germany
    the need to transcode is not only dependent on the resolution
    Yes, I know. I wasn't precise enough, I fear. On all my devices there is a player software that can play nearly anything (container, codec,...) up to 1080p (and 1080i also). As example, on my Android tablet with 1920x1200 native resolution I have MX Player and as an alternative VLC Player to playback the videos. Both don't need any transcoding at all... The Stream is delivered from MP2 server plugin and controlled by BubbleUPnP. Same is for my phone (also Android and also MX & VLC controlled by Bubble) only the display resolution is not that high on the phone... My TV don't has Smart- TV capabilities but I have a Raspberry PI2 running with Kodi as DLNA Controller and Player. And this also don't need transcoding as long as the video isn't a 4k video...
    .
    So if ever, I only need transcoding on 4K material. And this I don't have (aside of some trailers and samples) as I don't have any 4k Display today...
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    @henso
    I saw your commits (y)
    I think this is still WIP, but I will tell you anyway :giggle:

    in public MediaLibraryVideoItem(string baseKey, MediaItem item, EndPointSettings client) @ MediaLibraryVideoItem Ln 39
    There is still a NRE because client = null.
    While debugging this I could see that parent = null in InstansiateMediaLibraryObject() @ MediaLibraryHelper.cs Ln 87

    If you would like to reproduce this just start WMP and try to play a video or press refresh :)
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I installed the code from Post 268
    Everything seemed to be ok until I started Windows Media Player on my portable.

    One of a few issues

    [2015-09-09 05:33:13,380] [109451 ] [48 ] [ERROR] - Warn.: SOAPHandler: Error invoking UPnP action 'Search'
    [2015-09-09 05:33:13,395] [109466 ] [48 ] [DEBUG] - Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.Extensions.MediaServer.Objects.MediaLibrary.MediaLibraryHelper.InstansiateMediaLibraryObject(MediaItem item, String baseKey, BasicContainer parent, String title) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MediaServer\Objects\MediaLibrary\MediaLibraryHelper.cs:line 95
    at MediaPortal.Extensions.MediaServer.UPnPContentDirectoryServiceImpl.<OnSearch>b__16(MediaItem item) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MediaServer\UPnPContentDirectoryServiceImpl.cs:line 485
    at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
    at MediaPortal.Extensions.MediaServer.DIDL.GenericDidlMessageBuilder.BuildAll(String filter, IEnumerable objs) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MediaServer\DIDL\GenericDidlMessageBuilder.cs:line 121
    at MediaPortal.Extensions.MediaServer.UPnPContentDirectoryServiceImpl.OnSearch(DvAction action, IList`1 inParams, IList`1& outParams, CallContext context) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MediaServer\UPnPContentDirectoryServiceImpl.cs:line 486
    at UPnP.Infrastructure.Dv.DeviceTree.DvAction.FireActionInvoked(IList`1 inParams, IList`1& outParams, CallContext context)
    at UPnP.Infrastructure.Dv.DeviceTree.DvAction.InvokeAction(IList`1 inParameters, IList`1& outParameters, Boolean checkSignature, CallContext context)
    at UPnP.Infrastructure.Dv.SOAP.SOAPHandler.HandleRequest(DvService service, Stream messageStream, Encoding streamEncoding, Boolean subscriberSupportsUPnP11, CallContext context, String& result)
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    Sorry for the noob question, but how do I get the GUI strings into the projects?
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    GUI strings? Which GUI strings? The Media Server doesn't even have a gui :)
     

    Users who are viewing this thread

    Top Bottom