beets: Some albums don't have an albumartist_sort
Problem
Running this command in verbose (-vv
) mode gives:
[dorian@stonearch Sat May 13 ~]$ -> beet -vv info /media/windows/Users/Dorian/Musik/beets//250th\ Anniversary\ Edition\ Symphonies/03-19\ Les\ petits\ riens,\ KV\ 299b_\ XIII.\ Gavotte.mp3 user configuration: /home/dorian/.config/beets/config.yaml data directory: /home/dorian/.config/beets plugin paths: Sending event: pluginload library database: /media/windows/Users/Dorian/Musik/beets/library.db library directory: /media/windows/Users/Dorian/Musik/beets Sending event: library_opened /media/windows/Users/Dorian/Musik/beets//250th Anniversary Edition Symphonies/03-19 Les petits riens, KV 299b_ XIII. Gavotte.mp3 acoustid_id: d4dcf291-9670-4082-af0a-561933b01a0e album: 250th Anniversary Edition: Symphonies albumartist: Wolfgang Amadeus Mozart; Royal Concertgebouw Orchestra, Nikolaus Harnoncourt, Amsterdam Baroque Orchestra, Ton Koopman albumstatus: official albumtype: album art: True artist: Wolfgang Amadeus Mozart artist_sort: Mozart, Wolfgang Amadeus asin: B000AOVKH8 bitdepth: 0 bitrate: 320083 catalognum: 2564 62334-2 channels: 2 country: US date: 2006-01-10 day: 10 disc: 3 disctitle: Six German Dances, Les petits riens, Symphonies nos. 25, 26 disctotal: 8 format: MP3 genre: Classical genres: Classical label: Warner Classics length: 218.01333333333332 mb_albumartistid: b972f589-fb0e-474e-b64a-803b0364fa75 mb_albumid: eea51aa8-bead-497a-8d22-5f4a20000b44 mb_artistid: b972f589-fb0e-474e-b64a-803b0364fa75 mb_releasegroupid: 8be36646-28db-3a1a-98d8-da36880cf45f mb_trackid: 72ab640c-cd2d-4a5c-9bd9-1ac89b042eae media: CD month: 1 original_date: 2006-01-10 original_day: 10 original_month: 1 original_year: 2006 samplerate: 44100 script: Latn title: Les petits riens, KV 299b: XIII. Gavotte track: 19 tracktotal: 26 year: 2006 Sending event: cli_exit
Strangely, there is no albumartist_sort tag (even if there is an albumartist). This problem affects a few albums, but only a minority of my collection. Concerned albums are: https://musicbrainz.org/release/eea51aa8-bead-497a-8d22-5f4a20000b44 https://musicbrainz.org/release/cdb2a397-4684-4ff2-bfdd-3f8c2d95caa4 https://musicbrainz.org/release/eedbf924-14f2-4707-aeef-4e8856cb3ef0 among others. I can upload files upon request.
Setup
- OS: Arch Linux
- Python version: 3.6.1
- beets version: git-latest (updated the same day)
- Turning off plugins made problem go away (yes/no): no
My configuration (output of beet config
) is:
[dorian@stonearch Sat May 13 ~]$ -> beet config
directory: /media/windows/Users/Dorian/Musik/beets
library: /media/windows/Users/Dorian/Musik/beets/library.db
import: copy: no write: yes incremental: no
plugins: inline web duplicates info fetchart mbsync the badfiles badfiles: commands: ogg: ogginfo -q
paths: default: ‘%asciify{$albumartist_sort}/%asciify{$album}/$disc-$track %asciify{$title}’ singleton: ZZZ_Non-Album/%ifdef{composer_sort,%asciify{$composer_sort},no composer}/%asciify{$artist_sort}/%asciify{$title} web: host: 127.0.0.1 port: 8337 cors: ‘’ reverse_proxy: no include_paths: no the: the: yes a: yes format: ‘{0}, {1}’ strip: no patterns: [] fetchart: auto: yes minwidth: 0 maxwidth: 0 enforce_ratio: no cautious: no cover_names: - cover - front - art - album - folder sources: - filesystem - coverart - itunes - amazon - albumart google_key: REDACTED google_engine: 001442825323518660753:hrh5ch1gjzm fanarttv_key: REDACTED store_source: no pathfields: {} item_fields: {} album_fields: {} duplicates: album: no checksum: ‘’ copy: ‘’ count: no delete: no format: ‘’ full: no keys: [] merge: no move: ‘’ path: no tiebreak: {} strict: no tag: ‘’
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (16 by maintainers)
If you’re having trouble on the latest version, please file a new bug with complete details and instructions for how to reproduce the problem.
FWIW, it’s not possible for a MusicBrainz artist to not have a sort name, so this should never be the cause.