Skip to content

nightly-131768b7-ls258

Pre-release
Pre-release

Choose a tag to compare

@LinuxServer-CI LinuxServer-CI released this 03 Apr 22:27
· 99 commits to nightly since this release
bd55590

CI Report:

https://ci-tests.linuxserver.io/linuxserver/beets/nightly-131768b7-ls258/index.html

LinuxServer Changes:

No changes

Remote Changes:

Fix albumartists_sort prepending joined artist credit (#6470) (#6491)

Fixes #6470

Since beets 2.8.0, albumartists_sort incorrectly includes the full
combined artist credit as the first element of the list. For example,
for a release with artists "Hans Zimmer" and "John Powell", the field
returns ["Zimmer, Hans and Powell, John", "Zimmer, Hans", "Powell,
John"] instead of ["Zimmer, Hans", "Powell, John"].

The issue was in ensure_first_value in hooks.py. The set intersection
returned an empty set for comma separated sort names, so the early
return never triggered and the joined name got prepended. For the fix a
substring check was added to correctly detect when the single value is a
joined version of the list values.