Commit Graph
30 Commits
Author SHA1 Message Date
Šarūnas Nejus 11d41aee7d typing: add missing types to plugins 2026-08-31 11:27:12 +01:00
Šarūnas Nejus 5039c8f6cf typing: add types to event handlers 2026-08-18 10:46:33 +01:00
Šarūnas Nejus 97904e7e16 Refactor autotag to use Source abstraction
Introduce Source class to encapsulate metadata extraction logic,
replacing scattered `get_most_common_tags` calls throughout codebase.

- Add Source class in importer.tasks with artist, name, and metadata
- Simplify `distance()` to accept Source.data instead of items list
- Update display functions to use Source objects
- Cache Source creation with @cached_property on ImportTask

This centralizes metadata handling and reduces coupling between
autotag and library modules.
2026-08-05 02:06:48 +01:00
Sebastian Mohr 54a2bd20e1 Removed This file is part of beets... headers. 2026-06-29 11:20:15 +02:00
Šarūnas Nejus d53ee774a9 Enable and fix flake8-return 2026-06-09 00:14:06 +01:00
Šarūnas Nejus 29580d2f00 Import everything from parent beets.autotag 2026-06-02 08:57:35 +01:00
Sebastian Mohr adfb73b66d Run ruff format 2026-05-20 16:53:06 +02:00
Martin Caspersen 0ff0fc8110 Merge branch 'beetbox:master' into fix/mbpseudo-raw-data 2026-04-15 01:05:13 +02:00
Šarūnas Nejus 558b6710c1 Fix typing issues 2026-04-12 16:21:30 +01:00
Šarūnas Nejus cedf81eb22 Type musicbrainz fully 2026-04-12 16:21:30 +01:00
Šarūnas Nejus 9394f1b223 Normalize dashes to underscores in musicbrainz data fields 2026-04-12 16:21:30 +01:00
Martin Caspersen ee1d6438ac fix(mbpseudo): update match mapping instead of storing on AlbumInfo 2026-04-09 07:35:16 +02:00
Martin Caspersen fa0fe4f1bb fix(mbpseudo): override raw_data to avoid TypeError on apply 2026-04-09 06:41:12 +02:00
Šarūnas Nejus b8def07121 autotag: use explicit imports 2026-03-28 12:26:27 +00:00
Šarūnas Nejus b964d8b7eb Configure future-annotations 2026-01-13 20:55:40 +00:00
Šarūnas Nejus 523fa6ceaf Move MusicBrainzAPI to a shared util 2026-01-06 00:26:41 +00:00
Šarūnas Nejus ea157832fe hooks: make AlbumMatch.mapping a tuple 2025-12-24 11:01:26 +00:00
Šarūnas Nejus 10ebd98ca5 musicbrainz: remove error handling 2025-12-20 01:35:52 +00:00
Šarūnas Nejus 2a63e13617 musicbrainz: lookup release directly 2025-12-20 01:35:51 +00:00
Šarūnas Nejus d486885af3 pyupgrade Python 3.10 2025-11-08 12:09:52 +00:00
asardaes c087851770 Prefer alias if import languages not defined 2025-11-01 13:52:14 +01:00
asardaes 040b2dd940 Add custom_tags_only mode for mbpseudo plugin 2025-11-01 13:52:14 +01:00
asardaes cb758988ed Fix data source penalty for mbpseudo 2025-11-01 13:52:14 +01:00
asardaes 160297b086 Add tests for mbpseudo plugin 2025-11-01 13:51:34 +01:00
asardaes 229651dcad Update mbpseudo implementation for beets 2.5 2025-11-01 13:51:34 +01:00
asardaes a42cabb477 Don't use Optional 2025-11-01 13:51:34 +01:00
asardaes ab5705f444 Reimplement mbpseudo plugin inheriting from MusicBrainzPlugin 2025-11-01 13:51:34 +01:00
asardaes 79f691832c Use Optional 2025-11-01 13:51:34 +01:00
asardaes 0d90649029 Fix linting issues 2025-11-01 13:51:34 +01:00
asardaes f3934dc58b Add mbpseudo plugin 2025-11-01 13:51:34 +01:00