[rygel] external: Remove workaround for bug#602003
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] external: Remove workaround for bug#602003
- Date: Tue, 10 Aug 2010 23:16:59 +0000 (UTC)
commit 37d9bbacb8e777ed5bbeee2f990a04081ff4d31f
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Aug 11 00:32:46 2010 +0300
external: Remove workaround for bug#602003
.../external/rygel-external-item-factory.vala | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/external/rygel-external-item-factory.vala b/src/plugins/external/rygel-external-item-factory.vala
index 894d5f2..722a458 100644
--- a/src/plugins/external/rygel-external-item-factory.vala
+++ b/src/plugins/external/rygel-external-item-factory.vala
@@ -58,12 +58,8 @@ public class Rygel.External.ItemFactory {
var value = props.lookup ("MIMEType");
item.mime_type = value.get_string ();
- // FIXME: Get this value through the props until bug#602003 is fixed
- // value = props.lookup ("URLs");
- var connection = DBus.Bus.get (DBus.BusType.SESSION);
- var item_iface = connection.get_object (service_name, id)
- as MediaItemProxy;
- string[] uris = item_iface.urls;
+ value = props.lookup ("URLs");
+ var uris = (string[]) value;
for (var i = 0; uris[i] != null; i++) {
var tmp = uris[i].replace ("@ADDRESS@", host_ip);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]