{{with .Metadata}}
{{.Artist}} — {{.Album}}{{if .Year}} ({{.Year}}){{end}}
{{if $album.MetadataSource}}
via
{{if eq (print $album.MetadataSource) "beets"}}
beets
{{else if eq (print $album.MetadataSource) "musicbrainz"}}
MusicBrainz
{{else if eq (print $album.MetadataSource) "file_tags"}}
file tags
{{else}}
unknown
{{end}}
{{end}}
{{end}}
{{/* ── Rich info cards ── */}}
{{/* Tracks */}}
{{/* Lyrics */}}
Lyrics
{{if eq .LyricsStats.Total 0}}
n/a
{{else}}
{{.LyricsStats.Downloaded}} / {{.LyricsStats.Total}}
{{if gt .LyricsStats.Synced 0}}{{.LyricsStats.Synced}} synced{{end}}
{{if and (gt .LyricsStats.Synced 0) (gt .LyricsStats.Plain 0)}} · {{end}}
{{if gt .LyricsStats.Plain 0}}{{.LyricsStats.Plain}} plain{{end}}
{{if gt .LyricsStats.AlreadyHad 0}} {{.LyricsStats.AlreadyHad}} existing{{end}}
{{if gt .LyricsStats.NotFound 0}} {{.LyricsStats.NotFound}} missing{{end}}
{{end}}
{{/* Cover art */}}
Cover Art
{{if .CoverArtStats.Found}}
{{if .CoverArtStats.Embedded}}
Embedded
{{.CoverArtStats.Source}}
{{else}}
Found, not embedded
{{.CoverArtStats.Source}}
{{end}}
{{else}}
Not found
{{end}}
Pipeline
{{stepCell "Clean Tags" .CleanTags ""}}
{{stepCell "Metadata" .TagMetadata .FatalStep}}
{{stepCell "Lyrics" .Lyrics ""}}
{{stepCell "ReplayGain" .ReplayGain .FatalStep}}
{{stepCell "Cover Art" .CoverArt .FatalStep}}
{{stepCell "Move" .Move ""}}