Fork github.com/huin/goupnp to add open-home support
Go to file
2015-06-07 10:42:22 +01:00
cmd
dcps Cut down on useless argument/return docs. 2015-06-07 10:42:22 +01:00
example Fixes #9 - reacquire previously discovered device by URL. 2015-06-06 11:01:33 +01:00
gotasks Cut down on useless argument/return docs. 2015-06-07 10:42:22 +01:00
httpu
scpd
soap Add minimal test for SOAP "uri" type. 2015-06-07 09:42:08 +01:00
ssdp
.gitignore Update specgen to download DCP XML specs and process them individually. 2015-06-07 09:02:49 +01:00
device.go
goupnp.go Minor comment fix that could mislead. 2015-06-06 11:04:25 +01:00
LICENSE
README.md Update specgen to download DCP XML specs and process them individually. 2015-06-07 09:02:49 +01:00
service_client.go Add support for discovery-free client creation in dcps packages. 2015-06-06 11:53:50 +01:00

goupnp is a UPnP client library for Go

Installation

Run go get -u github.com/huin/goupnp.

Documentation

GoDoc

Regenerating dcps generated source code:

  1. Install gotasks: go get -u github.com/jingweno/gotask
  2. Change to the gotasks directory: cd gotasks
  3. Run specgen task: gotask specgen

Supporting additional UPnP devices and services:

Supporting additional services is, in the trivial case, simply a matter of adding the service to the dcpMetadata whitelist in gotasks/specgen_task.go, regenerating the source code (see above), and committing that source code.

However, it would be helpful if anyone needing such a service could test the service against the service they have, and then reporting any trouble encountered as an issue on this project. If it just works, then please report at least minimal working functionality as an issue, and optionally contribute the metadata upstream.