{#if loadError}
Couldn't load the library folders.
{:else if current === null}Loading…
{:else if !editing}The server can't see {f.path}{f.tracks > 0 ? `, which holds ${plural(f.tracks, 'track', 'tracks')}` : ''}. If its files are now somewhere else, change the folder to where they are.
{/each} {:else}Change a folder's path when its files have moved; the tracks move with it and keep their plays, likes and playlists. Each path is as the server sees it, inside its container.
{#each rows as row, i (i)}{m.was} → {m.path.trim()}: its tracks move with it.
{/each} {#each removed as f (f.path)}{f.path} will no longer be read{f.tracks > 0 ? `; its ${plural(f.tracks, 'track is', 'tracks are')} marked missing at the next scan` : ''}.
{/each}Fill in or remove the empty folder.
{:else if rows.length === 0}The library needs at least one folder.
{/if}