Add books Files or a folder. A folder becomes one book per directory.
Library {#each libraryState.libraries as library (library.id)} {library.name} {/each}
{#if files.length > 0}
{files.length} ready to upload {displaySize(totalSize)}
{/if}
{#each files as file, idx (file.name)} {@const location = splitPath(file.name)}
{location.name} {#if location.dir} {location.dir} {/if} {displaySize(file.size)}
{/each}
{#if rejected.length > 0}
{rejected.length} {rejected.length === 1 ? 'file was' : 'files were'} skipped
{#if showRejected}
    {#each rejected as entry (entry.name)}
  • {splitPath(entry.name).name} {entry.reason}
  • {/each}
{/if}
{/if}
Start as soon as books are added
Open the book when a single one is added