Methods

(static) addRow(data, title, type_filter) → {void}

Parameters:
NameTypeDescription
datadynamic
titledynamic
type_filterdynamic
Returns:
Type: 
void

(static) applyRowSizes(data) → {void}

Applies per-row slot sizes, heights, and spacings to the RowList. Infers each row's slot size from its first item's type. Must be called after all rows are added to the content node.

Parameters:
NameTypeDescription
dataobject
Returns:
Type: 
void

(static) getData() → {dynamic}

Returns:
Type: 
dynamic

(static) getSlotSizeForType(itemType) → {object}

Returns the appropriate slot size for a given Jellyfin item type. Episode → WIDE (16:9 screenshots) Music and Playlist → SQUARE (1:1 album art) All others (Movie, Series, TvChannel, Person, etc.) → PORTRAIT (2:3 poster)

Parameters:
NameTypeDescription
itemTypestring
Returns:
Type: 
object

(static) init() → {void}

Returns:
Type: 
void