Skip to content

Commit

Permalink
Separate out Release in log into two value map
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
JoeLametta committed Oct 22, 2019
1 parent 35561b5 commit 4569644
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions whipper/result/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ def logRip(self, ripResult, epoch):

# 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())
Expand Down

0 comments on commit 4569644

Please sign in to comment.