rygel r681 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r681 - trunk/src/rygel
- Date: Sun, 15 Mar 2009 19:03:04 +0000 (UTC)
Author: zeeshanak
Date: Sun Mar 15 19:03:04 2009
New Revision: 681
URL: http://svn.gnome.org/viewvc/rygel?rev=681&view=rev
Log:
Only HTTP proxy res don't get exported if HTTP uri already exist.
Modified:
trunk/src/rygel/rygel-http-server.vala
Modified: trunk/src/rygel/rygel-http-server.vala
==============================================================================
--- trunk/src/rygel/rygel-http-server.vala (original)
+++ trunk/src/rygel/rygel-http-server.vala Sun Mar 15 19:03:04 2009
@@ -61,16 +61,14 @@
throws Error {
var resources = new ArrayList<DIDLLiteResource?> ();
- if (http_res_present (orig_res_list)) {
- return resources;
- }
-
// Create the HTTP proxy URI
var uri = this.create_http_uri_for_item (item, null);
DIDLLiteResource res = item.create_res (uri);
res.protocol = "http-get";
- resources.add (res);
+ if (!http_res_present (orig_res_list)) {
+ resources.add (res);
+ }
if (item.upnp_class.has_prefix (MediaItem.IMAGE_CLASS)) {
// No transcoding for images yet :(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]