Members
(static, constant) FOCUS_PADDING
Vertical gap between the bottom of the poster (= bottom of the RowList focus ring) and the first text label. Prevents the focus border from overlapping the title.
- Default Value
- 18
Methods
(static) arrangeIconAndBackdropText() → {void}
Centers the icon in the upper portion of the backdrop and positions the library name label below it.
- Type:
- void
(static) getLibraryIconPath(collectionType) → {string}
Maps a Jellyfin library collection type to a local icon image path. Used to display a type-appropriate icon on library tile backdrops.
| Name | Type | Description |
|---|---|---|
collectionType | string | item.collectionType string (e.g., "music", "livetv") |
pkg:/ path to the icon image
- Type:
- string
(static) init() → {void}
- Type:
- void
(static) initBackdropText(slotWidth, posterHeight) → {void}
Lazy-creates the backdrop text label for library tiles on first use. Deferred allocation avoids creating the node for non-library rows.
| Name | Type | Description |
|---|---|---|
slotWidth | float | |
posterHeight | float |
- Type:
- void
(static) onFocusChanged() → {void}
Toggles scrolling vs static title on focus, and speaks the title via audio guide.
- Type:
- void
(static) onIconLoadStatusChanged() → {void}
Shows the icon and repositions it with the backdrop text once the icon image loads. Hides the icon on failure so a stale image from a previous render does not persist.
- Type:
- void
(static) onItemContentChanged() → {void}
- Type:
- void
(static) onPosterLoadStatusChanged() → {void}
Hides the backdrop (and any backdropText) once the poster image loads. Shows the backdrop as a fallback when the image is unavailable or still loading. backdropText visibility is only toggled for library tiles — standard items must not inherit a stale label when this component instance is recycled from a library row.
- Type:
- void
(static) onSizeChanged() → {void}
- Type:
- void
(static) renderItem() → {void}
- Type:
- void
(static) renderLibraryTile(item, slotWidth, posterHeight) → {void}
Renders a My Media library tile: colored backdrop + type icon + library name. The poster loads the library's Primary image; when it loads successfully the backdrop (and overlaid text) hide to reveal the image.
| Name | Type | Description |
|---|---|---|
item | object | |
slotWidth | float | |
posterHeight | float |
- Type:
- void
(static) renderStandardItem(item, slotWidth, posterHeight) → {void}
Renders a standard item: poster image with title/subtitle text below.
| Name | Type | Description |
|---|---|---|
item | object | |
slotWidth | float | |
posterHeight | float |
- Type:
- void
(static) updateLayout(slotWidth, posterHeight) → {void}
Updates positions and sizes of all child nodes to match the current slot dimensions. Called at the start of every renderItem() before branching into tile/standard mode.
| Name | Type | Description |
|---|---|---|
slotWidth | float | |
posterHeight | float |
- Type:
- void