Methods

(static) Main(args) → {void}

Parameters:
NameTypeDescription
argsdynamic
Returns:
Type: 
void

(static) calculateFontScaleFactor() → {void}

Calculate global font scale factor for fallback font

Returns:
Type: 
void

(static) createAndShowHomeGroup() → {void}

Create and show the home group

Returns:
Type: 
void

(static) handleFavoriteToggleDone() → {void}

Returns:
Type: 
void

(static) handleFontDownloadCompletion(fontDownloadTask) → {void}

Handle font download completion and optionally calculate scale factor

Parameters:
NameTypeDescription
fontDownloadTaskobject
Returns:
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).

Parameters:
NameTypeDescription
actionIdstring
Returns:
Type: 
boolean

(static) handleQuickPlayOutput(task) → {void}

Handles the output from QuickPlayTask — queues items, opens photo player, or plays trailers.

Parameters:
NameTypeDescription
taskobject
Returns:
Type: 
void

(static) handleRecordResult(task) → {void}

Parameters:
NameTypeDescription
taskobject
Returns:
Type: 
void

(static) handleWatchedToggleDone() → {void}

Returns:
Type: 
void

(static) initializeFallbackFont() → {void}

Initialize fallback font download process

Returns:
Type: 
void

(static) loadHomeScreen() → {void}

Load the home screen - may wait for font processing if UI fallback fonts are enabled

Returns:
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.

Parameters:
NameTypeDescription
groupobject
Returns:
Type: 
void