[Approved] UPnP Server Message Handling (1 Viewer)

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Today I tried to connect with my Fritzbox UPnP Server, but debugging I saw that all messages were simply rejected by MP2, due to not having a date header and the version being formatted differently.
    Here's a patch that makes those cases work as well (because I think many UPnP Servers will not conform to current code).

    Now the FritzBox is added to the KnownRootDevices of the NetworkTracker, so I can continue from here trying to browse it's content.
     

    Attachments

    • 0001-Improve-handling-of-UPnP-messages-from-other-servers.patch
      1.7 KB

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    45
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: UPnP Server Message Handling

    Committed and pushed. Thanks, the rejection of UPnP NOTIFY packets whose DATE header was not set was a real bug; the UPnP specification sais the DATE header is not required but I treated it to be required.
     

    Users who are viewing this thread

    Top Bottom