external: Remove references to MediaServer1
authorJens Georg <mail@jensge.org>
Thu, 9 Feb 2012 07:43:34 +0000 (09:43 +0200)
committerJens Georg <mail@jensge.org>
Thu, 9 Feb 2012 09:05:24 +0000 (11:05 +0200)
There were still two references to the old spec, one causing Icons not
to work.

https://bugzilla.gnome.org/show_bug.cgi?id=669677

src/plugins/external/rygel-external-icon-factory.vala
src/plugins/external/rygel-external-plugin-factory.vala

index 9b9651d..ff8124f 100644 (file)
@@ -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)
index 8864754..90962ff 100644 (file)
@@ -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