summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2013-10-22 14:05:49 +0300
committerJens Georg <jensg@openismus.com>2013-11-10 14:53:57 +0100
commit0347a67d128438dcce66b9ae8785c543c8ef6b1b (patch)
tree92e7a0a94aa10f20b7c8a930593a7015532e3032 /data
parentd9e52441582026bc20e1e08a37a9186cf283e079 (diff)
downloadrygel-0347a67d128438dcce66b9ae8785c543c8ef6b1b.tar.gz
renderer: Implement DLNA byte seeking
Adds X_DLNA_GetBytePositionInfo() method, the required state variables and the missing SeekModes for Seek() to AVTransport2 implementation. https://bugzilla.gnome.org/show_bug.cgi?id=710368 https://bugzilla.gnome.org/show_bug.cgi?id=707058 https://bugzilla.gnome.org/show_bug.cgi?id=707059 https://bugzilla.gnome.org/show_bug.cgi?id=707541
Diffstat (limited to 'data')
-rw-r--r--data/xml/AVTransport2.xml.in44
1 files changed, 44 insertions, 0 deletions
diff --git a/data/xml/AVTransport2.xml.in b/data/xml/AVTransport2.xml.in
index 1b799fd4..e9d929be 100644
--- a/data/xml/AVTransport2.xml.in
+++ b/data/xml/AVTransport2.xml.in
@@ -364,6 +364,32 @@
</argument>
</argumentList>
</action>
+
+ <action>
+ <name>X_DLNA_GetBytePositionInfo</name>
+ <argumentList>
+ <argument>
+ <name>InstanceID</name>
+ <direction>in</direction>
+ <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
+ </argument>
+ <argument>
+ <name>TrackSize</name>
+ <direction>out</direction>
+ <relatedStateVariable>X_DLNA_CurrentTrackSize</relatedStateVariable>
+ </argument>
+ <argument>
+ <name>RelByte</name>
+ <direction>out</direction>
+ <relatedStateVariable>X_DLNA_RelativeBytePosition</relatedStateVariable>
+ </argument>
+ <argument>
+ <name>AbsByte</name>
+ <direction>out</direction>
+ <relatedStateVariable>X_DLNA_AbsoluteBytePosition</relatedStateVariable>
+ </argument>
+ </argumentList>
+ </action>
</actionList>
<serviceStateTable>
@@ -650,6 +676,9 @@
<allowedValue>ABS_TIME</allowedValue>
<allowedValue>REL_TIME</allowedValue>
<allowedValue>TRACK_NR</allowedValue>
+ <allowedValue>ABS_COUNT</allowedValue>
+ <allowedValue>REL_COUNT</allowedValue>
+ <allowedValue>X_DLNA_REL_BYTE</allowedValue>
</allowedValueList>
</stateVariable>
@@ -662,6 +691,21 @@
<name>A_ARG_TYPE_InstanceID</name>
<dataType>ui4</dataType>
</stateVariable>
+
+ <stateVariable sendEvents="no">
+ <name>X_DLNA_RelativeBytePosition</name>
+ <dataType>string</dataType>
+ </stateVariable>
+
+ <stateVariable sendEvents="no">
+ <name>X_DLNA_AbsoluteBytePosition</name>
+ <dataType>string</dataType>
+ </stateVariable>
+
+ <stateVariable sendEvents="no">
+ <name>X_DLNA_CurrentTrackSize</name>
+ <dataType>string</dataType>
+ </stateVariable>
</serviceStateTable>
</scpd>