{pageTitle('Admin · Overview')}

Overview

Pending requests
{pendingCount}
Quarantined tracks
{quarantineCount}
Lidarr
{lidarrConnected ? 'Connected' : 'Unset'}

Pending requests

{#if pendingCount > PREVIEW_LIMIT} View all {pendingCount} → {/if}
{#if requests.isPending}

Loading…

{:else if requestPreview.length === 0}

No pending requests.

{:else} {/if}

Library scan

Walks the music tree, fills missing MusicBrainz IDs from tags, and refetches album covers.

{#if !scan || !scan.id}

No scan has run yet.

{:else}
Library walk
{#if scan.library}
Scanned
{scan.library.scanned}
Added
{scan.library.added}
Updated
{scan.library.updated}
Skipped
{scan.library.skipped}
Errored
{scan.library.errored}
{:else if stageState(scan, 'library') === 'pending'}

Waiting for previous stage…

{/if}
MBID backfill
{#if scan.mbid_backfill}
Processed
{scan.mbid_backfill.processed}
Healed
{scan.mbid_backfill.healed}
Skipped
{scan.mbid_backfill.skipped}
Duplicates
{scan.mbid_backfill.duplicates ?? 0}
{:else if stageState(scan, 'mbid_backfill') === 'pending'}

Waiting for previous stage…

{/if}
Cover enrichment
{#if scan.cover_enrich}
Processed
{scan.cover_enrich.processed}
Succeeded
{scan.cover_enrich.succeeded}
Failed
{scan.cover_enrich.failed}
{:else if stageState(scan, 'cover_enrich') === 'pending'}

Waiting for previous stage…

{/if}
Artist art
{#if scan.artist_art_enrich}
Processed
{scan.artist_art_enrich.processed}
Succeeded
{scan.artist_art_enrich.succeeded}
Failed
{scan.artist_art_enrich.failed}
{:else if stageState(scan, 'artist_art_enrich') === 'pending'}

Waiting for previous stage…

{/if}
Started {formatTime(scan.started_at)} {#if scan.finished_at}· Finished {formatTime(scan.finished_at)}{/if} {#if scan.error_message}· Error: {scan.error_message}{/if}
{/if} {#if triggerResult}

{triggerResult}

{/if}

Cover art

Refetch cover art for albums that are missing one or where the previous attempt failed.

{#if coverage} {#if coverage.total === 0} Library is empty. {:else}
{coverage.with_art.toLocaleString()} with art · 0 ? 'cursor-help' : ''} title={coverage.pending_no_mbid > 0 ? `${coverage.pending_no_mbid.toLocaleString()} of these have no MBID and won't be helped by another scan — fix tags or merge duplicate albums.` : undefined} > {coverage.pending.toLocaleString()} pending · {coverage.settled.toLocaleString()} settled
{/if} {/if}
{#if bulkResult}

{bulkResult}

{/if}

Quarantine

{#if quarantineCount > PREVIEW_LIMIT} View all {quarantineCount} → {/if}
{#if quarantine.isPending}

Loading…

{:else if quarantinePreview.length === 0}

No quarantined tracks.

{:else} {/if}