[rygel] external: Make use of 'DLNAProfile' property



commit 791db8d8429a9083a5079da8ee3a27d96344d21c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Jun 18 18:38:53 2009 +0300

    external: Make use of 'DLNAProfile' property

 src/plugins/external/rygel-external-item.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/external/rygel-external-item.vala b/src/plugins/external/rygel-external-item.vala
index dcedbe3..92c9599 100644
--- a/src/plugins/external/rygel-external-item.vala
+++ b/src/plugins/external/rygel-external-item.vala
@@ -71,6 +71,11 @@ public class Rygel.ExternalItem : MediaItem {
         value = item_props.lookup ("MIMEType");
         this.mime_type = value.get_string ();
 
+        value = item_props.lookup ("DLNAProfile");
+        if (value != null) {
+            this.dlna_profile = value.get_string ();
+        }
+
         value = item_props.lookup ("URLs");
         weak string[] uris = (string[]) value.get_boxed ();
 



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