4482 Commits
Author SHA1 Message Date
snejus e2710a76ce Increment version to 2.14.0 2026-09-07 20:23:30 +00:00
Šarūnas Nejus eecd7f003c Deprecate limit plugin 2026-09-07 20:34:48 +01:00
Šarūnas Nejus f09a6f9e29 list: support sorting by flexible attributes with limit 2026-09-07 20:34:34 +01:00
Šarūnas Nejus 02b5186998 list: add -l flag, support LIMIT clause 2026-09-07 20:34:34 +01:00
slmingolandClaude Sonnet 4.6 36673f8194 docs: fix broken links and expand linkcheck_ignore
- CONTRIBUTING.rst: update test_query.py path to test/dbcore/test_query.py
- docs/conf.py: ignore sonos.com, stackoverflow.com, superuser.com,
  support.discogs.com (all block crawlers with 403), forge.kanis.fr
  (SSL cert mismatch), and id3.org (intermittent 500 errors)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BbXC9acP8vTyQr59J5UbCV
2026-09-07 09:11:56 -04:00
Maxr1998 016f8df4a1 playcount: add changelog for earlier fixes 2026-09-07 08:20:07 +01:00
Sebastian Cao ebff401f35 merge upstream master into deezer-compilation-detection-4057 2026-09-06 14:04:15 +08:00
Barrett Clark 7860e6b854 Merge branch 'master' into import-rescan-directory 2026-09-05 08:56:09 -05:00
Sebastian Cao 59736ebfac fix(deezer): detect compilations credited to a single main artist 2026-09-05 16:49:19 +08:00
Šarūnas Nejus 71f616c0c7 Merge branch 'master' into tarfile-bugfix 2026-09-05 02:03:04 +01:00
Šarūnas Nejus 5002bb8624 Merge branch 'master' into fix/tidal-search-api 2026-09-05 00:15:32 +01:00
Šarūnas Nejus b9fbc51b62 Merge branch 'master' into fix-scrub-nowrite 2026-09-05 00:05:38 +01:00
Trey Turner 31b0a226f8 fix(tidal): adapt to current search API
Fixes #6989
2026-09-04 19:53:59 +00:00
dajiaohuang fd93aa8648 docs: wrap changelog lines for formatter 2026-09-04 14:39:58 +08:00
Barrett ClarkandClaude Sonnet 5 8f86ec1f1c Add "Rescan directory" import prompt choice
When beets can't confidently match an album, the interactive import
prompt now offers a "Rescan directory" option alongside Skip/Use
as-is/etc. It re-reads the task's directories from disk and re-runs
the match, so files can be cleaned up (duplicates, junk) mid-import
without restarting the whole beet import run.

- New Action.RESCAN enum member (actions.py) and set_choice wiring
  (tasks.py).
- New "r" PromptChoice, shown for album tasks with a toppath, added
  to both the "no candidates" and "pick a candidate" prompt variants
  since they share the same choice list (session.py).
- New rescan_tasks() generator and a RESCAN branch in the user_query
  pipeline stage that re-extends the pipeline with freshly-discovered
  tasks, mirroring the existing TRACKS/ALBUMS branches (stages.py).
  Discovery is delegated to ImportTaskFactory.paths(), the same logic
  the initial scan uses; rescan_tasks only scopes the walk and keeps
  the original toppath on the emitted tasks (for move pruning and
  resume bookkeeping).
- Handles nested multi-disc albums, flattened sibling discs, the
  "Group albums" choice (withheld -- no directory scope to rescan),
  and a plugin forcing Action.RESCAN onto a task with no valid rescan
  scope (singleton, toppath-less, or grouped).
- Tests, auto-tagger guide entry, changelog entry.

Comments and docstrings are kept deliberately brief per review
feedback; see the PR description for the fuller design rationale and
the known limitations (sibling-disc/loose-parent edge cases).

Fixes #166

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019mndYhbgqCtkRY3wppFoQb
2026-09-03 18:33:43 -05:00
Sebastian Mohr ad2665c595 Update docs and changelog
Rewrite the plugin documentation in the current style with dedicated
sections on authentication, usage, and configuration, and mark the
manual `token` option as deprecated. Add a changelog entry for the
new `beet plexupdate --auth` command.
2026-09-03 16:37:00 +02:00
shuwen.wu 37d5e05ecf docs: add changelog entry for scrub --nowrite fix
Add changelog entry per reviewer feedback (snejus).
2026-09-03 11:49:12 +08:00
Sebastian Mohr deedd5c608 Pass track duration as length for matching
TrackInfo expects the converted ISO 8601 duration in its length
field. The plugin passed it as duration instead, which TrackInfo
silently stores as a flexible attribute while length stays None, so
Tidal candidates were matched without any track-length distance.

Pass the duration as length and update the parsing tests to assert
info.length instead of the incorrect info.duration flex field.
2026-09-02 21:57:24 +02:00
Alok Saboo e1f3ad5d85 lint 2026-09-02 10:57:44 -04:00
Alok Saboo df8236e354 edit: allow item-only fields to remain in per-track documents during interactive import 2026-09-02 10:57:44 -04:00
Šarūnas Nejus 3e90e2168e Merge branch 'master' into docs/fix-dead-links 2026-09-01 10:50:09 +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 11d41aee7d typing: add missing types to plugins 2026-08-31 11:27:12 +01:00
Šarūnas Nejus 21ffeff202 aura: fix filtering and sorting 2026-08-29 21:15:38 +01:00
Šarūnas Nejus 743eb3b36b bpd: fix search when any field is used 2026-08-29 17:49:13 +01:00
Shurong Cao 9d15446c3d docs: fix two dead external links
- Update the librosa beat_track API reference path.

- Update the Apple Core Audio developer documentation link.
2026-08-28 03:51:05 +08:00
Šarūnas Nejus 03877cc20b move: fix moving albums in timid mode 2026-08-27 06:47:40 +01:00
Šarūnas Nejus e5846915d4 modify: fix selecting objects 2026-08-27 06:47:39 +01:00
Šarūnas Nejus d9e2b65758 Merge branch 'master' into fix/lrclib-null-lyrics 2026-08-22 17:41:55 +01:00
Ognyan Moore 9aa05a0980 Move changelog message to unreleased section. 2026-08-20 11:41:20 +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 0c05551251 Update events docs 2026-08-18 10:46:33 +01:00
Šarūnas Nejus cf385e7614 Merge branch 'master' into fix/skip-empty-metadata-search 2026-08-17 09:35:05 +01:00
Šarūnas Nejus 9b16f67af1 Remove bluelet in favor of using asyncio in bpd plugin 2026-08-17 05:05:21 +01:00
David Howard cd50a42c04 lyrics: don't match LRCLib entries that have no lyrics
LRCLib stores track metadata independently of the lyrics themselves, so an
entry can come back with both `plainLyrics` and `syncedLyrics` null while
`instrumental` is False. `LRCLyrics.is_valid` accepted such an entry as a
match on duration alone, and `get_text` then returned `self.plain`, i.e.
None, despite being annotated `-> str`.

The None propagated into `Lyrics`, and the first access of its text raised

    AttributeError: 'NoneType' object has no attribute 'splitlines'

`beet lyrics` surfaced this per track, but during an import the exception
escaped the pipeline stage and aborted the entire run: one such track
stranded every file queued behind it.

Treat an entry with no lyrics text as not a match, so the search moves on to
other candidates and backends and ultimately reports that no lyrics were
found. That is deliberately distinct from an instrumental track, where "no
lyrics" is itself the answer and the existing `instrumental` handling still
applies. Marking these as instrumental would assert something the API
response does not tell us.

Also fall back to synced lyrics when only `plainLyrics` is null, rather than
discarding lyrics we do have, and correct the annotations: `plainLyrics` and
`LRCLyrics.plain` are both nullable.
2026-08-15 17:49:54 -07:00
Sanjay Santhanam 127a2d8914 docs: keep changelog entry under unreleased 2026-08-15 16:59:28 -07:00
Henry b7993d19ac fix(discogs): retry malformed search responses #6912 2026-08-15 09:53:26 -07:00
Cohen Karnell d97d78f830 Fix KeyError in Deezer track conversion when artist is missing
_get_track resolved the artist with track_data.get('contributors', [track_data['artist']]),
whose default is evaluated eagerly, so track_data['artist'] raises KeyError whenever the
artist key is absent, even when contributors is present. Guard the fallback the same way
album_for_id already does. Fixes #4339.
2026-08-14 12:02:07 -04:00
Sebastian Mohr 54b5d41acd Merge branch 'master' into fix/skip-empty-metadata-search 2026-08-12 12:28:20 +02:00
Trey Turner afd07ce5d3 fix(discogs): retry malformed search responses 2026-08-11 16:04:08 -05:00
Alok Saboo abacc3aad0 Merge branch 'master' into upgrade2 2026-08-11 08:19:15 -04:00
NoDancing f6b7e1f761 tidal: Normalize copyright text into a concise label name
_parse_label() used to store Tidal's raw copyright info as the label
name. Add _normalize_label(), a helper that strips leading markers,
years, legal entities, and boilerplate clauses.

Fixes #6796
2026-08-11 00:39:31 +01:00
Sanjay Santhanam 4596bd21d2 docs: reformat changelog entry with docstrfmt 2026-08-06 10:06:50 -07:00
Sanjay Santhanam 0ab54bd44e Simplify empty-search comment and shorten changelog entry 2026-08-06 10:04:57 -07:00
Sanjay Santhanam 6fff0532d6 docs: scope changelog entry to SearchApiMetadataSourcePlugin plugins 2026-08-06 10:04:57 -07:00
Sanjay Santhanam 58bd7ede4c fix: skip metadata source search when query and filters are empty
Items with no artist or title tags produce a search with an empty query
and no filters. The request was still sent to the metadata source API,
and MusicBrainz answers it with a 400 Bad Request, which was logged with
a traceback once per affected file during an import.

Return no candidates instead of issuing a request that cannot match
anything.
2026-08-06 10:04:57 -07:00
Alok Saboo 1ddc95f7a6 address copilot comments 2026-08-05 09:05:51 -04:00
Alok Saboo cbe300f7ef Merge branch 'master' into upgrade2 2026-08-05 08:57:42 -04:00
Alok Saboo c19b6b42d8 add interactive upgrade option 2026-08-05 08:47:26 -04:00