Add Release Group MBIDs to ripped files
See https://musicbrainz.org/doc/Release_Group Second part of https://github.com/whipper-team/whipper/issues/200 (MusicBrainz JSON test data dumps needed to be refreshed due to the new `includes` in the MusicBrainz web service call.) Signed-off-by: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
This commit is contained in:
@@ -386,6 +386,7 @@ class Program:
|
||||
releaseArtist = self.metadata.artist
|
||||
disc = self.metadata.title
|
||||
mbidRelease = self.metadata.mbid
|
||||
mbidReleaseGroup = self.metadata.mbidReleaseGroup
|
||||
mbidReleaseArtist = self.metadata.mbidArtist
|
||||
|
||||
if number > 0:
|
||||
@@ -425,6 +426,7 @@ class Program:
|
||||
tags['MUSICBRAINZ_TRACKID'] = mbidRecording
|
||||
tags['MUSICBRAINZ_ARTISTID'] = mbidTrackArtist
|
||||
tags['MUSICBRAINZ_ALBUMID'] = mbidRelease
|
||||
tags['MUSICBRAINZ_RELEASEGROUPID'] = mbidReleaseGroup
|
||||
tags['MUSICBRAINZ_ALBUMARTISTID'] = mbidReleaseArtist
|
||||
|
||||
# TODO/FIXME: ISRC tag
|
||||
|
||||
Reference in New Issue
Block a user