[gnome-music/wip/mschraal/core: 17/164] coregrilo: add favorite to actual query



commit a7ed5decdfa79c84253b8ef717128b9c952d8fd0
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed May 8 21:50:37 2019 +0200

    coregrilo: add favorite to actual query

 gnomemusic/coregrilo.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gnomemusic/coregrilo.py b/gnomemusic/coregrilo.py
index 38aada99..2ea4cf65 100644
--- a/gnomemusic/coregrilo.py
+++ b/gnomemusic/coregrilo.py
@@ -74,6 +74,7 @@ class CoreGrilo(GObject.GObject):
                 nie:usageCounter(?song) AS ?play_count
                 nmm:trackNumber(?song) AS ?track_number
                 nmm:setNumber(nmm:musicAlbumDisc(?song)) AS ?album_disc_number
+                ?tag AS ?favourite
             WHERE {
                 ?song a nmm:MusicPiece .
                 OPTIONAL {


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