[tracker/miner-web: 50/76] Bugfix, to squash



commit 84430391489bda04f1609f53d59678458e34bf20
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Feb 25 16:56:07 2010 +0100

    Bugfix, to squash

 src/tracker-extract/tracker-extract-flac.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-flac.c b/src/tracker-extract/tracker-extract-flac.c
index 21b8dd8..09e72d6 100644
--- a/src/tracker-extract/tracker-extract-flac.c
+++ b/src/tracker-extract/tracker-extract-flac.c
@@ -245,6 +245,8 @@ extract_flac (const gchar          *uri,
 		tracker_sparql_builder_predicate (preupdate, "nmm:albumTitle");
 		tracker_sparql_builder_object_unvalidated (preupdate, fd.album);
 
+		tracker_sparql_builder_insert_close (preupdate);
+
 		if (fd.trackcount) {
 			tracker_sparql_builder_delete_open (preupdate, NULL);
 			tracker_sparql_builder_subject_iri (preupdate, album_uri);
@@ -310,8 +312,6 @@ extract_flac (const gchar          *uri,
 
 			tracker_sparql_builder_insert_close (preupdate);
 		}
-
-		tracker_sparql_builder_insert_close (preupdate);
 	}
 
 	tracker_sparql_builder_predicate (metadata, "a");



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