mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 02:52:33 +01:00
current metadata to be correct if it's complete Previously, we were using the Munkres algorithm (minimum bipartite matching) to order tracks intelligently only as a fallback if the current metadata was paradoxical or incomplete. This was because of a concern about the performance of the potentially-O(n^3) Munkres solver. However, it was found that (a) the performance is actually not bad, taking on the order of 0.02 to perform a matching, and (b) there was no recourse for the tagger to reorder tracks that were legitimately in the wrong order. Now, we get intelligent reordering of badly tagged music even when the metadata seems to be complete. To retain some of the functionality of the old orderer, the track distance metric was expanded to include a component reflecting the track index. In doing this, another bug was discovered in the UI that showed the track name differences based on an arbitrary ordering. Now, the tag_album function returns a reordered items list with every candidate. |
||
|---|---|---|
| .. | ||
| rsrc | ||
| test_autotag.py | ||
| test_db.py | ||
| test_files.py | ||
| test_mediafile.py | ||
| test_player.py | ||
| test_query.py | ||
| testall.py | ||