# Stop unmatched tracks albums having a high similarity percentage

**URL:** <https://discourse.beets.io/t/stop-unmatched-tracks-albums-having-a-high-similarity-percentage/1509>\
**Category:** Help\
**Created:** [September 19, 2020, 3:51am UTC](https://discourse.beets.io/t/stop-unmatched-tracks-albums-having-a-high-similarity-percentage/1509 "2020-09-19T03:51:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt07211](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Matt07211](https://discourse.beets.io/u/Matt07211)\
**Post date:** [September 19, 2020, 3:51am UTC](https://discourse.beets.io/t/stop-unmatched-tracks-albums-having-a-high-similarity-percentage/1509/1 "2020-09-19T03:51:49Z")

</div>

![Screenshot from 2020-09-19 13-49-51](https://canada1.discourse-cdn.com/flex029/uploads/beets/original/1X/5baad45c58ae0075082822197e410bdb2cb8a17a.png)

Look at the above screenshot for example, the first match it found has 2 unmatched tracks, yet it has a higher % rating then the correct choice that doesn’t have any unmatched tracks, any way to give the unmatched trackers a higher penalty?

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [September 19, 2020, 12:17pm UTC](https://discourse.beets.io/t/stop-unmatched-tracks-albums-having-a-high-similarity-percentage/1509/2 "2020-09-19T12:17:35Z")

</div>

Sure—the thing to use is the (undocumented) `distance_weights` config options, which you can find described elsewhere on this forum:

> [@Can beets fix tracks which are wrongly named?](https://discourse.beets.io/t/can-beets-fix-tracks-which-are-wrongly-named/671/4):
>
> There is! It’s actually undocumented for now, but there is a match.distance\_weights config mapping that lets you specify how important each factor in a match is. The track length is one such factor: Increasing that number in your configuration will increase its relative importance for matching.

---

<div class="post-metadata">

**Author:** ![Matt07211](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Matt07211](https://discourse.beets.io/u/Matt07211)\
**Post date:** [September 25, 2020, 9:55am UTC](https://discourse.beets.io/t/stop-unmatched-tracks-albums-having-a-high-similarity-percentage/1509/3 "2020-09-25T09:55:31Z")

</div>

Sounds good, I’ll give it a go soon

---

<div class="post-metadata">

**Author:** ![Matt07211](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Matt07211](https://discourse.beets.io/u/Matt07211)\
**Post date:** [October 14, 2020, 10:29am UTC](https://discourse.beets.io/t/stop-unmatched-tracks-albums-having-a-high-similarity-percentage/1509/4 "2020-10-14T10:29:54Z")

</div>

So I am finally having a look at this, do you reckon tweaking unmatched\_tracks to high would do it?  
max\_rec:  
missing\_tracks: medium  
unmatched\_tracks: medium

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [October 14, 2020, 11:31am UTC](https://discourse.beets.io/t/stop-unmatched-tracks-albums-having-a-high-similarity-percentage/1509/5 "2020-10-14T11:31:09Z")

</div>

No—you will want to use `distance_weights`.

---

<div class="post-metadata">

**Author:** ![Matt07211](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Matt07211](https://discourse.beets.io/u/Matt07211)\
**Post date:** [October 14, 2020, 2:17pm UTC](https://discourse.beets.io/t/stop-unmatched-tracks-albums-having-a-high-similarity-percentage/1509/6 "2020-10-14T14:17:00Z")

</div>

Which option inside that section would be the best to toggle? Also which way do I toggle the numbers (e.g. Larger numbers means its not as easy to match or…?)
