Separate out Release in log into two value map

This allows log parsers to always extract correct information about the "artist" and "title" fields: previously that was a problem if either (or both) of those fields contained a "-" character.

Fixes #416.

Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
This commit is contained in:
JoeLametta
2019-10-22 07:00:00 +00:00
parent 35561b51e5
commit 4569644335

View File

@@ -63,8 +63,9 @@ class WhipperLogger(result.Logger):
# CD metadata
lines.append("CD metadata:")
lines.append(" Release: %s - %s" %
(ripResult.artist, ripResult.title))
lines.append(" Release:")
lines.append(" Artist: %s" % ripResult.artist)
lines.append(" Title: %s" % ripResult.title)
lines.append(" CDDB Disc ID: %s" % ripResult. table.getCDDBDiscId())
lines.append(" MusicBrainz Disc ID: %s" %
ripResult. table.getMusicBrainzDiscId())