{#if album}
openViewer(album.art_path)} role="presentation">
{album.title}
{album.year ?? "—"} · {tracks.length || album.track_count} tracks{total ? ` · ${longDur(total)}` : ""}
{#if fmt}
{fmt} {lib.stats[album.id]?.bytes ? fmtBytes(lib.stats[album.id].bytes) : "in your library"} {#if lib.stats[album.id]?.avg_kbps}{lib.stats[album.id].avg_kbps} kbps{/if}
{/if}
{#each discs as [d, list] (d)} {#if discs.length > 1}
Disc {d}
{/if}
{#each list as t, i (t.id)} {/each}
{/each} {#if more.length}

More by {album.artist}

{#each more as x (x.id)} push("album", { id: x.id }, screenEl)} /> {/each}
{/if} {:else}
That record is gone.It is no longer in the library.
{/if}