[tracker] nmm:albumTrackCount must be assigned on the nmm:MusicAlbum instead
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] nmm:albumTrackCount must be assigned on the nmm:MusicAlbum instead
- Date: Wed, 16 Sep 2009 10:03:12 +0000 (UTC)
commit b1150a6629c9ecdb2e3575fbe980d55c61fb2b7d
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Sep 16 12:01:26 2009 +0200
nmm:albumTrackCount must be assigned on the nmm:MusicAlbum instead
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 4ea8687..83bdcf7 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -462,6 +462,7 @@ extract_metadata (MetadataExtractor *extractor,
tracker_statement_list_insert (metadata, canonical_uri, RDF_TYPE, NMM_PREFIX "MusicAlbum");
tracker_statement_list_insert (metadata, canonical_uri, NMM_PREFIX "albumTitle", s);
tracker_statement_list_insert (metadata, uri, NMM_PREFIX "musicAlbum", canonical_uri);
+ add_uint_gst_tag (metadata, canonical_uri, NMM_PREFIX "albumTrackCount", extractor->tagcache, GST_TAG_TRACK_COUNT);
g_free (canonical_uri);
*album = s;
}
@@ -471,7 +472,6 @@ extract_metadata (MetadataExtractor *extractor,
*scount = g_strdup_printf ("%d", count);
}
- add_uint_gst_tag (metadata, uri, NMM_PREFIX "albumTrackCount", extractor->tagcache, GST_TAG_TRACK_COUNT);
add_uint_gst_tag (metadata, uri, NMM_PREFIX "trackNumber", extractor->tagcache, GST_TAG_TRACK_NUMBER);
add_uint_gst_tag (metadata, uri, NMM_PREFIX "setNumber", extractor->tagcache, GST_TAG_ALBUM_VOLUME_NUMBER);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]