Skip to content

"No matching release found" when given musicbrainz ID #6244

Description

@GitHappens2Me

Problem

I recently started getting the error message No matching release found for X tracks during import for almost all of my albums, even when providing the MusicBrainz ID. I could not narrow down the problem further than: The import works for some albums, but not for most. I am using beets version 2.5.1.

Output from import command:

beet -c "beets-config.yaml" -v import "D:\Music\downloaded\Oxis_1"
overlaying configuration: beets-config.yaml
user configuration: C:\Users\User\AppData\Roaming\beets\config.yaml
data directory: C:\Users\User\AppData\Roaming\beets
plugin paths: []
Loading plugins: chroma, fetchart, fromfilename, ftintitle, info, lyrics, scrub        
fetchart: lastfm: Disabling art source due to missing key
fetchart: google: Disabling art source due to missing key
Sending event: pluginload
library database: D:\Music\beets-library.db      
library directory: D:\Music\Library
Sending event: library_opened
Sending event: import_begin
Sending event: import_task_created
Sending event: import_task_start
Looking up: D:\Music\downloaded\Oxis_1
Tagging oxis - Oxis 1
No album ID found.
Search terms: oxis - Oxis 1
Album might be VA: False
chroma: acoustid album candidates: 0
Evaluating 0 candidates.

D:\Music\downloaded\Oxis_1 (8 items)
Sending event: import_task_before_choice
Sending event: before_choose_candidate
No matching release found for 8 tracks.
For help, see: https://beets.readthedocs.org/en/latest/faq.html#nomatch
➜ [S]kip, Use as-is, as Tracks, Group albums, Enter search, enter Id, aBort? I
Enter release ID: 858ca2f0-53ac-4e1e-b9c7-15013f102b95
Tagging oxis - Oxis 1
Searching for album ID: 858ca2f0-53ac-4e1e-b9c7-15013f102b95
Evaluating 0 candidates.
Sending event: before_choose_candidate
No matching release found for 8 tracks.
For help, see: https://beets.readthedocs.org/en/latest/faq.html#nomatch
➜ [S]kip, Use as-is, as Tracks, Group albums, Enter search, enter Id, aBort? I
Enter release ID: https://musicbrainz.org/release/858ca2f0-53ac-4e1e-b9c7-15013f102b95 
Tagging oxis - Oxis 1
Searching for album ID: https://musicbrainz.org/release/858ca2f0-53ac-4e1e-b9c7-15013f102b95
Evaluating 0 candidates.
Sending event: before_choose_candidate
No matching release found for 8 tracks.
For help, see: https://beets.readthedocs.org/en/latest/faq.html#nomatch
➜ [S]kip, Use as-is, as Tracks, Group albums, Enter search, enter Id, aBort?

For this example I used the Album Oxis 1 with MusicBrainz ID 858ca2f0-53ac-4e1e-b9c7-15013f102b95, but many other exhibit the same behaviour. I also tried passing the complete URL. The folder from which i import has the right number of tracks (8) with correct titles (<track-number><track-name>)

This issue looks similiar to #1665 (hence the same title), but the "Missing required tag" log messages is not present. I therefore think the cause of the problem is a different one.

Setup

  • OS: Windows 11 Home
  • Python version: 3.12.1
  • beets version: 2.5.1
  • Turning off plugins made problem go away: No

My configuration (output of beet config) is:

overlaying configuration: beets-config.yaml
user configuration: C:\Users\User\AppData\Roaming\beets\config.yaml
data directory: C:\Users\User\AppData\Roaming\beets
plugin paths: []
Loading plugins: chroma, fetchart, fromfilename, ftintitle, info, lyrics, scrub        
fetchart: lastfm: Disabling art source due to missing key
fetchart: google: Disabling art source due to missing key
Sending event: pluginload
library database: D:\Music\beets-library.db            
library directory: D:\Musik\Library
Sending event: library_opened

# --------------- UI ---------------

verbose: 1
directory: D:/Musik/Library
# --------------- Main ---------------

library: D:\Music\beets-library.db

# --------------- Plugins ---------------

plugins: ftintitle scrub chroma fetchart info lyrics fromfilename
lyrics:
    auto: yes
    print: no
    sources: [lrclib, genius, tekstowo]
    synced: yes
    translate:
        api_key: REDACTED
        from_languages: []
        to_language:
    dist_thresh: 0.11
    google_API_key: REDACTED
    google_engine_ID: REDACTED
    genius_api_key: REDACTED
    fallback:
    force: no
    local: no
chroma:
    auto: yes
    search_limit: 5
    data_source_mismatch_penalty: 0.5
fetchart:
    auto: yes
    cautious: yes
    store_source: yes
    sources: filesystem coverart albumart wikipedia lastfm itunes
    minwidth: 0
    maxwidth: 0
    quality: 0
    max_filesize: 0
    enforce_ratio: no
    cover_names:
    - cover
    - front
    - art
    - album
    - folder
    high_resolution: no
    deinterlace: no
    cover_format:
    lastfm_key: REDACTED
    google_key: REDACTED
    google_engine: REDACTED
    fanarttv_key: REDACTED
ftintitle:
    auto: yes
    format: feat. {0}
    keep_in_artist: no
    drop: no
musicbrainz:
    ratelimit: 1

import:
    languages: de en
    singleton: yes
    move: no
    copy: yes
    write: yes
    delete: no
    log: D:\Music\beet_import.log
    debug: yes
replace:
    ':': '-'
    '[\\/]': _
    ^\.: _
    '[\x00-\x1f]': _
    \.$: ''
    \?: ''
    '"': _
    \*: _
    <: _
    '>': _
    \|: _
    "\u2019": ''
paths:
    default: $albumartist/$album%aunique{}/$track - $title
    singleton: $artist/Singles/$title
    comp: Compilations/$album%aunique{}/$track - $title
disabled_plugins: []
scrub:
    auto: yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions