beets/beetsplug
J0J0 Todos e20cf7f20b lastgenre: Rework combine, stringify, count reduction
- Rename method from _combine_genres() to _combine_resolve_and_log() to
  make clear that it not only combines new and old genres but also
  resolves them (which in this plugin's wording means "do the magic" of
  canonicalizationm, whitelist checking and reducing to a configured
  genre count).

- Clarify in _resolve docstring that a possible outcome might be all
  genres being removed.

- Add an additional log message telling which existing genres are taken
  into account BEFORE "the magic happens".

- Rename _to_delimited_genre_string() to _format_and_stringify()

- Move count reduction logic to _resolve_genres()

- Fix and rename a test
2025-04-09 22:52:07 +02:00
..
bpd Use Item.field_query for queries that receive user input 2025-01-19 01:09:11 +00:00
lastgenre lastgenre: Rework combine, stringify, count reduction 2025-04-09 22:52:07 +02:00
metasync Reformat the codebase 2024-09-21 11:57:48 +01:00
web Reworked #4709 after latest release (#5447) 2024-09-30 10:28:15 +01:00
_typing.py Resurrect translation functionality 2025-02-20 03:47:04 +00:00
absubmit.py Reformat the codebase 2024-09-21 11:57:48 +01:00
acousticbrainz.py Reformat the codebase 2024-09-21 11:57:48 +01:00
advancedrewrite.py Merge pull request #5063 from Maxr1998/fix-advancedrewrite-simple-rules 2024-03-01 16:08:37 +10:00
albumtypes.py Reformat the codebase 2024-09-21 11:57:48 +01:00
aura.py Use Item.field_query for queries that receive user input 2025-01-19 01:09:11 +00:00
autobpm.py Move imports required for typing under the TYPE_CHECKING block 2024-12-10 06:10:04 +00:00
badfiles.py Fix lint issues 2024-09-21 11:59:18 +01:00
bareasc.py Reformat the codebase 2024-09-21 11:57:48 +01:00
beatport.py Reformat the codebase 2024-09-21 11:57:48 +01:00
bench.py Reformat the codebase 2024-09-21 11:57:48 +01:00
bpm.py Reformat the codebase 2024-09-21 11:57:48 +01:00
bpsync.py Reformat the codebase 2024-09-21 11:57:48 +01:00
bucket.py Reformat the codebase 2024-09-21 11:57:48 +01:00
chroma.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
convert.py Fix convert plugin attempting to process a non-media file (#5261) 2025-02-20 16:23:14 +00:00
deezer.py Reformat the codebase 2024-09-21 11:57:48 +01:00
discogs.py Fixes TypeError in the Discogs plugin (#5415) 2024-09-19 21:27:16 +01:00
duplicates.py Fix lint issues 2024-09-21 11:59:18 +01:00
edit.py Reformat the codebase 2024-09-21 11:57:48 +01:00
embedart.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
embyupdate.py Reformat the codebase 2024-09-21 11:57:48 +01:00
export.py Reformat the codebase 2024-09-21 11:57:48 +01:00
fetchart.py Reformat the codebase 2024-09-21 11:57:48 +01:00
filefilter.py Reformat the codebase 2024-09-21 11:57:48 +01:00
fish.py Reformat the codebase 2024-09-21 11:57:48 +01:00
freedesktop.py Reformat the codebase 2024-09-21 11:57:48 +01:00
fromfilename.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
ftintitle.py Hardcode for_artist keyword in ftintitle plugin 2024-09-30 10:24:09 -05:00
fuzzy.py Reformat the codebase 2024-09-21 11:57:48 +01:00
gmusic.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
hook.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
ihate.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
importadded.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
importfeeds.py Reformat the codebase 2024-09-21 11:57:48 +01:00
info.py Reformat the codebase 2024-09-21 11:57:48 +01:00
inline.py Reformat the codebase 2024-09-21 11:57:48 +01:00
ipfs.py Reformat the codebase 2024-09-21 11:57:48 +01:00
keyfinder.py Reformat the codebase 2024-09-21 11:57:48 +01:00
kodiupdate.py Add timeout to all requests calls 2024-05-25 12:24:53 -03:00
lastimport.py Update lastimport.py 2023-12-20 10:28:45 -05:00
limit.py Add support for filtering relations 2024-06-21 15:05:29 +01:00
listenbrainz.py fix: plugins/listenbrainz: Fix UnboundLocalError in cases where 'mbid' is not defined (#5651) 2025-03-12 07:08:53 +00:00
loadext.py Reformat the codebase 2024-09-21 11:57:48 +01:00
lyrics.py translations: use a more distinctive separator 2025-02-20 03:47:04 +00:00
mbcollection.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
mbsubmit.py mbsubmit: Add picard PromptChoice 2023-12-05 13:49:03 +02:00
mbsync.py Reformat the codebase 2024-09-21 11:57:48 +01:00
missing.py Reformat the codebase 2024-09-21 11:57:48 +01:00
mpdstats.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
mpdupdate.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
parentwork.py Reformat the codebase 2024-09-21 11:57:48 +01:00
permissions.py Apply formatting 2024-03-01 15:21:25 +10:00
play.py Reformat the codebase 2024-09-21 11:57:48 +01:00
playlist.py Update deprecated imports 2024-12-10 06:10:04 +00:00
plexupdate.py Add timeout to all requests calls 2024-05-25 12:24:53 -03:00
random.py Reformat the codebase 2024-09-21 11:57:48 +01:00
replaygain.py Move imports required for typing under the TYPE_CHECKING block 2024-12-10 06:10:04 +00:00
rewrite.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
scrub.py Reformat the codebase 2024-09-21 11:57:48 +01:00
smartplaylist.py smartplaylist: change encoding of additional field 2025-02-01 01:14:27 +01:00
sonosupdate.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
spotify.py Add timeout to all requests calls 2024-05-25 12:24:53 -03:00
subsonicplaylist.py Add timeout to all requests calls 2024-05-25 12:24:53 -03:00
subsonicupdate.py Add timeout to all requests calls 2024-05-25 12:24:53 -03:00
substitute.py Apply substitute rules in sequence 2024-10-16 16:36:36 +02:00
the.py Use PEP585 lowercase collections typing annotations 2024-12-10 06:10:03 +00:00
thumbnails.py Reformat the codebase 2024-09-21 11:57:48 +01:00
types.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
unimported.py bugfix: ignore subdirectories of ignored 2024-03-22 18:20:47 -04:00
zero.py Reformat the codebase 2024-09-21 11:57:48 +01:00