From 86d9d75db40212e12a5ccae2abf27c6c608f6bb6 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Wed, 22 Sep 2010 19:59:08 -0700 Subject: [PATCH] outdated reference to _ie_dist --- beetsplug/lastid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/lastid.py b/beetsplug/lastid.py index f77340953..99622b520 100644 --- a/beetsplug/lastid.py +++ b/beetsplug/lastid.py @@ -85,7 +85,7 @@ class LastIdPlugin(BeetsPlugin): dist, dist_max = 0.0, 0.0 # Track title distance. - dist += autotag._ie_dist(last_data['title'], + dist += autotag.string_dist(last_data['title'], info['title']) \ * autotag.TRACK_TITLE_WEIGHT dist_max += autotag.TRACK_TITLE_WEIGHT @@ -108,7 +108,7 @@ class LastIdPlugin(BeetsPlugin): # Compare artist to MusicBrainz metadata. dist, dist_max = 0.0, 0.0 - dist += autotag._ie_dist(last_artist, info['artist']) \ + dist += autotag.string_dist(last_artist, info['artist']) \ * autotag.ARTIST_WEIGHT dist_max += autotag.ARTIST_WEIGHT