[rygel] core: Containers without URIs are 'restricted'
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Containers without URIs are 'restricted'
- Date: Wed, 17 Feb 2010 13:39:39 +0000 (UTC)
commit 790a067993c2672480f80716b0bbec638ea6c544
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Jan 20 17:44:20 2010 +0200
core: Containers without URIs are 'restricted'
src/rygel/rygel-didl-lite-writer.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-didl-lite-writer.vala b/src/rygel/rygel-didl-lite-writer.vala
index fed3e98..3f3c949 100644
--- a/src/rygel/rygel-didl-lite-writer.vala
+++ b/src/rygel/rygel-didl-lite-writer.vala
@@ -106,7 +106,7 @@ internal class Rygel.DIDLLiteWriter : GUPnP.DIDLLiteWriter {
didl_container.title = container.title;
didl_container.child_count = container.child_count;
didl_container.upnp_class = container.upnp_class;
- didl_container.restricted = false;
+ didl_container.restricted = container.uris.size <= 0;
didl_container.searchable = true;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]