[tracker-miners/wip/jfelder/fix-musicbrainz-writeback: 3/3] tracker-writeback: Use nmm:artist property to handle artist tags




commit 73412d2cd3a76cedd37b7c6234ae8b7838219811
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Aug 6 18:35:31 2021 +0200

    tracker-writeback: Use nmm:artist property to handle artist tags
    
    This nmm:artist was introduced in nmm:MusicPiece to distinguish the
    track artist (nmm:artist) from the performer (nmm:peformer).
    nmm:artist property is now used to store all the artist information.
    
    See tracker commit eb9022c15514177d9561ff9f86e061e193f452da

 src/tracker-writeback/tracker-writeback-gstreamer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-gstreamer.c 
b/src/tracker-writeback/tracker-writeback-gstreamer.c
index ccd89288d..29bfb5b31 100644
--- a/src/tracker-writeback/tracker-writeback-gstreamer.c
+++ b/src/tracker-writeback/tracker-writeback-gstreamer.c
@@ -700,7 +700,7 @@ writeback_gstreamer_write_file_metadata (TrackerWritebackFile  *writeback,
                        g_value_unset (&val);
                }
 
-               if (g_strcmp0 (prop, "nmm:performer") == 0) {
+               if (g_strcmp0 (prop, "nmm:artist") == 0) {
                        TrackerResource *performer;
                        const gchar *name = NULL;
                        const gchar *mb_tags[] = {


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