[rygel] server: Pass more metadata on object creation
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: Pass more metadata on object creation
- Date: Sat, 14 Jun 2014 13:37:07 +0000 (UTC)
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]