mirror of
https://github.com/beetbox/beets.git
synced 2025-12-30 12:32:33 +01:00
Fix SACD Imports
This commit is contained in:
parent
ef328ed740
commit
32e9e58a35
3 changed files with 8 additions and 0 deletions
|
|
@ -208,6 +208,10 @@ def track_distance(
|
|||
if item.mb_trackid:
|
||||
dist.add_expr("track_id", item.mb_trackid != track_info.track_id)
|
||||
|
||||
# Penalize mismatching disc numbers.
|
||||
if track_info.medium and item.disc:
|
||||
dist.add_expr("medium", item.disc != track_info.medium)
|
||||
|
||||
# Plugins.
|
||||
dist.update(plugins.track_distance(item, track_info))
|
||||
|
||||
|
|
|
|||
|
|
@ -207,6 +207,7 @@ match:
|
|||
track_index: 1.0
|
||||
track_length: 2.0
|
||||
track_id: 5.0
|
||||
medium: 1.0
|
||||
preferred:
|
||||
countries: []
|
||||
media: []
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ Bug fixes:
|
|||
* Check if running python from the Microsoft Store and provide feedback to install
|
||||
from python.org.
|
||||
:bug:`5467`
|
||||
* Fix bug where matcher doesn't consider medium number when importing. This makes
|
||||
it difficult to import hybrid SACDs and other releases with duplicate tracks.
|
||||
:bug:`5148`
|
||||
|
||||
For packagers:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue