# What exactly is (id) when matching?

**URL:** <https://discourse.beets.io/t/what-exactly-is-id-when-matching/2042>\
**Category:** Help\
**Created:** [February 28, 2022, 7:38pm UTC](https://discourse.beets.io/t/what-exactly-is-id-when-matching/2042 "2022-02-28T19:38:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![47West63rd](https://avatars.discourse-cdn.com/v4/letter/4/a183cd/32.png) [@47West63rd](https://discourse.beets.io/u/47West63rd)\
**Post date:** [March 1, 2022, 6:25pm UTC](https://discourse.beets.io/t/what-exactly-is-id-when-matching/2042/5 "2022-03-01T18:25:03Z")

</div>

If you are stuck on this like me. Check out the next couple of links. max\_rec uses names distance\_weights use numbers

> [@Can beets fix tracks which are wrongly named?](https://discourse.beets.io/t/can-beets-fix-tracks-which-are-wrongly-named/671):
>
> I have a few albums where the track titles are randomly swapped around. Let’s say an album has track 1 (2:56 minutes long) and track 2 (5:12 minutes long), but my tags are messed up, and I have the track 2 tagged with the title “track 1”, and vice versa. Will the autotagger fix this when importing, based on track lengths? Or will it assume, since the titles are actually correct titles from the album, that track 1 is indeed track 1, and track 2 is indeed track 2? EDIT: it seems that beets fetc…

**and**

> <https://github.com/beetbox/beets/blob/6ee824fb0f3419a502b580b171cf9530a1a65b34/beets/config_default.yaml#L132>

I was able to make track index and track id both 0.1 and the above match went from 84 to 99%. I seem to remember reading somewhere (but can’t find it) that ID and Index are named opposite of what you would think for backwards compatibility. Maybe somebody with more background can chime in and what I actually accomplished. Thanks to @RollingStar for putting me on the right path.

```auto
        track_index: 0.1
        track_length: 2.0
        track_id: 0.1

```

---

_[View the full topic](https://discourse.beets.io/t/what-exactly-is-id-when-matching/2042)._
