Methods
(static) init() → {void}
Returns:
- Type:
- void
(static) musicItemType() → {string}
Resolve the Jellyfin item type string for the current cell. MusicGenre items arrive with type="MusicGenre" (typed by the transformer) or, in pre-typed contexts, with folderType="MusicGenre" — handle both.
Returns:
- Type:
- string
(static) onFocusChanged() → {void}
Display or hide title Visibility on focus change
Returns:
- Type:
- void
(static) onItemContentChanged() → {void}
Returns:
- Type:
- void
(static) onPosterLoadStatusChanged() → {void}
Toggle the JRPlaceholder fallback based on the real poster's load state. Mirrors the canonical state machine from JRRowItem.bs onPosterLoadStatusChanged.
Returns:
- Type:
- void
(static) showPlaceholder(itemType) → {void}
Flip the placeholder into failure state with a type-appropriate glyph, then clear the poster URI so the glyph isn't covered by a stale broken image.
Parameters:
| Name | Type | Description |
|---|---|---|
itemType | string |
Returns:
- Type:
- void