Methods
(static) Main(args) → {void}
| Name | Type | Description |
|---|---|---|
args | dynamic |
- Source
- Type:
- void
(static) calculateFontScaleFactor() → {void}
Calculate global font scale factor for fallback font
- Source
- Type:
- void
(static) createAndShowHomeGroup() → {void}
Create and show the home group
- Source
- Type:
- void
(static) handleFavoriteToggleDone() → {void}
- Source
- Type:
- void
(static) handleFontDownloadCompletion(fontDownloadTask) → {void}
Handle font download completion and optionally calculate scale factor
| Name | Type | Description |
|---|---|---|
fontDownloadTask | object |
- Source
- Type:
- void
(static) handleMenuAction(actionId) → {boolean}
Shared handler for menu actions from both the OptionsSlider and the user dropdown. Returns true if the caller should goto appStart (session-ending actions).
| Name | Type | Description |
|---|---|---|
actionId | string |
- Source
- Type:
- boolean
(static) handleQuickPlayOutput(task) → {void}
Handles the output from QuickPlayTask — queues items, opens photo player, or plays trailers.
| Name | Type | Description |
|---|---|---|
task | object |
- Source
- Type:
- void
(static) handleRecordResult(task) → {void}
| Name | Type | Description |
|---|---|---|
task | object |
- Source
- Type:
- void
(static) handleWatchedToggleDone() → {void}
- Source
- Type:
- void
(static) initializeFallbackFont() → {void}
Initialize fallback font download process
- Source
- Type:
- void
(static) loadHomeScreen() → {void}
Load the home screen - may wait for font processing if UI fallback fonts are enabled
- Source
- Type:
- void
(static) removeResumeButtonFromGroup(group) → {void}
removeResumeButtonFromGroup: Remove the resume button from an ItemDetails button group. Used after marking an item as watched — the server clears playback position so the resume button is stale. Focus is preserved on the nearest remaining button.
| Name | Type | Description |
|---|---|---|
group | object |
- Source
- Type:
- void