mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 14:32:55 +01:00
This replaces order_items with assign_items, the first step to allowing unequal numbers of items on either side of the equation (user files and canonical tracks). Rather than returning a "holey" list and assuming that the TrackInfo objects stay static, the function returns a dictionary mapping Item objects to TrackInfo objects. To indicate unmatched objects, two sets are also returned. For the moment, some temporary code is included to turn the result from this new function into the old format (a holey Item list). This allowed me to test this change in isolation before plunging ahead with the necessary refactoring to expose all of this to the importer workflow, etc. |
||
|---|---|---|
| .. | ||
| rsrc | ||
| __init__.py | ||
| _common.py | ||
| test_art.py | ||
| test_autotag.py | ||
| test_db.py | ||
| test_files.py | ||
| test_importer.py | ||
| test_mb.py | ||
| test_mediafile.py | ||
| test_mediafile_basic.py | ||
| test_pipeline.py | ||
| test_player.py | ||
| test_query.py | ||
| test_template.py | ||
| test_ui.py | ||
| test_vfs.py | ||
| testall.py | ||