Commit Graph
264 Commits
Author SHA1 Message Date
Šarūnas Nejus 4e1fdf0bf3 typing: fix annotations in metadata source plugins 2026-08-31 10:48:16 +01:00
Šarūnas Nejus 21e045795d typing: add annotations to metadata source plugins 2026-08-31 10:48:16 +01:00
Šarūnas Nejus 914441da16 typing: fix command handlers types 2026-08-21 20:56:38 +01:00
Šarūnas Nejus 6241139600 typing: define explicit optparse.Values for each command 2026-08-19 23:57:05 +01:00
Šarūnas Nejus 14eabc6060 typing: add types to command handlers 2026-08-19 23:57:01 +01:00
Šarūnas Nejus f37306b0cc typing: remove redundant types 2026-08-18 23:20:39 +01:00
Šarūnas Nejus 9adcb601f8 typing: make dbcore.db.Results a Sequence
Now we are able to type Results simply as a Sequence. This way, we can
also now use a more generic representation `Sequence[LibModel]` to refer
to *any* of the two models.
2026-08-18 23:20:38 +01:00
Šarūnas Nejus 5dcc35112d Fix yoda typedefs 2026-07-27 19:33:53 +01:00
Alok Saboo 66fa44d0fb ruff check 2026-07-24 10:22:36 -04:00
Alok Saboo 5bdb70f34f improve 503 error handling 2026-07-24 10:07:21 -04:00
Alok Saboo 801fe8f6d9 improve 503 error handling 2026-07-24 09:56:24 -04:00
Alok Saboo cc2f665884 improve 503 error handling 2026-07-24 09:46:38 -04:00
Sebastian Mohr 54a2bd20e1 Removed This file is part of beets... headers. 2026-06-29 11:20:15 +02:00
Sebastian Mohr a9f715a19a Seems like the spotify query format does not accept double quotes (") for
escaping but needs single quotes (').
2026-06-20 13:21:35 +02:00
Šarūnas Nejus d53ee774a9 Enable and fix flake8-return 2026-06-09 00:14:06 +01:00
Šarūnas Nejus 5be035f49d Enable and fix flake8-pie 2026-06-09 00:14:06 +01:00
mksib 9488327476 Fix KeyError when Spotify album response lacks 'label' field 2026-06-06 03:51:04 +01:00
Šarūnas Nejus 29580d2f00 Import everything from parent beets.autotag 2026-06-02 08:57:35 +01:00
Alok Saboo f8a834fb7a add typehints 2026-06-01 10:46:57 +02:00
Alok Saboo 4b554e9697 Batch SQLite commits and follow write-before-store pattern 2026-06-01 10:46:57 +02:00
Sebastian Mohr adfb73b66d Run ruff format 2026-05-20 16:53:06 +02:00
Šarūnas Nejus 30ab81eb5b Extract UserError from beets.ui to a new beets.exceptions module.
Update all references in core, plugins, and tests to import UserError
from the new location. This centralizes exception handling and improves
code organization.
2026-05-16 11:18:51 +01:00
Alok Saboo e84ce4198a Revert unrelated docstring reformatting 2026-04-29 08:33:31 -04:00
Alok Saboo 2c7274fff1 Address reviewer comments and update related tests 2026-04-19 09:08:55 -04:00
Alok Saboo ea72d3f117 more lint 2026-04-18 21:28:42 -04:00
Alok Saboo b8e029669c simplify 2026-04-18 21:24:37 -04:00
Alok Saboo 99b81c550f lint 2026-04-18 21:16:39 -04:00
Alok Saboo 826aaeb4b3 Address reviewer comments 2026-04-18 21:07:48 -04:00
Alok Saboo 75cfa0d751 Address reviewer coments 2026-03-31 19:49:04 -04:00
Alok Saboo 913149ef8f Fix Spotify batch helper typing for mypy 2026-03-31 19:45:29 -04:00
Alok Saboo 2d6711e404 lint 2026-03-31 19:41:51 -04:00
Alok Saboo d4d265e7e0 batch spotify requests 2026-03-31 19:33:56 -04:00
Šarūnas Nejus 46aa0a4ba5 Make get_search_query_with_filters abstract 2026-03-08 09:06:00 +00:00
Šarūnas Nejus 0670611d7a Document new methods 2026-03-08 09:00:14 +00:00
Šarūnas Nejus 9855d46901 Bound Spotify auth retry during search
Replace recursive 401 handling with a single retry loop.

This prevents unbounded recursion when authentication keeps failing.
2026-03-08 09:00:14 +00:00
Šarūnas Nejus 27bb34411c Refactor shared search API flow
Move search orchestration into SearchApiMetadataSourcePlugin.

Migrate Deezer, Spotify, and Discogs to provider hooks.

Keep query handling, logging, and limits centralized.
2026-03-08 09:00:14 +00:00
Šarūnas Nejus 1c20e4bd4e Address RUF012 2026-01-13 20:55:40 +00:00
Šarūnas Nejus 078ffc1c57 Configure ruff for py310 2026-01-13 20:55:40 +00:00
Šarūnas Nejus b964d8b7eb Configure future-annotations 2026-01-13 20:55:40 +00:00
Alok Saboo cff631f9c9 updated credentials 2026-01-11 09:20:03 -05:00
Alok Saboo dd3ecec579 Updated Spotify API credentials 2026-01-07 18:54:39 -05:00
Arden Rasmussen a7170fae45 expand tests to include check for track artists 2025-12-18 16:23:58 -08:00
Arden Rasmussen 01e0aeb662 address linter and ai comments from pr 2025-12-17 12:20:05 -08:00
Arden Rasmussen 963a9692cc added tests for multi-artist spotify and lastgenre changes 2025-12-17 11:54:12 -08:00
Arden Rasmussen 62256adf4e support multiple artists for spotify and improve multiartist support for lastgenre 2025-12-17 10:52:50 -08:00
Šarūnas Nejus d486885af3 pyupgrade Python 3.10 2025-11-08 12:09:52 +00:00
Alok Saboo 7724c661a4 hopefully...this works 2025-10-30 10:49:51 -04:00
Alok Saboo 447511b4c8 ruff formating 2025-10-30 10:47:07 -04:00
Alok Saboo 8305821488 more lint 2025-10-30 10:34:30 -04:00
Alok Saboo 4302ca97eb resolve sorucery issue....make it thread safe 2025-10-30 10:29:07 -04:00