Changes to be committed:
modified: cmd/pmomusic/main.go modified: go.mod modified: go.sum modified: internal/ssdp/responder.go modified: internal/ssdp/ssdp.go new file: internal/ssdp/uuid.go renamed: internal/upnp/http.go -> internal/upnp/description_xml.go modified: internal/upnp/device.go renamed: web/index.html -> internal/upnp/html/index.html modified: internal/upnp/server.go modified: internal/upnp/service.go new file: internal/upnp/xml/Info.xml new file: internal/upnp/xml/Playlist.xml new file: internal/upnp/xml/Product.xml
This commit is contained in:
86
internal/upnp/xml/Product.xml
Normal file
86
internal/upnp/xml/Product.xml
Normal file
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0"?>
|
||||
<scpd xmlns="urn:schemas-upnp-org:service-1-0">
|
||||
<specVersion>
|
||||
<major>1</major>
|
||||
<minor>0</minor>
|
||||
</specVersion>
|
||||
|
||||
<actionList>
|
||||
<action>
|
||||
<name>Manufacturer</name>
|
||||
<argumentList>
|
||||
<argument>
|
||||
<name>Value</name>
|
||||
<direction>out</direction>
|
||||
<relatedStateVariable>Manufacturer</relatedStateVariable>
|
||||
</argument>
|
||||
</argumentList>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>Model</name>
|
||||
<argumentList>
|
||||
<argument>
|
||||
<name>Value</name>
|
||||
<direction>out</direction>
|
||||
<relatedStateVariable>Model</relatedStateVariable>
|
||||
</argument>
|
||||
</argumentList>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>Product</name>
|
||||
<argumentList>
|
||||
<argument>
|
||||
<name>Value</name>
|
||||
<direction>out</direction>
|
||||
<relatedStateVariable>Product</relatedStateVariable>
|
||||
</argument>
|
||||
</argumentList>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>Standby</name>
|
||||
<argumentList>
|
||||
<argument>
|
||||
<name>Value</name>
|
||||
<direction>in</direction>
|
||||
<relatedStateVariable>Standby</relatedStateVariable>
|
||||
</argument>
|
||||
</argumentList>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>SetStandby</name>
|
||||
<argumentList>
|
||||
<argument>
|
||||
<name>Value</name>
|
||||
<direction>in</direction>
|
||||
<relatedStateVariable>Standby</relatedStateVariable>
|
||||
</argument>
|
||||
</argumentList>
|
||||
</action>
|
||||
</actionList>
|
||||
|
||||
<serviceStateTable>
|
||||
<stateVariable sendEvents="no">
|
||||
<name>Manufacturer</name>
|
||||
<dataType>string</dataType>
|
||||
</stateVariable>
|
||||
|
||||
<stateVariable sendEvents="no">
|
||||
<name>Model</name>
|
||||
<dataType>string</dataType>
|
||||
</stateVariable>
|
||||
|
||||
<stateVariable sendEvents="no">
|
||||
<name>Product</name>
|
||||
<dataType>string</dataType>
|
||||
</stateVariable>
|
||||
|
||||
<stateVariable sendEvents="yes">
|
||||
<name>Standby</name>
|
||||
<dataType>boolean</dataType>
|
||||
</stateVariable>
|
||||
</serviceStateTable>
|
||||
</scpd>
|
||||
Reference in New Issue
Block a user