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



commit 01e5453c47af41a29aade1e97199194c0c8cd6c3
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]