[grilo-plugins/wip/jfelder/tracker3-empty-values: 2/4] tracker3: Fix writeback support for musicbrainz release key




commit 9aee33d91c9fecfe1936fbd5c1da6d3259b4b966
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Aug 6 15:41:08 2021 +0200

    tracker3: Fix writeback support for musicbrainz release key
    
    This tags is associated with an album property (nmm:musicAlbum) of a
    song, not the song.

 src/tracker3/grl-tracker-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker3/grl-tracker-utils.c b/src/tracker3/grl-tracker-utils.c
index edddc2b7..9f2dfe8a 100644
--- a/src/tracker3/grl-tracker-utils.c
+++ b/src/tracker3/grl-tracker-utils.c
@@ -606,7 +606,7 @@ grl_tracker_build_resource_from_media (GrlMedia *media, GList *keys)
 
         mb_release_id = grl_media_get_mb_release_id (media);
         if (mb_release_id) {
-          ensure_resource_for_musicbrainz_tag (resource,
+          ensure_resource_for_musicbrainz_tag (album,
                                                "https://musicbrainz.org/doc/Release";,
                                                mb_release_id);
         }


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