MCPcopy Index your code
hub / github.com/beetbox/beets / _missing_count

Function _missing_count

beetsplug/missing.py:60–62  ·  view source on GitHub ↗

Return number of missing items in `album`.

(album)

Source from the content-addressed store, hash-verified

58
59
60def _missing_count(album):
61 """Return number of missing items in `album`."""
62 return (album.albumtotal or 0) - len(album.items())
63
64
65def _item(track_info, album_info, album_id):

Callers 1

_missing_tracksMethod · 0.85

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected