summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Röjfors <richard.rojfors@gmail.com>2014-09-28 13:27:51 +0200
committerJens Georg <mail@jensge.org>2014-11-09 15:23:45 +0100
commit55570f32b618dd670cbe4776b607e52ebb73d0e2 (patch)
tree3f719eb0301604337fedfce2ccfbac13756f7477 /data
parentd4d6305d6b665646b7653379a3d6b7d5e3a42dfd (diff)
downloadrygel-55570f32b618dd670cbe4776b607e52ebb73d0e2.tar.gz
renderer: Implement SetPlayMode
Add an implementation of SetPlayMode, a method is added on the player controller interface to validate if the new play mode is valid or not. If it is the play_mode property of the controller gets the new mode assigned. Signed-off-by: Richard Röjfors <richard.rojfors@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=737522
Diffstat (limited to 'data')
-rw-r--r--data/xml/AVTransport2.xml.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/data/xml/AVTransport2.xml.in b/data/xml/AVTransport2.xml.in
index 56f7b529..05f4981a 100644
--- a/data/xml/AVTransport2.xml.in
+++ b/data/xml/AVTransport2.xml.in
@@ -415,6 +415,26 @@
</argument>
</argumentList>
</action>
+
+ <action>
+ <name>SetPlayMode</name>
+ <argumentList>
+ <argument>
+ <name>InstanceID</name>
+ <direction>in</direction>
+ <relatedStateVariable>
+ A_ARG_TYPE_InstanceID
+ </relatedStateVariable>
+ </argument>
+ <argument>
+ <name>NewPlayMode</name>
+ <direction>in</direction>
+ <relatedStateVariable>
+ CurrentPlayMode
+ </relatedStateVariable>
+ </argument>
+ </argumentList>
+ </action>
</actionList>
<serviceStateTable>