Your requests
What you've asked Minstrel to add to the library.
{#if query.isError}
{:else if query.isPending}
Reading the ledger…
{:else if requests.length === 0}
Nothing requested yet.
{:else}
{#each requests as r (r.id)} {@const Icon = fallbackIcon(r.kind)} {@const href = listenHref(r)}
{r.kind}
{rowTitle(r)}
{rowMeta(r)}
{#if r.imported_album_count > 0 || r.imported_track_count > 0}
{#if r.kind === 'artist'} {plural(r.imported_album_count, 'album', 'albums')} · {plural(r.imported_track_count, 'track', 'tracks')} ingested {:else if r.kind === 'album'} {plural(r.imported_track_count, 'track', 'tracks')} ingested {:else} Track ingested {/if}
{/if} {#if r.status === 'rejected' && r.notes}
{r.notes}
{/if}
{#if r.status === 'pending'}
onCancel(r.id)} >
Cancel
{:else if r.status === 'completed' && href}
Listen
{/if}
{/each}
{/if}