[rygel/rygel-0-20] renderer: Set PossiblePlaybackStorageMedia



commit 170df1d56f22a3c03c1235ea4649f68483956881
Author: Jens Georg <jensg openismus com>
Date:   Mon Sep 30 12:27:55 2013 +0200

    renderer: Set PossiblePlaybackStorageMedia
    
    "None" and "Network" are mandatory according to 7.3.104.7
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677405

 data/xml/AVTransport2.xml.in                  |    4 ++++
 src/librygel-renderer/rygel-av-transport.vala |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/xml/AVTransport2.xml.in b/data/xml/AVTransport2.xml.in
index 1450c58..7aa0e48 100644
--- a/data/xml/AVTransport2.xml.in
+++ b/data/xml/AVTransport2.xml.in
@@ -500,6 +500,10 @@
       <stateVariable sendEvents="no">
          <name>PossiblePlaybackStorageMedia</name>
          <dataType>string</dataType>
+         <allowedValueList>
+             <allowedValue>None</allowedValue>
+             <allowedValue>Network</allowedValue>
+         </allowedValueList>
       </stateVariable>
 
       <stateVariable sendEvents="no">
diff --git a/src/librygel-renderer/rygel-av-transport.vala b/src/librygel-renderer/rygel-av-transport.vala
index 252798b..79d1f2f 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -504,7 +504,7 @@ internal class Rygel.AVTransport : Service {
 
         action.set ("PlayMedia",
                         typeof (string),
-                        "NOT_IMPLEMENTED",
+                        "None,Network",
                     "RecMedia",
                         typeof (string),
                         "NOT_IMPLEMENTED",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]