beets/test
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 Added test additions 2025-10-14 19:55:50 +02:00
plugins Add custom feat words for ftintitle (#6090) 2025-10-14 20:38:02 -07:00
rsrc Replace flowery language (#6002) 2025-09-15 09:02:22 +00:00
util Move human formatting functions under beets.util.units 2025-07-06 16:09:50 +01:00
__init__.py Remove unused imports 2021-08-26 20:59:48 +10:00
conftest.py Improve visibility of Distance tests failures 2025-10-10 20:36:33 +01:00
test_art_resize.py Replace string concatenation (' + ') 2025-08-30 23:10:15 +01:00
test_autotag.py Move distance to a separate module 2025-05-31 19:17:43 +01:00
test_config_command.py Update CI config, minimum ruff version, docs and add changelog note 2024-12-10 06:10:03 +00:00
test_datequery.py Replace string concatenation (' + ') 2025-08-30 23:10:15 +01:00
test_dbcore.py style: remove extraneous pass statements 2025-09-19 21:11:51 +01:00
test_files.py Replace assertIsDir 2025-07-09 09:21:50 +01:00
test_hidden.py Fix duplicate database change event send on Library.add (#5561) 2025-05-30 13:41:29 +00:00
test_importer.py importer: provides search_ids into lookup_candidates explicitly 2025-07-16 14:06:33 +01:00
test_library.py Replace percent formatting 2025-08-30 22:35:00 +01:00
test_logging.py Removed typealias, worked locally with mypy but does seem to cause 2025-09-30 13:39:49 +02:00
test_m3ufile.py Reformat the codebase 2024-09-21 11:57:48 +01:00
test_metasync.py Reformat the codebase 2024-09-21 11:57:48 +01:00
test_pipeline.py pipeline: remove old tests, integrate with out test suite 2025-05-06 14:51:20 +02:00
test_plugins.py Fixed issue with legacy plugin copy not copying properties. Also 2025-10-14 19:55:50 +02:00
test_query.py Refactor test_query 2025-07-06 16:15:30 +01:00
test_release.py Update release conversion logic accordingly 2025-08-10 16:25:05 +01:00
test_sort.py Use unittest.TestCase for tests that don't require the dir setup 2025-05-26 12:40:38 +01:00
test_template.py Fix formatting 2025-05-07 10:41:01 +01:00
test_types.py Add NullPathType and types to PathType 2025-07-06 16:09:49 +01:00
test_ui.py Replace string concatenation (' + ') 2025-08-30 23:10:15 +01:00
test_ui_commands.py Rip away io stuff from TestHelper to IOMixin 2025-07-09 09:17:13 +01:00
test_ui_importer.py Fix lint issues 2024-09-21 11:59:18 +01:00
test_ui_init.py Speed up tests that only need IOMixin 2025-07-09 09:17:13 +01:00
test_util.py Simplify and speed up plurality/album tags retrieval tests 2025-05-31 19:17:42 +01:00
testall.py Remove def suite TestLoader definitions 2024-07-28 18:58:51 +01:00