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

henso

Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    @FreakyJ
    I can't compile TranscodingService. I says I need a nuget, but if I enable package restore I change the solution, right?
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    yes you change the solution than. But that's not a problem as long as you don't commit these changes :)
    Make a right click on the solution and enable automatic package restore.

    I think the solution is fucked up in the base branch. Not our fault :)
    morpheus normally takes care of these issues, but I think he is quiet bussy atm that's why I don't tag him right now :)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I pushed the profiles and some changes to detection
    I had a reason for introducing <detetions>
    My plan was that everythung inside <detection> must be true to get a match.
    So if you have more than one client with the same profile you make multiple <detection> tags.

    Does that make sense?
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    The current profiles are mainly for consoles and TV's so in that regard it would not make sense, but if you take computers and smart phones into account I guess it would make sense. I will update the profiles to handle that.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    @henso
    First of all thank you very much for readding the <detections> Tag :)

    Could you take a look at: obj = new MediaLibraryVideoItem(baseKey, item, parent.Client); @ Line 99 in MediaLibraryHelper.cs.
    It is possible that baseKey & parent is null
    See UPnPContentDirectoryServiceImpl.cs @ line 485

    Sadly this leads to a null reference exception and I can't figure out what you want to do there. I guess it is because Client is null. I tried to add checks for this case, but I wasn't successful.


    SOAPHandler: Error invoking UPnP action 'Search'
    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 99
    at MediaPortal.Extensions.MediaServer.Objects.MediaLibrary.MediaLibraryHelper.InstansiateMediaLibraryObject(MediaItem item, String baseKey, BasicContainer parent) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MediaServer\Objects\MediaLibrary\MediaLibraryHelper.cs:line 78
    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
    @FreakyJ
    TortoiseGit does not pull the UPnPDeviceTracker.cs file when I do a sync. What I am doing wrong?
     

    Users who are viewing this thread

    Top Bottom