Substitute the correct keyword in URIs
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 11 May 2009 22:30:03 +0000 (01:30 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 11 May 2009 22:30:03 +0000 (01:30 +0300)
After this change, pulse-audio streams can be browsed and streamed on DLNA
clients (tested on PS3). yay!

src/plugins/external/rygel-external-item.vala

index d57d34f..0f47da3 100644 (file)
@@ -71,7 +71,7 @@ public class Rygel.ExternalItem : MediaItem {
         weak string[] uris = (string[]) value.get_boxed ();
 
         for (var i = 0; uris[i] != null; i++) {
-            var tmp = uris[i].replace ("://@HOSTNAME@", parent.host_ip);
+            var tmp = uris[i].replace ("@ADDRESS@", parent.host_ip);
 
             this.uris.add (tmp);
         }