Commit Graph

12 Commits

Author SHA1 Message Date
00a824fe48 feat: generate code for openhome 2022-11-01 20:03:30 +01:00
1a2c6ad5b2 refactor: rename go module 2022-11-01 20:02:13 +01:00
hzy
d8bd5d2d52 More functions support Context 2022-10-02 14:55:49 +01:00
John Beisley
a37fadc3ba Factor code template into a file.
This allows code regeneration without rebuilding the generator binary.
2022-03-24 19:46:39 +00:00
mhhcbon
9af4afce08 add support for Open Connectivity Foundation DCPs 2022-03-22 18:18:01 +00:00
John Beisley
ca81a64b42 Reorder items in generated source files.
Ideally they would always have been sorted as such, but this seems more
critical in migrating from one service definition to another where the ordering might
change.
2022-03-13 09:02:29 +00:00
John Beisley
5a0d4bd7ee Add *Ctx methods for calling SOAP methods.
Fixes #42.
2021-07-11 14:53:32 +01:00
John Beisley
656e61dfad Switch to generate code with go generate. 2018-10-13 15:04:17 +01:00
John Beisley
29fc54a4c0 Remove spurious spaces from between req/resp struct members in generated code. 2017-11-05 13:50:25 +00:00
John Beisley
efdc90f04d Emphasize generated nature of code more. 2017-11-05 13:40:23 +00:00
John Beisley
99da32467b Cut down on useless argument/return docs. 2015-06-07 10:42:22 +01:00
Tommi Virtanen
77b86c3723 Generate dcps for AV1 audio/video devices
Tested against Sonos PLAY:5.

Added URI type to the SOAP library.

The latest upnpresources.zip does not contain older versions of the
specifications, so to be able to generate the bindings I had to create
a fake one:

    wget http://upnp.org/specs/av/UPnP-av-TestFiles-20070927.zip
    install -d 'standardizeddcps/MediaServer_1 and MediaRenderer_1'
    mv UPnP-av-TestFiles-20070927.zip 'standardizeddcps/MediaServer_1 and MediaRenderer_1/'
    zip -r fake.zip 'standardizeddcps/MediaServer_1 and MediaRenderer_1'
    gotask specgen -s fake.zip -o ../dcps
2015-06-06 16:54:08 -07:00