Methods
(static) addHomeSection(content, sizeArray, sectionName) → {boolean}
Adds a new home section to the home rows. Returns a boolean indicating whether the section was handled.
Parameters:
Name | Type | Description |
---|---|---|
content | dynamic | |
sizeArray | dynamic | |
sectionName | string |
Returns:
- Type:
- boolean
(static) createContinueWatchingRow(content, sizeArray) → {void}
Create a row displaying items the user can continue watching
Parameters:
Name | Type | Description |
---|---|---|
content | dynamic | |
sizeArray | dynamic |
Returns:
- Type:
- void
(static) createFavoritesRow(content, sizeArray) → {void}
Create a row displaying items from the user's favorites list
Parameters:
Name | Type | Description |
---|---|---|
content | dynamic | |
sizeArray | dynamic |
Returns:
- Type:
- void
(static) createLatestInRows(content, sizeArray) → {void}
Create a row displaying latest items in each of the user's libraries
Parameters:
Name | Type | Description |
---|---|---|
content | dynamic | |
sizeArray | dynamic |
Returns:
- Type:
- void
(static) createLibraryRow(content, sizeArray) → {void}
Create a row displaying the user's libraries
Parameters:
Name | Type | Description |
---|---|---|
content | dynamic | |
sizeArray | dynamic |
Returns:
- Type:
- void
(static) createLiveTVRow(content, sizeArray) → {void}
Create a row displaying the live tv now on section
Parameters:
Name | Type | Description |
---|---|---|
content | dynamic | |
sizeArray | dynamic |
Returns:
- Type:
- void
(static) createNextUpRow(content, sizeArray) → {void}
Create a row displaying next episodes up to watch
Parameters:
Name | Type | Description |
---|---|---|
content | dynamic | |
sizeArray | dynamic |
Returns:
- Type:
- void
(static) filterNodeArray(nodeArray, nodeKey, excludeArray) → {object}
Parameters:
Name | Type | Description |
---|---|---|
nodeArray | object | |
nodeKey | string | |
excludeArray | object |
Returns:
- Type:
- object
(static) init() → {void}
Returns:
- Type:
- void
(static) itemSelected() → {void}
Returns:
- Type:
- void
(static) loadLibraries() → {void}
Returns:
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
key | string | |
press | boolean |
Returns:
- Type:
- boolean
(static) onLibrariesLoaded() → {void}
Returns:
- Type:
- void
(static) removeHomeSection(sectionType) → {void}
Removes a home section from the home rows
Parameters:
Name | Type | Description |
---|---|---|
sectionType | string |
Returns:
- Type:
- void
(static) updateContinueWatchingItems() → {void}
Returns:
- Type:
- void
(static) updateFavoritesItems() → {void}
Returns:
- Type:
- void
(static) updateHomeRows() → {void}
Update home row data
Returns:
- Type:
- void
(static) updateLatestInRows() → {void}
Iterate over user's libraries and update data for each Latest In section
Returns:
- Type:
- void
(static) updateLatestItems(msg) → {void}
Parameters:
Name | Type | Description |
---|---|---|
msg | dynamic |
Returns:
- Type:
- void
(static) updateNextUpItems() → {void}
Returns:
- Type:
- void
(static) updateOnNowItems() → {void}
Returns:
- Type:
- void
(static) updateSize() → {void}
Returns:
- Type:
- void
(static) updateSizeArray(rowItemSize, rowIndexopt, actionopt) → {void}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rowItemSize | dynamic | |||
rowIndex | dynamic | <optional> | invalid | |
action | dynamic | <optional> | "insert" |
Returns:
- Type:
- void