[sound-juicer] Add vocal arrangers to the list of transcribers



commit fe18e1645f4ef7a98983afef88522b20fb9672c3
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Mon Sep 12 11:30:08 2016 +0100

    Add vocal arrangers to the list of transcribers
    
    Transcriptions for voice are treated differently to arrangements for
    instruments by MusicBrainz.

 libjuicer/sj-metadata-musicbrainz5.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libjuicer/sj-metadata-musicbrainz5.c b/libjuicer/sj-metadata-musicbrainz5.c
index ebeb250..a8175dd 100644
--- a/libjuicer/sj-metadata-musicbrainz5.c
+++ b/libjuicer/sj-metadata-musicbrainz5.c
@@ -810,6 +810,12 @@ static void work_cb (SjMetadataMusicbrainz5 *self,
   transcribers = composer_context.composers;
   if (*context->error != NULL)
     goto cleanup;
+  relationlist_list_foreach_relation (self, relation_lists,
+                                      "artist", "vocal arranger",
+                                      composer_cb, &composer_context);
+  transcribers = composer_context.composers;
+  if (*context->error != NULL)
+    goto cleanup;
 
   build_composer_text (composers, arrangers, orchestrators, transcribers,
                        &context->track->composer, &context->track->composer_sortname);


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