TVShowPresenter. TVShowPresenter

TVShowPresenter handles TV show library-specific behavior

Constructor

new TVShowPresenter()

Extends

  • GridPresenterBase

Methods

configureLoadTask(task, parentItem, currentView) → {void}

Configure load task with TV show-specific parameters

Parameters:
NameTypeDescription
taskobject
parentItemobject
currentViewstring
Returns:
Type: 
void

destroy() → {void}

Cleanup TV show-specific resources

Returns:
Type: 
void

getBackdropMode() → {string}

TV shows always use fullscreen backdrop

Returns:
Type: 
string

getGridConfig(currentView) → {object}

Configure grid layout and positioning for TV show views

Parameters:
NameTypeDescription
currentViewstring
Returns:
Type: 
object

getOptions(parentItem) → {object}

Get TV show-specific view, sort, and filter options

Parameters:
NameTypeDescription
parentItemobject
Returns:
Type: 
object

onInit(view) → {void}

Initialize TV show-specific nodes and state

Parameters:
NameTypeDescription
viewobject
Returns:
Type: 
void

onItemFocused(_item, _currentView) → {void}

No special handling needed for TV shows (no presentation view)

Parameters:
NameTypeDescription
_itemobject
_currentViewstring
Returns:
Type: 
void

shouldShowPresentationInfo(_currentView) → {boolean}

TV shows don't have presentation view

Parameters:
NameTypeDescription
_currentViewstring
Returns:
Type: 
boolean