MCPcopy
hub / github.com/beetbox/beets / candidates

Method candidates

beets/metadata_plugins.py:442–446  ·  view source on GitHub ↗
(
        self, items: Sequence[Item], artist: str, album: str, va_likely: bool
    )

Source from the content-addressed store, hash-verified

440 )
441
442 def candidates(
443 self, items: Sequence[Item], artist: str, album: str, va_likely: bool
444 ) -> Iterable[AlbumInfo]:
445 results = self._get_candidates("album", items, artist, album, va_likely)
446 return filter(None, self.albums_for_ids(r["id"] for r in results))
447
448 def item_candidates(
449 self, item: Item, artist: str, title: str

Callers

nothing calls this directly

Calls 2

_get_candidatesMethod · 0.95
albums_for_idsMethod · 0.45

Tested by

no test coverage detected