diff --git a/server/djrandom/fingerprint/dedup.py b/server/djrandom/fingerprint/dedup.py index 9675df0e77e44e87e7eb4486a7c49ce4e2ead5d0..826276b9f11a4e5ec1954ed72745163b4c823086 100644 --- a/server/djrandom/fingerprint/dedup.py +++ b/server/djrandom/fingerprint/dedup.py @@ -185,6 +185,11 @@ class DeDuper(object): scores.sort(cmp=_compare_score, reverse=True) best_song = scores[0][1] log.debug('remove_dupes: best song is %s' % best_song) + log.debug('remove_dupes: score dump:') + for score, sha1 in scores: + bitrate, duration, nmeta = score + log.debug(' * (bitrate=%s, duration=%s, nmeta=%s) %s' % ( + bitrate, duration, nmeta, sha1)) # Remove all the other songs. songs_to_remove = [x for x in hashes if x != best_song]