summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/msd/msd_search.py3
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()