[rygel] core: Only advertize searchable containers as such
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Only advertize searchable containers as such
- Date: Tue, 30 Nov 2010 17:14:22 +0000 (UTC)
commit 444d2fe1356fc2c5f4353ec3a02acc0558ab3fc4
Author: Sunil Mohan Adapa <sunil medhas org>
Date: Fri Nov 26 01:24:18 2010 +0530
core: Only advertize searchable containers as such
Set the 'searchable' attribute in the DIDL depending on whether a
container is searchable or not.
src/rygel/rygel-media-container.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-container.vala b/src/rygel/rygel-media-container.vala
index 8246d74..ef1787b 100644
--- a/src/rygel/rygel-media-container.vala
+++ b/src/rygel/rygel-media-container.vala
@@ -152,7 +152,7 @@ public abstract class Rygel.MediaContainer : MediaObject {
didl_container.title = this.title;
didl_container.child_count = this.child_count;
didl_container.upnp_class = this.upnp_class;
- didl_container.searchable = true;
+ didl_container.searchable = this is SearchableContainer;
if (!this.restricted) {
didl_container.restricted = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]