beets/beets
henry 0bf248d355
Add custom feat words for ftintitle (#6090)
## Description

For non English tracks (Swedish in my case) feat. words might be
something that ftintitle doesn't pick up.
Eg. for the song `Promoe med Afasi - Inflation`
[https://musicbrainz.org/recording/8e236347-61d6-4e11-9980-52f4cc6b905f](https://musicbrainz.org/recording/8e236347-61d6-4e11-9980-52f4cc6b905f)
the word `med` is `feat.` in Swedish.
With this PR you can add what ever word you wish to match as feat. so it
should cover any kind of language.

The config.yaml could look like this:
ftintitle:
  custom_feat_words: ["med"]

## To Do

<!--
- If you believe one of below checkpoints is not required for the change
you
are submitting, cross it out and check the box nonetheless to let us
know.
  For example: - [x] ~Changelog~
- Regarding the changelog, often it makes sense to add your entry only
once
reviewing is finished. That way you might prevent conflicts from other
PR's in
that file, as well as keep the chance high your description fits with
the
  latest revision of your feature/fix.
- Regarding documentation, bugfixes often don't require additions to the
docs.
- Please remove the descriptive sentences in braces from the enumeration
below,
  which helps to unclutter your PR description.
-->

- [x] Documentation. (If you've added a new command-line flag, for
example, find the appropriate page under `docs/` to describe it.)
- [x] Changelog. (Add an entry to `docs/changelog.rst` to the bottom of
one of the lists near the top of the document.)
- [x] Tests. (Very much encouraged but not strictly required.)
2025-10-14 20:38:02 -07:00
..
autotag Only penalize multi data sources on first import 2025-10-10 20:36:33 +01:00
dbcore feat: mark SQLite custom functions as deterministic to allow caching 2025-09-19 21:11:51 +01:00
importer remove releasegroup_id 2025-10-08 09:59:07 -04:00
library Delegate attribute access to logging 2025-08-30 23:10:21 +01:00
test Reset cached_classproperty cache for every test 2025-10-10 20:36:33 +01:00
ui fix spacing for "finding tags for" prompt 2025-10-03 14:48:56 -06:00
util Fix data source penalty application logic 2025-10-10 20:36:33 +01:00
__init__.py Increment version to 2.5.1 2025-10-14 22:51:15 +00:00
__main__.py Reformat the codebase 2024-09-21 11:57:48 +01:00
config_default.yaml Make naming consistent with the field name 2025-10-10 20:36:33 +01:00
logging.py Removed typealias, worked locally with mypy but does seem to cause 2025-09-30 13:39:49 +02:00
mediafile.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
metadata_plugins.py Add deprecation warning for <plugin>.source_weight 2025-10-10 20:36:33 +01:00
plugins.py Add custom feat words for ftintitle (#6090) 2025-10-14 20:38:02 -07:00
py.typed Add py.typed marker file to support PEP 561 typing (#5906) 2025-08-09 13:31:55 +02:00
random.py Make a random change for testing 2024-05-07 16:28:28 +01:00