UPnP icon indicating copy to clipboard operation
UPnP copied to clipboard

connect/browse to known dnla server without search

Open hayden-t opened this issue 5 years ago • 0 comments

This lib is very neat thanks! Its just for me the search function is very slow (but its a big network). Any way I just wanted to share bare minimum server details needed to browse direct: (i just extracted it from a successful search response.

$server = json_decode('{
    "location": "http://192.168.60.250:50001/desc/device.xml",
    "description": {
      "device": {
        "serviceList": {
          "service": [
            { 
              "serviceId": "urn:upnp-org:serviceId:ContentDirectory",
              "controlURL": "/ContentDirectory/control"
            }
          ]
        }
      }
    }
  }
',true);


    $browse = new Mediaserver\Browse($server);

hayden-t avatar Jun 19 '20 01:06 hayden-t