[gnome-music] query: Make songs query less strict



commit f4ff29fb083a3dc7ef59aee4fb0571541604e900
Author: Marinus Schraal <mschraal src gnome org>
Date:   Sun Sep 3 22:22:24 2017 +0200

    query: Make songs query less strict
    
    The songs query was as strict as the albums and artists queries when it
    came to tags being provided.
    
    Make it less strict, so users can see and search all of their indexed
    songs, even without the proper tags.

 gnomemusic/query.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/query.py b/gnomemusic/query.py
index 24368e6..2c92721 100644
--- a/gnomemusic/query.py
+++ b/gnomemusic/query.py
@@ -208,9 +208,6 @@ class Query():
     {
         %(where_clause)s
         ?song a nmm:MusicPiece ;
-            nmm:musicAlbumDisc ?disc ;
-            nmm:musicAlbum ?album ;
-            nmm:performer ?performer ;
             nie:url ?url .
         OPTIONAL { ?song nao:hasTag ?tag .
                    FILTER (?tag = nao:predefined-tag-favorite) } .


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]