{#snippet addMenu(kind: 'search' | 'download', label: string)}
Couldn't load indexers and download clients.
{:else if services === null}Loading indexers and download clients…
{:else}{#if !canFetch} No download client is switched on, so nothing can be downloaded. {:else if !canSearch} No indexer is switched on, so nothing new can be found. {:else} Music can be searched for and downloaded. {/if}
No indexer yet. Prowlarr is the usual choice.
{/each} {#if searchingExchanges.length > 0}Also searched: {searchingExchanges.map((s) => s.label).join(', ')}, under download clients.
{/if} {@render addMenu('search', 'Add indexer')}No download client yet.
{/each} {@render addMenu('download', 'Add download client')}