{index + 1}
{section.CustomName || section.Name || '(unnamed)'}
{typeLabel} {#if genreNames} · {genreNames}{/if} {#if section.CollectionType} · {section.CollectionType}{/if} {#if section.SortBy} · {SORT_OPTIONS.find((s) => s.value === section.SortBy)?.label || section.SortBy}{/if} {#if section.ExcludedFolders?.length} · {section.ExcludedFolders.length} excluded{/if}
{expanded ? '▾' : '▸'} {#if expanded}
{#if showFilters} {/if} {#if section.SectionType === 'userviews'} {/if}
{#if section.SectionType === 'resume'} {/if} {#if showFilters} {/if}
{#if showFilters}
Item types
{#each ITEM_TYPES as type} {/each}
Genres
{#each Object.entries(GENRES).sort((a, b) => a[1].localeCompare(b[1])) as [id, name]} {/each}
Tag IDs (comma-separated Emby tag IDs) {#if section.Query?.TagIds?.length}
{#each section.Query.TagIds as id} {id} {/each}
{/if}
{/if} {#if section.SectionType === 'boxset'}
Linked box set
event.key === 'Enter' && searchCollections()} placeholder="Search existing collections..." />
{#if collectionLookupError}
{collectionLookupError}
{/if} {#if collectionResults.length}
{#each collectionResults as item} {/each}
{/if}
{#if section.ParentItem?.Id}
{section.ParentItem.Name} ID: {section.ParentItem.Id}
{/if}
{/if}
Excluded folders {#if section.ExcludedFolders?.length} {section.ExcludedFolders.length} {/if} (comma-separated folder IDs) {#if section.ExcludedFolders?.length}
{#each section.ExcludedFolders as id} {id} {/each}
{/if} {#if excludedFolderDetails.some((folder) => folder.label)}
{#each excludedFolderDetails.filter((folder) => folder.label) as folder}
{folder.label} {folder.id}{folder.type ? ` · ${folder.type}` : ''}
{/each}
{/if}
{/if}