File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ def _parse_search_terms_with_fallbacks(
244244 return the fallback terms.
245245 """
246246 if all (term for term , _ in pairs ):
247- return tuple (term or default for term , default in pairs )
247+ return tuple (term for term , _ in pairs ) # type: ignore[misc]
248248 else :
249249 return tuple (default for _ , default in pairs )
250250
@@ -253,7 +253,7 @@ def tag_album(
253253 items ,
254254 search_artist : str | None = None ,
255255 search_album : str | None = None ,
256- search_ids : list [str ] = [] ,
256+ search_ids : list [str ] | None = None ,
257257) -> tuple [str , str , Proposal ]:
258258 """Return a tuple of the current artist name, the current album
259259 name, and a `Proposal` containing `AlbumMatch` candidates.
Original file line number Diff line number Diff line change @@ -21,9 +21,11 @@ For packagers:
2121
2222Other changes:
2323
24- - Standardized ``search_* `` parameter handling in autotag matchers. Manual album and
25- singleton searches now behave consistently: when the prompt does not specify a
26- search query, the system defaults to using the corresponding metadata value.
24+ - Standardized ``search_* `` parameter handling in autotag matchers. Manual album
25+ and singleton searches now behave consistently: when a user does not specify a
26+ search query in the prompt, the system defaults to using the corresponding
27+ value from the metadata. This was already the case for albums but not for
28+ singletons.
2729
28302.5.1 (October 14, 2025)
2931------------------------
You can’t perform that action at this time.
0 commit comments