mirror of
https://github.com/beetbox/beets.git
synced 2026-01-05 07:23:33 +01:00
outdated reference to _ie_dist
This commit is contained in:
parent
a3b5fcba8a
commit
86d9d75db4
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue