[tracker-miners/tracker-miners-2.3: 7/9] tracker-writeback-gstreamer: Fix get_album_artist sparql query



commit 92d72a6936c663cccb67e2d0fba3032048c19092
Author: Jean Felder <jfelder src gnome org>
Date:   Sun Nov 24 18:33:53 2019 +0100

    tracker-writeback-gstreamer: Fix get_album_artist sparql query

 src/tracker-writeback/tracker-writeback-gstreamer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-gstreamer.c 
b/src/tracker-writeback/tracker-writeback-gstreamer.c
index d8909705a..a75ed40a3 100644
--- a/src/tracker-writeback/tracker-writeback-gstreamer.c
+++ b/src/tracker-writeback/tracker-writeback-gstreamer.c
@@ -847,7 +847,7 @@ writeback_gstreamer_get_album_artist (TrackerSparqlConnection *connection,
 {
        gchar *artist_urn, *val, *query;
 
-       query = g_strdup_printf ("SELECT ?albumArtist WHERE {<%s> nmm:albumArtist ?albumName}", urn);
+       query = g_strdup_printf ("SELECT ?albumArtist WHERE {<%s> nmm:albumArtist ?albumArtist}", urn);
        artist_urn = writeback_gstreamer_get_from_query (connection, urn, query, "album artist");
        val = writeback_gstreamer_get_artist_name (connection, artist_urn);
        g_free(query);


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