[gnome-music/wip/mschraal/playlists-fixes: 4/7] grltrackerplaylists: Fix typo in query



commit e0e4fbc9530844955e72fde434f22e079ccc13d1
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Feb 24 15:19:21 2020 +0100

    grltrackerplaylists: Fix typo in query
    
    The tracker:id should refer to the song, not the url.

 gnomemusic/grilowrappers/grltrackerplaylists.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/grilowrappers/grltrackerplaylists.py b/gnomemusic/grilowrappers/grltrackerplaylists.py
index 3aa09f2a..92ea9f94 100644
--- a/gnomemusic/grilowrappers/grltrackerplaylists.py
+++ b/gnomemusic/grilowrappers/grltrackerplaylists.py
@@ -368,7 +368,7 @@ class Playlist(GObject.GObject):
         SELECT
             rdf:type(?song)
             ?song AS ?tracker_urn
-            tracker:id(?entry) AS ?id
+            tracker:id(?song) AS ?id
             nie:url(?song) AS ?url
             nie:title(?song) AS ?title
             nmm:artistName(nmm:performer(?song)) AS ?artist


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