Skip to content

Music collection

Single read-only source of truth for your music collection.

A folder structure with a folder per album, containing only FLAC files.

Each folder is validated separately, all files should have consistent metadata and the exact same album related metadata.

Metadata is composed of Vorbis comments extracted using metaflac.

INFO

Sadly, the standard is very loose, so we have to define our own rules for required tags and formats.

Tag NameRequiredFormatUniqueMultiple Allowed
TITLEYesStringNoNo
ARTISTYesStringNoYes
ALBUMYesStringYesNo
TRACKNUMBERYesInteger (1-based)NoNo
TOTALTRACKSYesInteger (1-based)NoNo
DISCNUMBERYesInteger (1-based)NoNo
TOTALDISCSYesInteger (1-based)NoNo

Additionally, the cover of the album must be present as a file in the folder, named either cover.png, cover.avif, cover.jpg or cover.jpeg, taken by this order of preference.

These will be converted to lossy AVIF images of various sizes, so the ideal would be to use a lossless PNG or AVIF image as source.