diff options
author | Ludovic Ferrandis <ludovic.ferrandis@intel.com> | 2012-09-19 15:02:19 +0200 |
---|---|---|
committer | Ludovic Ferrandis <ludovic.ferrandis@intel.com> | 2012-09-21 16:16:02 +0200 |
commit | f4440e104f0d13e454234184c2c6eba982725baf (patch) | |
tree | c9b404a31024968d5945d84e53ee243f4e9b0568 | |
parent | a0972fe1fba507a1e6d17fb18846fb7a13c8cbbe (diff) | |
download | dleyna-control-f4440e104f0d13e454234184c2c6eba982725baf.tar.gz |
[Search] Fix: Filter out Reference Items
Fix https://github.com/01org/media-service-demo/issues/1
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
-rw-r--r-- | src/msd/msd_search.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/msd/msd_search.py b/src/msd/msd_search.py index f5aa0bf..8a0f5a0 100644 --- a/src/msd/msd_search.py +++ b/src/msd/msd_search.py @@ -58,7 +58,8 @@ class SearchModel(gtk.GenericTreeModel): if images or videos: q_buffer.write(' or ') q_buffer.write('Type derivedfrom "audio" ') - q_buffer.write(' )') + q_buffer.write(' ) and ( RefPath exists false )') + search_string = q_buffer.getvalue() finally: q_buffer.close() |