Commit Graph
4844 Commits
Author SHA1 Message Date
Šarūnas Nejus 6e9720af68 Replace memoryview with bytes 2026-09-01 14:58:27 +01:00
J0J0 Todos fe7ff0d595 importsource: Only register listener if configured (#6297)
## Description

If the feature is not enabled, registering a listener is not required.

Added 2 new tests that prove this is the case.
2026-09-01 11:32:52 +00:00
Šarūnas Nejus 0e14dce718 Merge branch 'master' into typing-follow-up 2026-09-01 11:07:26 +01:00
Šarūnas Nejus e4256b5232 Fix chroma original_year type 2026-09-01 10:55:55 +01:00
Šarūnas Nejus cfe1a52f41 Remove incorrect comment 2026-09-01 10:55:55 +01:00
Šarūnas Nejus 388689d911 Merge branch 'master' into master 2026-09-01 09:30:49 +01:00
Šarūnas Nejus 345e839314 Merge branch 'master' into have-convert-plugin-use-new-format-in-pathing 2026-09-01 09:08:17 +01:00
Šarūnas Nejus 95a300130b typing: relax FieldTFuncs output type 2026-08-31 11:27:12 +01:00
Šarūnas Nejus 5c3695da26 typing: various consistency fixes 2026-08-31 11:27:12 +01:00
Šarūnas Nejus 0b5a5b0350 typing: fix missing types in plugins 2026-08-31 11:27:12 +01:00
Šarūnas Nejus 11d41aee7d typing: add missing types to plugins 2026-08-31 11:27:12 +01:00
Šarūnas Nejus 6dbb4ce756 typing: fix types and refactor duplicates plugin 2026-08-31 11:19:31 +01:00
Šarūnas Nejus 8e4fa56acb typing: add types to duplicates plugin 2026-08-31 11:01:12 +01:00
Šarūnas Nejus 9611a23a87 typing: fix annotations in thumbnails 2026-08-31 10:55:33 +01:00
Šarūnas Nejus 6b4f8fa25b typing: add annotations to thumbnails 2026-08-31 10:55:33 +01:00
Šarūnas Nejus b64c693252 typing: fix annotations in mpdstats 2026-08-31 10:55:33 +01:00
Šarūnas Nejus 4f0ac15b99 typing: add annotations to mpdstats 2026-08-31 10:55:33 +01:00
Š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 0f27b2964c web: Remove typing t alias 2026-08-31 10:48:13 +01:00
Šarūnas Nejus 21ffeff202 aura: fix filtering and sorting 2026-08-29 21:15:38 +01:00
Šarūnas Nejus 526f6ec4ba typing: fix API and export plugins 2026-08-29 21:15:38 +01:00
Šarūnas Nejus ee4d6eef36 typing: add annotations to API and export plugins 2026-08-29 21:10:29 +01:00
Šarūnas Nejus 743eb3b36b bpd: fix search when any field is used 2026-08-29 17:49:13 +01:00
Šarūnas Nejus bfe5ba51c5 typing: fix annotations in bpd plugin 2026-08-29 17:49:13 +01:00
Šarūnas Nejus 1ae8778385 typing: add annotations to bpd plugin 2026-08-29 17:38:48 +01:00
Šarūnas Nejus 2971393618 Replace do_query with model-specific logic
This allows to define a proper return type for input_select_objects.
2026-08-27 06:47:39 +01:00
Šarūnas Nejus 01375c7392 typing: fix core annotations 2026-08-22 17:49:49 +01:00
Šarūnas Nejus d9e2b65758 Merge branch 'master' into fix/lrclib-null-lyrics 2026-08-22 17:41:55 +01:00
Šarūnas Nejus 914441da16 typing: fix command handlers types 2026-08-21 20:56:38 +01:00
Ognyan Moore 68bb421378 pass in extension, not suffix 2026-08-20 11:40:44 +03:00
Ognyan Moore 9d0e512a5b Use new format in determining destination.
When figuring out what the filepath should be for the converted file,
we pass along the new item `fmt` property.
2026-08-20 11:40:42 +03:00
Šarūnas Nejus a3bb963ea0 ipfs: fix play command 2026-08-20 00:51:44 +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 27900f58fb Prefer imports from modules that provide import aliases 2026-08-18 23:20:39 +01:00
Šarūnas Nejus f37306b0cc typing: remove redundant types 2026-08-18 23:20:39 +01:00
Šarūnas Nejus 4aa5aa62ac typing: fix types in beetsplug._utils.art 2026-08-18 23:20:38 +01:00
Šarūnas Nejus 6acef1d586 typing: add types to beetsplug._utils.art 2026-08-18 23:20:38 +01:00
Šarūnas Nejus 26713de0d6 typing: add types to embedart 2026-08-18 23:20:38 +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 12553051af typing: fix typing in plugins 2026-08-18 10:46:33 +01:00
Šarūnas Nejus 1969622874 typing: fix types in event handlers 2026-08-18 10:46:33 +01:00
Šarūnas Nejus 5039c8f6cf typing: add types to event handlers 2026-08-18 10:46:33 +01:00
J0J0 Todos 87633a892b lastgenre: Fix CanonTree type alias docs comment 2026-08-18 07:01:09 +02:00
J0J0 Todos c1a98e225d lastgenre: Type alias GenresWithLabel
Note that the artist stage is slightly different and GenresWithLabel does
not fit there.
2026-08-18 07:01:09 +02:00
J0J0 Todos 1059c2663d lastgenre: Rename genres to existing_genres 2026-08-18 07:01:09 +02:00
J0J0 Todos 5d651170af lastgenre: Extract original fallback stage to method 2026-08-18 07:01:09 +02:00
J0J0 Todos f202d54ea4 lastgenre: Extract complex artist stage to methods 2026-08-18 07:01:09 +02:00
J0J0 Todos d03537c0d5 lastgenre: Name vars resolved instead of result 2026-08-18 07:01:09 +02:00