From 1f7a782c01e342cf709782a121f5096cb19e615d Mon Sep 17 00:00:00 2001 From: Tai Lee Date: Fri, 24 May 2013 13:26:06 +1000 Subject: [PATCH] Display source in release listing (yellow), if other than MusicBrainz. --- beets/ui/commands.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index cf097dc80..2af7c86be 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -440,6 +440,11 @@ def choose_candidate(candidates, singleton, rec, cur_artist=None, match.info.album, dist_string(match.distance))] + # Sources other than MusicBrainz. + source = match.info.data_source + if source != 'MusicBrainz': + line.append(ui.colorize('yellow', '(%s)' % source)) + # Point out the partial matches. if match.extra_items or match.extra_tracks: line.append(ui.colorize('yellow',