[sound-juicer] Set composer tag when extracting
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Set composer tag when extracting
- Date: Thu, 6 Sep 2012 18:41:43 +0000 (UTC)
commit b231d58ece7f240901d31e271f4bbf730fed18aa
Author: Phillip Wood <phillip wood dunelm org uk>
Date: Sun May 13 13:05:03 2012 +0100
Set composer tag when extracting
https://bugzilla.gnome.org/show_bug.cgi?id=661646
libjuicer/sj-extractor.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/libjuicer/sj-extractor.c b/libjuicer/sj-extractor.c
index 2aa6fea..c897edd 100644
--- a/libjuicer/sj-extractor.c
+++ b/libjuicer/sj-extractor.c
@@ -523,6 +523,13 @@ sj_extractor_extract_track (SjExtractor *extractor, const TrackDetails *track, G
GST_TAG_DURATION, track->duration * GST_SECOND,
NULL);
+ if (track->composer != NULL && strcmp (track->composer, "") != 0) {
+ gst_tag_setter_add_tags (tagger,
+ GST_TAG_MERGE_APPEND,
+ GST_TAG_COMPOSER, track->composer,
+ NULL);
+ }
+
if (track->album->album_id != NULL && strcmp (track->album->album_id, "") != 0) {
gst_tag_setter_add_tags (tagger,
GST_TAG_MERGE_APPEND,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]