summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Felder <jfelder@src.gnome.org>2021-08-06 15:51:56 +0200
committerVictor Toso <victortoso@gnome.org>2021-09-13 09:43:45 +0000
commitcd2e9be09bb74e0f1a2778ed465f9a0b174cfb1e (patch)
treee92af402c9c804585172849d558dea58b05ac0cd
parente53b1decec3ee73bb00c7ba4a1a0e368399db7a9 (diff)
downloadgrilo-plugins-cd2e9be09bb74e0f1a2778ed465f9a0b174cfb1e.tar.gz
tracker3: Fix writeback support for musicbrainz release_group key
This tags is associated with an album property (nmm:musicAlbum) of a song, not the song.
-rw-r--r--src/tracker3/grl-tracker-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tracker3/grl-tracker-utils.c b/src/tracker3/grl-tracker-utils.c
index 9f2dfe8..23e6f24 100644
--- a/src/tracker3/grl-tracker-utils.c
+++ b/src/tracker3/grl-tracker-utils.c
@@ -617,7 +617,7 @@ grl_tracker_build_resource_from_media (GrlMedia *media, GList *keys)
mb_release_group_id = grl_media_get_mb_release_group_id (media);
if (mb_release_group_id) {
- ensure_resource_for_musicbrainz_tag (resource,
+ ensure_resource_for_musicbrainz_tag (album,
"https://musicbrainz.org/doc/Release_Group",
mb_release_group_id);
}