[rygel] external: Remove references to MediaServer1



commit e2c6d6ba6e27743569afd9317932e037f0cea1f4
Author: Jens Georg <mail jensge org>
Date:   Thu Feb 9 09:43:34 2012 +0200

    external: Remove references to MediaServer1
    
    There were still two references to the old spec, one causing Icons not
    to work.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=669677

 .../external/rygel-external-icon-factory.vala      |    2 +-
 .../external/rygel-external-plugin-factory.vala    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/external/rygel-external-icon-factory.vala b/src/plugins/external/rygel-external-icon-factory.vala
index 9b9651d..ff8124f 100644
--- a/src/plugins/external/rygel-external-icon-factory.vala
+++ b/src/plugins/external/rygel-external-icon-factory.vala
@@ -25,7 +25,7 @@
 using FreeDesktop;
 
 public class Rygel.External.IconFactory {
-    private static string ITEM_IFACE = "org.gnome.UPnP.MediaItem1";
+    private static string ITEM_IFACE = "org.gnome.UPnP.MediaItem2";
 
     public async IconInfo? create (string                    service_name,
                                    HashTable<string,Variant> container_props)
diff --git a/src/plugins/external/rygel-external-plugin-factory.vala b/src/plugins/external/rygel-external-plugin-factory.vala
index 8864754..90962ff 100644
--- a/src/plugins/external/rygel-external-plugin-factory.vala
+++ b/src/plugins/external/rygel-external-plugin-factory.vala
@@ -128,7 +128,7 @@ public class Rygel.External.PluginFactory {
             return;
         }
 
-        // org.gnome.UPnP.MediaServer1.NAME => /org/gnome/UPnP/MediaServer1/NAME
+        // org.gnome.UPnP.MediaServer2.NAME => /org/gnome/UPnP/MediaServer2/NAME
         var root_object = "/" + service_name.replace (".", "/");
 
         // Create proxy to MediaObject iface to get the display name through



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