Commit Graph
4210 Commits
Author SHA1 Message Date
Henry 327d237d9e Merge branch 'master' into titlecase 2025-11-22 00:38:51 -08:00
Henry 83c16cbb5d Rewrite tests, add cached_property decorators, add seperator feature 2025-11-22 00:16:33 -08:00
asardaes 9c37f94171 Add album template value in ftintitle plugin 2025-11-21 18:31:59 +01:00
Ognyan Moore aa2dc9005f Catch ValueError when setting gst required version
pytest.importskip is used to catch the case when beetsplug.bpd cannot be
imported. On macOS, the gi module was able to be imported, but when
trying to specify `gi.require_version`, a ValueError is raised about
Gst being unavailable. pytest does not catch this ValueError during
importskip as it is not an ImportError, and thus the test suite errors
during the test collection phase.

With this change, we catch the ValueError, and re-raise it as an
ImportError and pytest gracefully skips those tests.
2025-11-19 14:43:30 +03:00
Henry df1ef40790 only apply & log change if there's a difference 2025-11-16 21:03:25 -08:00
Henry dcac9bac02 Add word boundary support, fix The artist behavior 2025-11-16 17:57:59 -08:00
Henry 30919010b9 fix type issues 2025-11-15 16:17:29 -08:00
Henry b3e6aef02f merge with master 2025-11-15 16:12:24 -08:00
Henry c8876dde8e fix The artist behavior with artists with 'the' string in the name 2025-11-15 16:08:48 -08:00
Théophile Bastian 189fedb008 Web plugin: add type hint for g.lib 2025-11-15 21:02:43 +01:00
Théophile Bastian 666c412b0e plugins/web: fix endpoints /…/values/…
Following #4709 and #5447, the web plugin used single-quotes (ie. string
litteral) in the SQL query for table columns. Thus, for instance, the query
`GET /item/values/albumartist` would return the litteral "albumartist"
instead of a list of unique album artists.
2025-11-15 21:02:38 +01:00
Henry a6bda748ce Added support for pre-tag selection stage 2025-11-14 19:08:14 -08:00
Aidan EpsteinandŠarūnas Nejus d7636fb0c3 Apply suggestions from code review
Co-authored-by: Šarūnas Nejus <snejus@protonmail.com>
2025-11-11 13:18:51 -08:00
Aidan EpsteinandŠarūnas Nejus 9e7d5debdc Allow selecting either tags or genres in the includes, defaulting to genres
Genres is a filtered list based on what musicbrainz considers a genre,
tags are all the user-submitted tags. [1]

1. https://musicbrainz.org/doc/MusicBrainz_API#:~:text=Since%20genres%20are,!).

Also apply suggestions from code review

Co-authored-by: Šarūnas Nejus <snejus@protonmail.com>
2025-11-11 20:01:37 +00:00
Henry Oberholtzer c89d0c1637 add replace 2025-11-09 17:06:23 -08:00
Henry Oberholtzer 5628232bc4 add the_artist 2025-11-08 17:33:54 -08:00
Šarūnas Nejus d486885af3 pyupgrade Python 3.10 2025-11-08 12:09:52 +00:00
Ratiq Narwal e9afe069bc Accept lyrics source as a string 2025-11-06 17:19:27 -08:00
Sebastian Mohr 25ae330044 refactor: moved some more imports that are only used in the commands
in their respective files. Also fixed some imports
2025-11-03 14:03:25 +01: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
asardaes ac0b221802 Revert "Use pseudo-release's track titles for its recordings"
This reverts commit f3ddda3a422ffbe06722215abeec63436f1a1a43.
2025-11-01 13:51:34 +01:00
asardaes 017930dd99 Use pseudo-release's track titles for its recordings 2025-11-01 13:51:34 +01: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
Alok Saboo e6c70f06c1 lint 2025-10-30 10:20:53 -04:00
Alok Saboo 0d11e19ecf Spotify: gracefully handle 403 from deprecated audio-features API
Add a dedicated AudioFeaturesUnavailableError and track audio-features
availability with an audio_features_available flag. If the audio-features
endpoint returns HTTP 403, raise the new error, log a warning once, and
disable further audio-features requests for the session. The plugin now
skips attempting audio-features lookups when disabled (avoiding repeated
failed calls and potential rate-limit issues).

Also update changelog to document the behavior.
2025-10-30 10:13:54 -04:00
Doron Behar e181ebeaae importsource: Add new plugin (+docs/tests/changlog) 2025-10-29 08:50:01 +01:00
Henry f6ac3db67b add to index.rest, fix links, reformat, lint 2025-10-27 21:18:49 -07:00
Šarūnas Nejus ec141dbfd6 Explicitly wrap partial with staticmethod for Py3.14 2025-10-27 08:23:37 +00:00
Henry 2bb072fde1 fixes 2025-10-26 20:20:35 -07:00
Henry 2f88ca0101 pretty much set to go 2025-10-26 16:34:18 -07:00
Henry 77f2f9eecb Merge branch 'master' into titlecase 2025-10-25 19:46:40 -07:00
Henry f3551d61b1 reworking defaults 2025-10-24 17:27:09 -07:00
Henry a1844b1caa lint and format 2025-10-23 18:27:29 -07:00
Henry 72008eea7c merge with master 2025-10-23 18:25:58 -07:00
Henry 5bce774c33 initial docs draft, add to before choice import stage 2025-10-23 18:23:54 -07:00
J0J0 Todos a8204f8cde lastgenre: -vvv tuning log helper, remove -d
Replace extended_debug config and CLI option with -vvv and add a helper
function.
2025-10-23 19:02:03 +02:00
Henry 109a097734 titlecase plugin nearly complete, one typecheck error to resolve. 2025-10-21 21:43:21 -07:00
Ember Light 00e3da1a92 Merge branch 'master' into ftintitle-continue-even-if-albumartist-and-artist-is-the-same 2025-10-20 15:24:43 +02:00