Expand description
Statistics on the catalog.
Everything is computed on demand from the in-memory catalog: no aggregate value is stored, so none can drift out of sync.
Structs§
- Bucket
- Named breakdown entry:
(label, count, size in bytes). - Stats
- Snapshot of what the catalog contains, recomputed on each call.
Enums§
- Quality
Tier - Quality class, as a listener perceives it.
Functions§
- compute
- Runs through the whole catalog and produces the counts, breakdowns and completeness ratios.
- quality_
tier - Ranks a file from what its audio properties actually establish.
- top_
artists - The most present artists, by number of distinct tracks they are audible on.
- top_
genres - The most represented genres, by number of tracks.
- top_
labels - The most present labels, by number of releases.
- top_
writers - The most credited writers and producers, by number of distinct tracks.