def track_distance(item, info):
 from beets.autotag.hooks import Distance
 dist = Distance()
 for plugin in find_plugins():
  dist.update(plugin.track_distance(item, info))
 return dist

def track_distance ( item , info ) : from beets . autotag . hooks import Distance dist = Distance ( ) for plugin in find_plugins ( ) : dist . update ( plugin . track_distance ( item , info ) ) return dist
determines the significance of a track metadata change .