[rygel] Substitute the correct keyword in URIs



commit 5130f147e87d653982a68372d6e67fd6da5c969c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue May 12 01:30:03 2009 +0300

    Substitute the correct keyword in URIs
    
    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/plugins/external/rygel-external-item.vala b/src/plugins/external/rygel-external-item.vala
index d57d34f..0f47da3 100644
--- a/src/plugins/external/rygel-external-item.vala
+++ b/src/plugins/external/rygel-external-item.vala
@@ -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);
         }



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