Repository navigation
ftintitle: fix mid-string feat brackets, artist_sort truncation and credits lost to custom title words - #7101
Open
najchris11 wants to merge 5 commits into
Open
najchris11 wants to merge 5 commits into
najchris11 wants to merge 5 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7101 +/- ##
==========================================
+ Coverage 80.87% 80.94% +0.07%
==========================================
Files 150 150
Lines 21244 21327 +83
Branches 3245 3272 +27
==========================================
+ Hits 17181 17264 +83
- Misses 3249 3250 +1
+ Partials 814 813 -1
🚀 New features to boost your workflow:
|
najchris11
force-pushed
the
fix/ftintitle-feat-splitting
branch
from
October 29, 2026 18:47
1bda978 to
d26f0c1
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #7100. Corrects three
ftintitlecases that corrupt or lose artist credits:Bracket matching preserves artist text following a featured credit and leaves malformed brackets unsplit. Sort names lose only explicit standard featuring markers, preserving commas and generic/custom separators. Custom words in titles count as credits inside parentheses or square brackets; ordinary titles such as
Come With Meno longer swallow the featured artist.Unless
dropis enabled, a credit stays in the artist field if the title cannot carry it and has no matching credit. Existingkeep_in_artistbehavior andpreserve_album_artistsemantics are preserved. Repairing previously damaged tags is outside scope.Includes regression tests for nested, attached and malformed brackets; albumartist extraction; sort punctuation; custom words; existing title credits; and format arguments, plus plugin documentation and three changelog entries.
Evidence
18967aad9: mid-string brackets become dangling brackets,Weeknd, Theis truncated, and the Keith Sweat credit disappears from both fields.test/plugins/test_ftintitle.pyandtest/test_plugins.py: 241 passed, 79 skipped for optional dependencies, including all 222 ftintitle cases.--fail-on-warning --keep-going): pass.ab4bdfd5d; the local sandbox blocks sockets, setsNO_COLOR=1, and makes home caches read-only. This local run is not a full-suite pass.ast.FunctionDefoverload error atbeets/util/functemplate.py:102; the same error reproduces on cleanab4bdfd5d. This is not a passing type check.ab4bdfd5d. Resolved the changelog conflict by retaining upstream additions and all three ftintitle entries. Plugin implementation, tests and plugin documentation are unchanged from the original PR head1bda97875.Merge Danger
Door: Two-way for the code change. Running
beet ftintitlewrites metadata; reverting code does not restore tags already rewritten.Blast Radius: ftintitle
Behavior changes for users relying on unbracketed custom title words:
Come With Meno longer counts as an existing featured-artist credit. This is documented.I used AI assistance while writing this change. I've reviewed and understand the patch, and I'll handle the review discussion myself.