summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorScott Deboy <sdeboy@secondstryke.com>2013-12-03 18:35:00 +0000
committerJens Georg <mail@jensge.org>2014-11-08 13:20:55 +0100
commit4e132cb0d4a88ff8f525653e7e11517fd58ef76d (patch)
tree3043066b63dfc3b0ed60b18dcd902dc0a739d23b /data
parentec3e73558740dcde954a54596c5cc40b01b93e21 (diff)
downloadrygel-4e132cb0d4a88ff8f525653e7e11517fd58ef76d.tar.gz
ruih: Initial RUIH service implementation
Initial implementation of RemoteUIServer:1 spec
Diffstat (limited to 'data')
-rw-r--r--data/rygel.conf4
-rw-r--r--data/xml/Makefile.am3
-rw-r--r--data/xml/RemoteUIServerService.xml.in47
-rw-r--r--data/xml/RuihServer2.xml.in.in20
-rw-r--r--data/xml/UIList.xml.in14
5 files changed, 88 insertions, 0 deletions
diff --git a/data/rygel.conf b/data/rygel.conf
index 22933264..d8e53e90 100644
--- a/data/rygel.conf
+++ b/data/rygel.conf
@@ -158,3 +158,7 @@ enabled=false
[External]
enabled=false
+
+[Ruih]
+enabled=false
+title=Rygel Remote UI Server
diff --git a/data/xml/Makefile.am b/data/xml/Makefile.am
index 6f32b195..c0f9f297 100644
--- a/data/xml/Makefile.am
+++ b/data/xml/Makefile.am
@@ -1,10 +1,13 @@
xml_in_files = MediaServer3.xml.in \
MediaRenderer2.xml.in \
+ RuihServer2.xml.in \
ContentDirectory.xml.in \
ContentDirectory-NoTrack.xml.in \
ConnectionManager.xml.in \
+ RemoteUIServerService.xml.in \
AVTransport2.xml.in \
RenderingControl2.xml.in \
+ UIList.xml.in \
BasicManagement2.xml.in \
X_MS_MediaReceiverRegistrar1.xml.in
diff --git a/data/xml/RemoteUIServerService.xml.in b/data/xml/RemoteUIServerService.xml.in
new file mode 100644
index 00000000..7986a6cf
--- /dev/null
+++ b/data/xml/RemoteUIServerService.xml.in
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<scpd xmlns="urn:schemas-upnp-org:service-1-0">
+ <specVersion>
+ <major>1</major>
+ <minor>0</minor>
+ </specVersion>
+ <actionList>
+ <action>
+ <name>GetCompatibleUIs</name>
+ <argumentList>
+ <argument>
+ <name>InputDeviceProfile</name>
+ <direction>in</direction>
+ <relatedStateVariable>A_ARG_TYPE_DeviceProfile</relatedStateVariable>
+ </argument>
+ <argument>
+ <name>UIFilter</name>
+ <direction>in</direction>
+ <relatedStateVariable>A_ARG_TYPE_String</relatedStateVariable>
+ </argument>
+ <argument>
+ <name>UIListing</name>
+ <direction>out</direction>
+ <relatedStateVariable>A_ARG_TYPE_CompatibleUIs</relatedStateVariable>
+ </argument>
+ </argumentList>
+ </action>
+ </actionList>
+ <serviceStateTable>
+ <stateVariable sendEvents="yes">
+ <name>UIListingUpdate</name>
+ <dataType>string</dataType>
+ </stateVariable>
+ <stateVariable sendEvents="no">
+ <name>A_ARG_TYPE_DeviceProfile</name>
+ <dataType>string</dataType>
+ </stateVariable>
+ <stateVariable sendEvents="no">
+ <name>A_ARG_TYPE_CompatibleUIs</name>
+ <dataType>string</dataType>
+ </stateVariable>
+ <stateVariable sendEvents="no">
+ <name>A_ARG_TYPE_String</name>
+ <dataType>string</dataType>
+ </stateVariable>
+ </serviceStateTable>
+</scpd>
diff --git a/data/xml/RuihServer2.xml.in.in b/data/xml/RuihServer2.xml.in.in
new file mode 100644
index 00000000..18677622
--- /dev/null
+++ b/data/xml/RuihServer2.xml.in.in
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">
+ <specVersion>
+ <major>1</major>
+ <minor>0</minor>
+ </specVersion>
+ <device>
+ <deviceType>urn:schemas-upnp-org:device:RemoteUIServerDevice:1</deviceType>
+ <UDN></UDN>
+ <friendlyName></friendlyName>
+ <manufacturer>Rygel Developers.</manufacturer>
+ <manufacturerURL>@PACKAGE_URL@</manufacturerURL>
+ <modelName>Rygel</modelName>
+ <modelNumber>@VERSION@</modelNumber>
+ <serialNumber>0000001</serialNumber>
+ <serviceList>
+ </serviceList>
+ <dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">+RUIHSRC+/DMS-1.50</dlna:X_DLNADOC>
+ </device>
+</root>
diff --git a/data/xml/UIList.xml.in b/data/xml/UIList.xml.in
new file mode 100644
index 00000000..0d7af80c
--- /dev/null
+++ b/data/xml/UIList.xml.in
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uilist xmlns="urn:schemas-upnp-org:remoteui:uilist-1-0"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:schemas-upnp-org:remoteui:uilist-1-0 CompatibleUIs.xsd">
+ <ui>
+ <uiID>1234-9876-1265-8758</uiID>
+ <name>CableLabs Program Guide</name>
+ <description>CableLabs Program Guide application</description>
+ <fork>true</fork>
+ <lifetime>-1</lifetime>
+ <protocol shortName="DLNA-HTML5-1.0">
+ <uri>http://192.168.0.100:4004/index.html</uri>
+ </protocol>
+ </ui>
+</uilist>