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




commit 9a02af560523986f75a8527464ac094ca2ac580d
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 1ef9f19d0..5e0e57db6 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]