LoadVideoContentTask

Methods

(static) FindPreferredAudioStream(streams) → {integer}

Parameters:
Name Type Description
streams dynamic
Source:

(static) LoadItems_AddVideoContent(video, mediaSourceId, audio_stream_idxopt, subtitle_idxopt, forceTranscodingopt) → {void}

Parameters:
Name Type Attributes Default Description
video object
mediaSourceId dynamic
audio_stream_idx integer <optional>
1
subtitle_idx integer <optional>
-1
forceTranscoding boolean <optional>
false
Source:

(static) LoadItems_VideoPlayer(id, mediaSourceIdopt, audio_stream_idxopt, subtitle_idxopt, forceTranscodingopt) → {dynamic}

Parameters:
Name Type Attributes Default Description
id string
mediaSourceId dynamic <optional>
invalid
audio_stream_idx integer <optional>
1
subtitle_idx integer <optional>
-1
forceTranscoding boolean <optional>
false
Source:

(static) addNextEpisodesToQueue(showID) → {void}

Add next episodes to the playback queue

Parameters:
Name Type Description
showID dynamic
Source:

(static) addSubtitlesToVideo(video, meta) → {void}

Parameters:
Name Type Description
video dynamic
meta dynamic
Source:

(static) addVideoContentURL(video, mediaSourceId, audio_stream_idx, fully_external) → {void}

Parameters:
Name Type Description
video dynamic
mediaSourceId dynamic
audio_stream_idx dynamic
fully_external dynamic
Source:

(static) directPlaySupported(meta) → {boolean}

Parameters:
Name Type Description
meta object
Source:

(static) getContainerType(meta) → {string}

Parameters:
Name Type Description
meta object
Source:

(static) getSubtitleLanguages() → {dynamic}

Source:

(static) getTranscodeReasons(url) → {object}

Extract array of Transcode Reasons from the content URL

Parameters:
Name Type Description
url string
Source:

(static) init() → {void}

Source:

(static) loadItems() → {void}

Source:

(static) sortSubtitles(id, MediaStreams) → {dynamic}

Checks available subtitle tracks and puts subtitles in forced, default, and non-default/forced but preferred language at the top

Parameters:
Name Type Description
id string
MediaStreams dynamic
Source: