[tracker/wip/sam/resource-rebase-4: 2/3] squash! Use TrackerResource instead of TrackerSparqlBuilder in all extractors



commit 04a605a400f8154aedd4fb5e04e412ba5859a9b6
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Jul 11 23:24:15 2016 +0100

    squash! Use TrackerResource instead of TrackerSparqlBuilder in all extractors
    
    Fix bad album URIs being generated by GStreamer extractor: I was passing
    a pointer to a TrackerResource to something that was expecting a string.

 src/tracker-extract/tracker-extract-gstreamer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 739a956..ac24e65 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -656,7 +656,7 @@ extractor_maybe_get_album_disc (MetadataExtractor *extractor,
 
         if (album_artist_name != NULL) {
                 album_artist = intern_artist (extractor, album_artist_name);
-                album_uri = tracker_sparql_escape_uri_printf ("urn:album:%s:%s", album_title, album_artist);
+                album_uri = tracker_sparql_escape_uri_printf ("urn:album:%s:%s", album_title, 
album_artist_name);
         } else {
                 album_uri = tracker_sparql_escape_uri_printf ("urn:album:%s", album_title);
         }


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