rygel r141 - in trunk: . src/media-providers/tracker src/media-server



Author: zeeshanak
Date: Tue Oct 28 21:01:21 2008
New Revision: 141
URL: http://svn.gnome.org/viewvc/rygel?rev=141&view=rev

Log:
Rename MediaProvider's get_metadata() to add_metadata().

Modified:
   trunk/ChangeLog
   trunk/src/media-providers/tracker/gupnp-media-tracker.vala
   trunk/src/media-server/gupnp-content-directory.vala
   trunk/src/media-server/gupnp-media-manager.vala
   trunk/src/media-server/gupnp-media-provider.vala

Modified: trunk/src/media-providers/tracker/gupnp-media-tracker.vala
==============================================================================
--- trunk/src/media-providers/tracker/gupnp-media-tracker.vala	(original)
+++ trunk/src/media-providers/tracker/gupnp-media-tracker.vala	Tue Oct 28 21:01:21 2008
@@ -156,7 +156,7 @@
         }
     }
 
-    public override void get_metadata
+    public override void add_metadata
                             (DIDLLiteWriter didl_writer,
                              string         object_id,
                              string         filter,

Modified: trunk/src/media-server/gupnp-content-directory.vala
==============================================================================
--- trunk/src/media-server/gupnp-content-directory.vala	(original)
+++ trunk/src/media-server/gupnp-content-directory.vala	Tue Oct 28 21:01:21 2008
@@ -114,7 +114,7 @@
 
         try {
             if (browse_metadata) {
-                this.media_manager.get_metadata (this.didl_writer,
+                this.media_manager.add_metadata (this.didl_writer,
                                                  object_id,
                                                  filter,
                                                  sort_criteria,

Modified: trunk/src/media-server/gupnp-media-manager.vala
==============================================================================
--- trunk/src/media-server/gupnp-media-manager.vala	(original)
+++ trunk/src/media-server/gupnp-media-manager.vala	Tue Oct 28 21:01:21 2008
@@ -99,7 +99,7 @@
         }
     }
 
-    public override void get_metadata
+    public override void add_metadata
                             (DIDLLiteWriter didl_writer,
                              string         object_id,
                              string         filter,
@@ -113,7 +113,7 @@
         } else {
             weak MediaProvider provider = this.providers.lookup (root_id);
             if (provider != null) {
-                provider.get_metadata (didl_writer,
+                provider.add_metadata (didl_writer,
                                        object_id,
                                        filter,
                                        sort_criteria,

Modified: trunk/src/media-server/gupnp-media-provider.vala
==============================================================================
--- trunk/src/media-server/gupnp-media-provider.vala	(original)
+++ trunk/src/media-server/gupnp-media-provider.vala	Tue Oct 28 21:01:21 2008
@@ -45,7 +45,7 @@
                                  out uint       total_matches,
                                  out uint       update_id) throws Error;
 
-    public abstract void get_metadata (DIDLLiteWriter didl_writer,
+    public abstract void add_metadata (DIDLLiteWriter didl_writer,
                                        string         object_id,
                                        string         filter,
                                        string         sort_criteria,



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