Methods
(static) OnScreenShown() → {void}
- Source
- Type:
- void
(static) createSubtitleDividerNode() → {object}
- Source
- Type:
- object
(static) createSubtitleLabelNode(labelId) → {object}
| Name | Type | Description |
|---|---|---|
labelId | string |
- Source
- Type:
- object
(static) destroy() → {void}
destroy: Full teardown releasing all resources before component removal Called by VideoPlayerView.destroy() since OSD is a child component, not a SceneManager scene
- Source
- Type:
- void
(static) displaySubtitleNode(node) → {void}
| Name | Type | Description |
|---|---|---|
node | object |
- Source
- Type:
- void
(static) inactiveCheck() → {void}
inactiveCheck: Checks if the time since last keypress is greater than or equal to the allowed inactive time of the menu.
- Source
- Type:
- void
(static) init() → {void}
- Source
- Type:
- void
(static) onButtonSelected() → {void}
- Source
- Type:
- void
(static) onFocusChanged() → {void}
- Source
- Type:
- void
(static) onItemDataChanged() → {void}
onItemDataChanged: Reads typed fields from JellyfinBaseItem node and populates OSD display.
Replaces the old JSON-parsing setFields(). The item node is immutable - all metadata is read directly from typed fields (item.type, item.name, item.communityRating, etc.)
Content Type Detection (isMovie/isSeries): These flags determine which user settings control ratings display:
- isMovie=true: Uses uiMoviesShowRatings setting
- isSeries=true: Uses uiTvShowsDisableCommunityRating setting
Detection Priority (applied in order):
- API flags: Uses isMovie/isSeries from JellyfinBaseItem if provided
- Flag validation: Ensures mutual exclusivity (both cannot be true)
- Type-based: Recording types always classified as series content
- Metadata heuristic: Presence of seriesName/parentIndexNumber indicates series
- Default fallback: Assumes movie content if no other indicators
- Source
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
| Name | Type | Description |
|---|---|---|
key | string | |
press | boolean |
- Source
- Type:
- boolean
(static) onPlaybackStateChanged() → {void}
- Source
- Type:
- void
(static) onProgressPercentageChanged() → {void}
- Source
- Type:
- void
(static) onVisibleChanged() → {void}
- Source
- Type:
- void
(static) populateData() → {void}
- Source
- Type:
- void
(static) resetFocusToDefaultButton() → {void}
- Source
- Type:
- void
(static) setButtonStates() → {void}
setButtonStates: Disable previous/next buttons if needed and remove any other unneeded buttons
- Source
- Type:
- void
(static) setEndsAtText() → {void}
- Source
- Type:
- void
(static) setVideoLogoGroup() → {void}
- Source
- Type:
- void
(static) setVideoSubTitle() → {void}
- Source
- Type:
- void
(static) setVideoTitle() → {void}
- Source
- Type:
- void