[rygel] server: Pass more metadata on object creation



commit ee5a0e74ee333b99a078fedc842932de202998cf
Author: Richard Röjfors <richard rojfors gmail com>
Date:   Sat Jun 7 01:58:43 2014 +0200

    server: Pass more metadata on object creation
    
    When an object is be created it is now populated with the metadata
    provided from the control point, enabling the server to create an
    object with the metadata.
    
    Signed-off-by: Richard Röjfors <richard rojfors gmail com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731348

 src/librygel-server/rygel-object-creator.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-server/rygel-object-creator.vala b/src/librygel-server/rygel-object-creator.vala
index 061564b..5010d8f 100644
--- a/src/librygel-server/rygel-object-creator.vala
+++ b/src/librygel-server/rygel-object-creator.vala
@@ -506,6 +506,8 @@ internal class Rygel.ObjectCreator: GLib.Object, Rygel.StateMachine {
                                           this.didl_object.title,
                                           this.didl_object.upnp_class);
 
+        this.object.apply_didl_lite (this.didl_object);
+
         if (this.object is MediaItem) {
             this.extract_item_parameters ();
         }


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