[tracker] tracker-extract: gstreamer: Don't extract nmm:albumArtist until we have a better solution
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: gstreamer: Don't extract nmm:albumArtist until we have a better solution
- Date: Thu, 21 Oct 2010 13:30:16 +0000 (UTC)
commit 0c0142b6dde8fa987bb40ae9a56dd8f5925d78d8
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Oct 21 15:29:39 2010 +0200
tracker-extract: gstreamer: Don't extract nmm:albumArtist until we have a better solution
Partly fixes NB#194908
src/tracker-extract/tracker-extract-gstreamer.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 06d7ada..e01b0eb 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -505,7 +505,7 @@ extract_metadata (MetadataExtractor *extractor,
g_return_if_fail (metadata != NULL);
if (extractor->tagcache) {
- gchar *artist_uri = NULL;
+ /* gchar *artist_uri = NULL; */
gchar *performer_uri = NULL;
gchar *composer_uri = NULL;
gchar *album_uri = NULL;
@@ -534,6 +534,7 @@ extract_metadata (MetadataExtractor *extractor,
gst_tag_list_get_string (extractor->tagcache, GST_TAG_PERFORMER, &performer);
gst_tag_list_get_string (extractor->tagcache, GST_TAG_ARTIST, &artist_local);
+ /*
if (artist_local) {
artist_uri = tracker_sparql_escape_uri_printf ("urn:artist:%s", artist_local);
@@ -544,7 +545,7 @@ extract_metadata (MetadataExtractor *extractor,
tracker_sparql_builder_predicate (preupdate, "nmm:artistName");
tracker_sparql_builder_object_unvalidated (preupdate, artist_local);
tracker_sparql_builder_insert_close (preupdate);
- }
+ } */
temp = tracker_coalesce_strip (2, performer, artist_local);
@@ -611,10 +612,11 @@ extract_metadata (MetadataExtractor *extractor,
tracker_sparql_builder_predicate (preupdate, "nmm:albumTitle");
tracker_sparql_builder_object_unvalidated (preupdate, s);
+ /*
if (artist_uri) {
tracker_sparql_builder_predicate (preupdate, "nmm:albumArtist");
tracker_sparql_builder_object_iri (preupdate, artist_uri);
- }
+ } */
tracker_sparql_builder_insert_close (preupdate);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]