Methods
(static) OnScreenShown() → {void}
OnScreenShown: Callback function when view is presented on screen
- Type:
- void
(static) SetDefaultAudioTrack(itemData) → {void}
| Name | Type | Description |
|---|---|---|
itemData | dynamic |
- Type:
- void
(static) SetUpAudioOptions(streams) → {void}
| Name | Type | Description |
|---|---|---|
streams | dynamic |
- Type:
- void
(static) SetUpVideoOptions(streams) → {void}
| Name | Type | Description |
|---|---|---|
streams | dynamic |
- Type:
- void
(static) audioOptionsClosed() → {void}
Check if options updated and any reloading required
- Type:
- void
(static) createDividerNode(dividerId) → {object}
createDividerNode: Create a bullet divider node for separating info items
| Name | Type | Description |
|---|---|---|
dividerId | string | Unique ID for the divider |
Configured divider node
- Type:
- object
(static) createInfoLabel(labelId) → {object}
createInfoLabel: Create a label for the info/director rows
| Name | Type | Description |
|---|---|---|
labelId | string | Unique ID for the label |
Configured LabelPrimaryMedium node (bold)
- Type:
- object
(static) displayDirectorGenreNode(node) → {void}
displayDirectorGenreNode: Add a node to the director/genre group with dividers
| Name | Type | Description |
|---|---|---|
node | object |
- Type:
- void
(static) displayInfoNode(node) → {void}
displayInfoNode: Add a node to the info group with dividers
| Name | Type | Description |
|---|---|---|
node | object |
- Type:
- void
(static) getButtonIndex(buttonId) → {integer}
getButtonIndex: Helper to find button index in button group
| Name | Type | Description |
|---|---|---|
buttonId | string | The id of the button to find |
- The index of the button, or -1 if not found
- Type:
- integer
(static) getEndTime() → {string}
- Type:
- string
(static) getRuntime() → {integer}
- Type:
- integer
(static) init() → {void}
- Type:
- void
(static) itemContentChanged() → {void}
- Type:
- void
(static) manageResumeButton() → {void}
manageResumeButton: Add or remove Resume button based on playback position
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
| Name | Type | Description |
|---|---|---|
key | string | |
press | boolean |
- Type:
- boolean
(static) populateInfoGroup() → {void}
populateInfoGroup: Dynamically populate info and director/genre groups
- Type:
- void
(static) removeResumeButtonWithFocus(resumeButton) → {void}
removeResumeButtonWithFocus: Helper to remove resume button while preserving focus
| Name | Type | Description |
|---|---|---|
resumeButton | object | The resume button node to remove (if valid) |
- Type:
- void
(static) round(f) → {integer}
| Name | Type | Description |
|---|---|---|
f | float |
- Type:
- integer
(static) setFieldText(field, value) → {void}
| Name | Type | Description |
|---|---|---|
field | dynamic | |
value | dynamic |
- Type:
- void
(static) trailerAvailableChanged() → {void}
- Type:
- void
(static) updateFavoriteButton() → {void}
- Type:
- void
(static) updateOptionsButtonVisibility() → {void}
updateOptionsButtonVisibility: Create/remove options button based on available tracks Creates button if there are multiple video or audio tracks to choose from Removes button if there is 1 or fewer video tracks AND 1 or fewer audio tracks
- Type:
- void
(static) updateWatchedButton() → {void}
- Type:
- void
(static) videoOptionsClosed() → {void}
Check if options were updated and if any reloding is needed...
- Type:
- void