Methods

(static) applyRowSizes() → {void}

Applies per-row slot sizes, heights, and spacings based on each row's cursorSize

Returns:
Type: 
void

(static) createSkeletonRows() → {void}

Creates skeleton rows for all known favorite types with loading placeholders

Returns:
Type: 
void

(static) findInsertIndexForType(itemType, typeArray) → {integer}

Find the correct insert index for a type based on the type ordering

Parameters:
NameTypeDescription
itemTypestring
typeArrayobject
Returns:
Type: 
integer

(static) findRowBySectionId(sectionId) → {object}

Find a row by its sectionId

Parameters:
NameTypeDescription
sectionIdstring
Returns:
Type: 
object

(static) getItemAtIndices(indices) → {dynamic}

Parameters:
NameTypeDescription
indicesobject
Returns:
Type: 
dynamic

(static) getSlotSizeForType(itemType) → {object}

Returns the appropriate slot size for a Jellyfin item type. Follows the same logic as SearchRow.bs getSlotSizeForType. WIDE (16:9) — Episode, Video, MusicVideo, PhotoAlbum, Photo SQUARE (1:1) — Music types, Playlist, Program, TvChannel, Recording PORTRAIT (2:3) — all others (Movie, Series, Person, BoxSet, etc.)

Parameters:
NameTypeDescription
itemTypestring
Returns:
Type: 
object

(static) init() → {void}

Returns:
Type: 
void

(static) itemSelected() → {void}

Returns:
Type: 
void

(static) loadFavorites() → {void}

Entry point called by Home.bs when Favorites tab is selected. Creates skeleton rows on first load, then fires the data task.

Returns:
Type: 
void

(static) onDestroy() → {void}

Returns:
Type: 
void

(static) onFavoritesLoaded() → {void}

Groups loaded favorites by item type and populates/removes skeleton rows. On refresh, updates existing rows in place to preserve focus position.

Returns:
Type: 
void

(static) onItemFocused() → {void}

Returns:
Type: 
void

(static) onKeyEvent(key, press) → {boolean}

Parameters:
NameTypeDescription
keystring
pressboolean
Returns:
Type: 
boolean

(static) updateBackdropForFocusedItem() → {void}

Returns:
Type: 
void

(static) updateSize() → {void}

Returns:
Type: 
void