Update generated sources to 10.10.0

This commit is contained in:
jellyfin-bot 2024-10-26 17:39:14 +00:00
parent ecdff5f2a6
commit 24a68e0e51
62 changed files with 1990 additions and 404 deletions

4
openapi.json vendored
View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4dc7e1721080d36ff674a9d248765a5c1b679e31b2677180c97af236693cee76
size 850079
oid sha256:e48d88490e79d5dec94e0b14008aeca61782ed84619623ff9d150e8af119f9d5
size 862436

View File

@ -30,6 +30,7 @@ api/live-tv-api.ts
api/localization-api.ts
api/lyrics-api.ts
api/media-info-api.ts
api/media-segments-api.ts
api/movies-api.ts
api/music-genres-api.ts
api/package-api.ts
@ -103,7 +104,6 @@ models/channel-media-type.ts
models/channel-type.ts
models/chapter-info.ts
models/client-capabilities-dto.ts
models/client-capabilities.ts
models/client-log-document-response-dto.ts
models/codec-profile.ts
models/codec-type.ts
@ -120,10 +120,10 @@ models/culture-dto.ts
models/day-of-week.ts
models/day-pattern.ts
models/default-directory-browser-info-dto.ts
models/device-info-query-result.ts
models/device-info.ts
models/deinterlace-method.ts
models/device-info-dto-query-result.ts
models/device-info-dto.ts
models/device-options-dto.ts
models/device-options.ts
models/device-profile.ts
models/direct-play-profile.ts
models/display-preferences-dto.ts
@ -131,6 +131,7 @@ models/dlna-profile-type.ts
models/down-mix-stereo-algorithms.ts
models/dynamic-day-of-week.ts
models/embedded-subtitle-options.ts
models/encoder-preset.ts
models/encoding-context.ts
models/encoding-options.ts
models/end-point-info.ts
@ -161,7 +162,7 @@ models/group-state-update.ts
models/group-update-type.ts
models/group-update.ts
models/guide-info.ts
models/hardware-encoding-type.ts
models/hardware-acceleration-type.ts
models/ignore-wait-request-dto.ts
models/image-format.ts
models/image-info.ts
@ -206,6 +207,9 @@ models/media-attachment.ts
models/media-path-dto.ts
models/media-path-info.ts
models/media-protocol.ts
models/media-segment-dto-query-result.ts
models/media-segment-dto.ts
models/media-segment-type.ts
models/media-source-info.ts
models/media-source-type.ts
models/media-stream-protocol.ts
@ -262,6 +266,7 @@ models/playback-start-info.ts
models/playback-stop-info.ts
models/player-state-info.ts
models/playlist-creation-result.ts
models/playlist-dto.ts
models/playlist-user-permissions.ts
models/playstate-command.ts
models/playstate-message.ts
@ -323,7 +328,7 @@ models/server-configuration.ts
models/server-discovery-info.ts
models/server-restarting-message.ts
models/server-shutting-down-message.ts
models/session-info.ts
models/session-info-dto.ts
models/session-message-type.ts
models/session-user-info.ts
models/sessions-message.ts
@ -360,6 +365,9 @@ models/timer-created-message.ts
models/timer-event-info.ts
models/timer-info-dto-query-result.ts
models/timer-info-dto.ts
models/tonemapping-algorithm.ts
models/tonemapping-mode.ts
models/tonemapping-range.ts
models/trailer-info-remote-search-query.ts
models/trailer-info.ts
models/transcode-reason.ts

View File

@ -42,6 +42,7 @@ export * from './api/live-tv-api';
export * from './api/localization-api';
export * from './api/lyrics-api';
export * from './api/media-info-api';
export * from './api/media-segments-api';
export * from './api/movies-api';
export * from './api/music-genres-api';
export * from './api/package-api';

View File

@ -45,7 +45,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -75,17 +75,18 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getAudioStream: async (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
getAudioStream: async (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('getAudioStream', 'itemId', itemId)
const localVarPath = `/Audio/{itemId}/stream`
@ -295,6 +296,10 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
}
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -321,7 +326,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -351,17 +356,18 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getAudioStreamByContainer: async (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
getAudioStreamByContainer: async (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('getAudioStreamByContainer', 'itemId', itemId)
// verify required parameter 'container' is not null or undefined
@ -570,6 +576,10 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
}
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -596,7 +606,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -626,17 +636,18 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
headAudioStream: async (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
headAudioStream: async (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('headAudioStream', 'itemId', itemId)
const localVarPath = `/Audio/{itemId}/stream`
@ -846,6 +857,10 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
}
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -872,7 +887,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -902,17 +917,18 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
headAudioStreamByContainer: async (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
headAudioStreamByContainer: async (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('headAudioStreamByContainer', 'itemId', itemId)
// verify required parameter 'container' is not null or undefined
@ -1121,6 +1137,10 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
}
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -1157,7 +1177,7 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -1187,18 +1207,19 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getAudioStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
async getAudioStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['AudioApi.getAudioStream']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1218,7 +1239,7 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -1248,18 +1269,19 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getAudioStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
async getAudioStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['AudioApi.getAudioStreamByContainer']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1279,7 +1301,7 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -1309,18 +1331,19 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async headAudioStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
async headAudioStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['AudioApi.headAudioStream']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1340,7 +1363,7 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -1370,18 +1393,19 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async headAudioStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
async headAudioStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['AudioApi.headAudioStreamByContainer']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1404,7 +1428,7 @@ export const AudioApiFactory = function (configuration?: Configuration, basePath
* @throws {RequiredError}
*/
getAudioStream(requestParameters: AudioApiGetAudioStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.getAudioStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(axios, basePath));
return localVarFp.getAudioStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
},
/**
*
@ -1414,7 +1438,7 @@ export const AudioApiFactory = function (configuration?: Configuration, basePath
* @throws {RequiredError}
*/
getAudioStreamByContainer(requestParameters: AudioApiGetAudioStreamByContainerRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.getAudioStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(axios, basePath));
return localVarFp.getAudioStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
},
/**
*
@ -1424,7 +1448,7 @@ export const AudioApiFactory = function (configuration?: Configuration, basePath
* @throws {RequiredError}
*/
headAudioStream(requestParameters: AudioApiHeadAudioStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.headAudioStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(axios, basePath));
return localVarFp.headAudioStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
},
/**
*
@ -1434,7 +1458,7 @@ export const AudioApiFactory = function (configuration?: Configuration, basePath
* @throws {RequiredError}
*/
headAudioStreamByContainer(requestParameters: AudioApiHeadAudioStreamByContainerRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.headAudioStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(axios, basePath));
return localVarFp.headAudioStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
},
};
};
@ -1530,7 +1554,7 @@ export interface AudioApiGetAudioStreamRequest {
readonly deviceId?: string
/**
* Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof AudioApiGetAudioStream
*/
@ -1740,7 +1764,7 @@ export interface AudioApiGetAudioStreamRequest {
readonly enableMpegtsM2TsMode?: boolean
/**
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof AudioApiGetAudioStream
*/
@ -1787,6 +1811,13 @@ export interface AudioApiGetAudioStreamRequest {
* @memberof AudioApiGetAudioStream
*/
readonly streamOptions?: { [key: string]: string; }
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof AudioApiGetAudioStream
*/
readonly enableAudioVbrEncoding?: boolean
}
/**
@ -1880,7 +1911,7 @@ export interface AudioApiGetAudioStreamByContainerRequest {
readonly deviceId?: string
/**
* Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof AudioApiGetAudioStreamByContainer
*/
@ -2090,7 +2121,7 @@ export interface AudioApiGetAudioStreamByContainerRequest {
readonly enableMpegtsM2TsMode?: boolean
/**
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof AudioApiGetAudioStreamByContainer
*/
@ -2137,6 +2168,13 @@ export interface AudioApiGetAudioStreamByContainerRequest {
* @memberof AudioApiGetAudioStreamByContainer
*/
readonly streamOptions?: { [key: string]: string; }
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof AudioApiGetAudioStreamByContainer
*/
readonly enableAudioVbrEncoding?: boolean
}
/**
@ -2230,7 +2268,7 @@ export interface AudioApiHeadAudioStreamRequest {
readonly deviceId?: string
/**
* Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof AudioApiHeadAudioStream
*/
@ -2440,7 +2478,7 @@ export interface AudioApiHeadAudioStreamRequest {
readonly enableMpegtsM2TsMode?: boolean
/**
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof AudioApiHeadAudioStream
*/
@ -2487,6 +2525,13 @@ export interface AudioApiHeadAudioStreamRequest {
* @memberof AudioApiHeadAudioStream
*/
readonly streamOptions?: { [key: string]: string; }
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof AudioApiHeadAudioStream
*/
readonly enableAudioVbrEncoding?: boolean
}
/**
@ -2580,7 +2625,7 @@ export interface AudioApiHeadAudioStreamByContainerRequest {
readonly deviceId?: string
/**
* Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof AudioApiHeadAudioStreamByContainer
*/
@ -2790,7 +2835,7 @@ export interface AudioApiHeadAudioStreamByContainerRequest {
readonly enableMpegtsM2TsMode?: boolean
/**
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof AudioApiHeadAudioStreamByContainer
*/
@ -2837,6 +2882,13 @@ export interface AudioApiHeadAudioStreamByContainerRequest {
* @memberof AudioApiHeadAudioStreamByContainer
*/
readonly streamOptions?: { [key: string]: string; }
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof AudioApiHeadAudioStreamByContainer
*/
readonly enableAudioVbrEncoding?: boolean
}
/**
@ -2855,7 +2907,7 @@ export class AudioApi extends BaseAPI {
* @memberof AudioApi
*/
public getAudioStream(requestParameters: AudioApiGetAudioStreamRequest, options?: RawAxiosRequestConfig) {
return AudioApiFp(this.configuration).getAudioStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
return AudioApiFp(this.configuration).getAudioStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
}
/**
@ -2867,7 +2919,7 @@ export class AudioApi extends BaseAPI {
* @memberof AudioApi
*/
public getAudioStreamByContainer(requestParameters: AudioApiGetAudioStreamByContainerRequest, options?: RawAxiosRequestConfig) {
return AudioApiFp(this.configuration).getAudioStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
return AudioApiFp(this.configuration).getAudioStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
}
/**
@ -2879,7 +2931,7 @@ export class AudioApi extends BaseAPI {
* @memberof AudioApi
*/
public headAudioStream(requestParameters: AudioApiHeadAudioStreamRequest, options?: RawAxiosRequestConfig) {
return AudioApiFp(this.configuration).headAudioStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
return AudioApiFp(this.configuration).headAudioStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
}
/**
@ -2891,7 +2943,7 @@ export class AudioApi extends BaseAPI {
* @memberof AudioApi
*/
public headAudioStreamByContainer(requestParameters: AudioApiHeadAudioStreamByContainerRequest, options?: RawAxiosRequestConfig) {
return AudioApiFp(this.configuration).headAudioStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
return AudioApiFp(this.configuration).headAudioStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
}
}

View File

@ -21,11 +21,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
// @ts-ignore
import type { DeviceInfo } from '../models';
import type { DeviceInfoDto } from '../models';
// @ts-ignore
import type { DeviceInfoQueryResult } from '../models';
// @ts-ignore
import type { DeviceOptions } from '../models';
import type { DeviceInfoDtoQueryResult } from '../models';
// @ts-ignore
import type { DeviceOptionsDto } from '../models';
// @ts-ignore
@ -270,7 +268,7 @@ export const DevicesApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getDeviceInfo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfo>> {
async getDeviceInfo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfoDto>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeviceInfo(id, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['DevicesApi.getDeviceInfo']?.[localVarOperationServerIndex]?.url;
@ -283,7 +281,7 @@ export const DevicesApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getDeviceOptions(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceOptions>> {
async getDeviceOptions(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceOptionsDto>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeviceOptions(id, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['DevicesApi.getDeviceOptions']?.[localVarOperationServerIndex]?.url;
@ -296,7 +294,7 @@ export const DevicesApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getDevices(userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfoQueryResult>> {
async getDevices(userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfoDtoQueryResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getDevices(userId, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['DevicesApi.getDevices']?.[localVarOperationServerIndex]?.url;
@ -343,7 +341,7 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDeviceInfo(requestParameters: DevicesApiGetDeviceInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfo> {
getDeviceInfo(requestParameters: DevicesApiGetDeviceInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfoDto> {
return localVarFp.getDeviceInfo(requestParameters.id, options).then((request) => request(axios, basePath));
},
/**
@ -353,7 +351,7 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDeviceOptions(requestParameters: DevicesApiGetDeviceOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceOptions> {
getDeviceOptions(requestParameters: DevicesApiGetDeviceOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceOptionsDto> {
return localVarFp.getDeviceOptions(requestParameters.id, options).then((request) => request(axios, basePath));
},
/**
@ -363,7 +361,7 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDevices(requestParameters: DevicesApiGetDevicesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfoQueryResult> {
getDevices(requestParameters: DevicesApiGetDevicesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfoDtoQueryResult> {
return localVarFp.getDevices(requestParameters.userId, options).then((request) => request(axios, basePath));
},
/**

File diff suppressed because it is too large Load Diff

View File

@ -107,6 +107,7 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration
* @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
* @param {boolean} [hasTrailer] Optional filter by items with trailers.
* @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
* @param {number} [indexNumber] Optional filter by index number.
* @param {number} [parentIndexNumber] Optional filter by parent index number.
* @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
* @param {boolean} [isHd] Optional filter by items that are HD or not.
@ -187,7 +188,7 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getItems: async (userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array<LocationType>, excludeLocationTypes?: Array<LocationType>, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array<string>, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, filters?: Array<ItemFilter>, isFavorite?: boolean, mediaTypes?: Array<MediaType>, imageTypes?: Array<ImageType>, sortBy?: Array<ItemSortBy>, isPlayed?: boolean, genres?: Array<string>, officialRatings?: Array<string>, tags?: Array<string>, years?: Array<number>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, person?: string, personIds?: Array<string>, personTypes?: Array<string>, studios?: Array<string>, artists?: Array<string>, excludeArtistIds?: Array<string>, artistIds?: Array<string>, albumArtistIds?: Array<string>, contributingArtistIds?: Array<string>, albums?: Array<string>, albumIds?: Array<string>, ids?: Array<string>, videoTypes?: Array<VideoType>, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array<SeriesStatus>, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array<string>, genreIds?: Array<string>, enableTotalRecordCount?: boolean, enableImages?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
getItems: async (userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, indexNumber?: number, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array<LocationType>, excludeLocationTypes?: Array<LocationType>, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array<string>, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, filters?: Array<ItemFilter>, isFavorite?: boolean, mediaTypes?: Array<MediaType>, imageTypes?: Array<ImageType>, sortBy?: Array<ItemSortBy>, isPlayed?: boolean, genres?: Array<string>, officialRatings?: Array<string>, tags?: Array<string>, years?: Array<number>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, person?: string, personIds?: Array<string>, personTypes?: Array<string>, studios?: Array<string>, artists?: Array<string>, excludeArtistIds?: Array<string>, artistIds?: Array<string>, albumArtistIds?: Array<string>, contributingArtistIds?: Array<string>, albums?: Array<string>, albumIds?: Array<string>, ids?: Array<string>, videoTypes?: Array<VideoType>, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array<SeriesStatus>, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array<string>, genreIds?: Array<string>, enableTotalRecordCount?: boolean, enableImages?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/Items`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@ -235,6 +236,10 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration
localVarQueryParameter['adjacentTo'] = adjacentTo;
}
if (indexNumber !== undefined) {
localVarQueryParameter['indexNumber'] = indexNumber;
}
if (parentIndexNumber !== undefined) {
localVarQueryParameter['parentIndexNumber'] = parentIndexNumber;
}
@ -753,6 +758,7 @@ export const ItemsApiFp = function(configuration?: Configuration) {
* @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
* @param {boolean} [hasTrailer] Optional filter by items with trailers.
* @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
* @param {number} [indexNumber] Optional filter by index number.
* @param {number} [parentIndexNumber] Optional filter by parent index number.
* @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
* @param {boolean} [isHd] Optional filter by items that are HD or not.
@ -833,8 +839,8 @@ export const ItemsApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getItems(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array<LocationType>, excludeLocationTypes?: Array<LocationType>, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array<string>, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, filters?: Array<ItemFilter>, isFavorite?: boolean, mediaTypes?: Array<MediaType>, imageTypes?: Array<ImageType>, sortBy?: Array<ItemSortBy>, isPlayed?: boolean, genres?: Array<string>, officialRatings?: Array<string>, tags?: Array<string>, years?: Array<number>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, person?: string, personIds?: Array<string>, personTypes?: Array<string>, studios?: Array<string>, artists?: Array<string>, excludeArtistIds?: Array<string>, artistIds?: Array<string>, albumArtistIds?: Array<string>, contributingArtistIds?: Array<string>, albums?: Array<string>, albumIds?: Array<string>, ids?: Array<string>, videoTypes?: Array<VideoType>, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array<SeriesStatus>, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array<string>, genreIds?: Array<string>, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options);
async getItems(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, indexNumber?: number, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array<LocationType>, excludeLocationTypes?: Array<LocationType>, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array<string>, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, filters?: Array<ItemFilter>, isFavorite?: boolean, mediaTypes?: Array<MediaType>, imageTypes?: Array<ImageType>, sortBy?: Array<ItemSortBy>, isPlayed?: boolean, genres?: Array<string>, officialRatings?: Array<string>, tags?: Array<string>, years?: Array<number>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, person?: string, personIds?: Array<string>, personTypes?: Array<string>, studios?: Array<string>, artists?: Array<string>, excludeArtistIds?: Array<string>, artistIds?: Array<string>, albumArtistIds?: Array<string>, contributingArtistIds?: Array<string>, albums?: Array<string>, albumIds?: Array<string>, ids?: Array<string>, videoTypes?: Array<VideoType>, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array<SeriesStatus>, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array<string>, genreIds?: Array<string>, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, indexNumber, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['ItemsApi.getItems']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -909,7 +915,7 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath
* @throws {RequiredError}
*/
getItems(requestParameters: ItemsApiGetItemsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult> {
return localVarFp.getItems(requestParameters.userId, requestParameters.maxOfficialRating, requestParameters.hasThemeSong, requestParameters.hasThemeVideo, requestParameters.hasSubtitles, requestParameters.hasSpecialFeature, requestParameters.hasTrailer, requestParameters.adjacentTo, requestParameters.parentIndexNumber, requestParameters.hasParentalRating, requestParameters.isHd, requestParameters.is4K, requestParameters.locationTypes, requestParameters.excludeLocationTypes, requestParameters.isMissing, requestParameters.isUnaired, requestParameters.minCommunityRating, requestParameters.minCriticRating, requestParameters.minPremiereDate, requestParameters.minDateLastSaved, requestParameters.minDateLastSavedForUser, requestParameters.maxPremiereDate, requestParameters.hasOverview, requestParameters.hasImdbId, requestParameters.hasTmdbId, requestParameters.hasTvdbId, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.excludeItemIds, requestParameters.startIndex, requestParameters.limit, requestParameters.recursive, requestParameters.searchTerm, requestParameters.sortOrder, requestParameters.parentId, requestParameters.fields, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.filters, requestParameters.isFavorite, requestParameters.mediaTypes, requestParameters.imageTypes, requestParameters.sortBy, requestParameters.isPlayed, requestParameters.genres, requestParameters.officialRatings, requestParameters.tags, requestParameters.years, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.person, requestParameters.personIds, requestParameters.personTypes, requestParameters.studios, requestParameters.artists, requestParameters.excludeArtistIds, requestParameters.artistIds, requestParameters.albumArtistIds, requestParameters.contributingArtistIds, requestParameters.albums, requestParameters.albumIds, requestParameters.ids, requestParameters.videoTypes, requestParameters.minOfficialRating, requestParameters.isLocked, requestParameters.isPlaceHolder, requestParameters.hasOfficialRating, requestParameters.collapseBoxSetItems, requestParameters.minWidth, requestParameters.minHeight, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.is3D, requestParameters.seriesStatus, requestParameters.nameStartsWithOrGreater, requestParameters.nameStartsWith, requestParameters.nameLessThan, requestParameters.studioIds, requestParameters.genreIds, requestParameters.enableTotalRecordCount, requestParameters.enableImages, options).then((request) => request(axios, basePath));
return localVarFp.getItems(requestParameters.userId, requestParameters.maxOfficialRating, requestParameters.hasThemeSong, requestParameters.hasThemeVideo, requestParameters.hasSubtitles, requestParameters.hasSpecialFeature, requestParameters.hasTrailer, requestParameters.adjacentTo, requestParameters.indexNumber, requestParameters.parentIndexNumber, requestParameters.hasParentalRating, requestParameters.isHd, requestParameters.is4K, requestParameters.locationTypes, requestParameters.excludeLocationTypes, requestParameters.isMissing, requestParameters.isUnaired, requestParameters.minCommunityRating, requestParameters.minCriticRating, requestParameters.minPremiereDate, requestParameters.minDateLastSaved, requestParameters.minDateLastSavedForUser, requestParameters.maxPremiereDate, requestParameters.hasOverview, requestParameters.hasImdbId, requestParameters.hasTmdbId, requestParameters.hasTvdbId, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.excludeItemIds, requestParameters.startIndex, requestParameters.limit, requestParameters.recursive, requestParameters.searchTerm, requestParameters.sortOrder, requestParameters.parentId, requestParameters.fields, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.filters, requestParameters.isFavorite, requestParameters.mediaTypes, requestParameters.imageTypes, requestParameters.sortBy, requestParameters.isPlayed, requestParameters.genres, requestParameters.officialRatings, requestParameters.tags, requestParameters.years, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.person, requestParameters.personIds, requestParameters.personTypes, requestParameters.studios, requestParameters.artists, requestParameters.excludeArtistIds, requestParameters.artistIds, requestParameters.albumArtistIds, requestParameters.contributingArtistIds, requestParameters.albums, requestParameters.albumIds, requestParameters.ids, requestParameters.videoTypes, requestParameters.minOfficialRating, requestParameters.isLocked, requestParameters.isPlaceHolder, requestParameters.hasOfficialRating, requestParameters.collapseBoxSetItems, requestParameters.minWidth, requestParameters.minHeight, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.is3D, requestParameters.seriesStatus, requestParameters.nameStartsWithOrGreater, requestParameters.nameStartsWith, requestParameters.nameLessThan, requestParameters.studioIds, requestParameters.genreIds, requestParameters.enableTotalRecordCount, requestParameters.enableImages, options).then((request) => request(axios, basePath));
},
/**
*
@ -1017,6 +1023,13 @@ export interface ItemsApiGetItemsRequest {
*/
readonly adjacentTo?: string
/**
* Optional filter by index number.
* @type {number}
* @memberof ItemsApiGetItems
*/
readonly indexNumber?: number
/**
* Optional filter by parent index number.
* @type {number}
@ -1725,7 +1738,7 @@ export class ItemsApi extends BaseAPI {
* @memberof ItemsApi
*/
public getItems(requestParameters: ItemsApiGetItemsRequest = {}, options?: RawAxiosRequestConfig) {
return ItemsApiFp(this.configuration).getItems(requestParameters.userId, requestParameters.maxOfficialRating, requestParameters.hasThemeSong, requestParameters.hasThemeVideo, requestParameters.hasSubtitles, requestParameters.hasSpecialFeature, requestParameters.hasTrailer, requestParameters.adjacentTo, requestParameters.parentIndexNumber, requestParameters.hasParentalRating, requestParameters.isHd, requestParameters.is4K, requestParameters.locationTypes, requestParameters.excludeLocationTypes, requestParameters.isMissing, requestParameters.isUnaired, requestParameters.minCommunityRating, requestParameters.minCriticRating, requestParameters.minPremiereDate, requestParameters.minDateLastSaved, requestParameters.minDateLastSavedForUser, requestParameters.maxPremiereDate, requestParameters.hasOverview, requestParameters.hasImdbId, requestParameters.hasTmdbId, requestParameters.hasTvdbId, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.excludeItemIds, requestParameters.startIndex, requestParameters.limit, requestParameters.recursive, requestParameters.searchTerm, requestParameters.sortOrder, requestParameters.parentId, requestParameters.fields, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.filters, requestParameters.isFavorite, requestParameters.mediaTypes, requestParameters.imageTypes, requestParameters.sortBy, requestParameters.isPlayed, requestParameters.genres, requestParameters.officialRatings, requestParameters.tags, requestParameters.years, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.person, requestParameters.personIds, requestParameters.personTypes, requestParameters.studios, requestParameters.artists, requestParameters.excludeArtistIds, requestParameters.artistIds, requestParameters.albumArtistIds, requestParameters.contributingArtistIds, requestParameters.albums, requestParameters.albumIds, requestParameters.ids, requestParameters.videoTypes, requestParameters.minOfficialRating, requestParameters.isLocked, requestParameters.isPlaceHolder, requestParameters.hasOfficialRating, requestParameters.collapseBoxSetItems, requestParameters.minWidth, requestParameters.minHeight, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.is3D, requestParameters.seriesStatus, requestParameters.nameStartsWithOrGreater, requestParameters.nameStartsWith, requestParameters.nameLessThan, requestParameters.studioIds, requestParameters.genreIds, requestParameters.enableTotalRecordCount, requestParameters.enableImages, options).then((request) => request(this.axios, this.basePath));
return ItemsApiFp(this.configuration).getItems(requestParameters.userId, requestParameters.maxOfficialRating, requestParameters.hasThemeSong, requestParameters.hasThemeVideo, requestParameters.hasSubtitles, requestParameters.hasSpecialFeature, requestParameters.hasTrailer, requestParameters.adjacentTo, requestParameters.indexNumber, requestParameters.parentIndexNumber, requestParameters.hasParentalRating, requestParameters.isHd, requestParameters.is4K, requestParameters.locationTypes, requestParameters.excludeLocationTypes, requestParameters.isMissing, requestParameters.isUnaired, requestParameters.minCommunityRating, requestParameters.minCriticRating, requestParameters.minPremiereDate, requestParameters.minDateLastSaved, requestParameters.minDateLastSavedForUser, requestParameters.maxPremiereDate, requestParameters.hasOverview, requestParameters.hasImdbId, requestParameters.hasTmdbId, requestParameters.hasTvdbId, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.excludeItemIds, requestParameters.startIndex, requestParameters.limit, requestParameters.recursive, requestParameters.searchTerm, requestParameters.sortOrder, requestParameters.parentId, requestParameters.fields, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.filters, requestParameters.isFavorite, requestParameters.mediaTypes, requestParameters.imageTypes, requestParameters.sortBy, requestParameters.isPlayed, requestParameters.genres, requestParameters.officialRatings, requestParameters.tags, requestParameters.years, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.person, requestParameters.personIds, requestParameters.personTypes, requestParameters.studios, requestParameters.artists, requestParameters.excludeArtistIds, requestParameters.artistIds, requestParameters.albumArtistIds, requestParameters.contributingArtistIds, requestParameters.albums, requestParameters.albumIds, requestParameters.ids, requestParameters.videoTypes, requestParameters.minOfficialRating, requestParameters.isLocked, requestParameters.isPlaceHolder, requestParameters.hasOfficialRating, requestParameters.collapseBoxSetItems, requestParameters.minWidth, requestParameters.minHeight, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.is3D, requestParameters.seriesStatus, requestParameters.nameStartsWithOrGreater, requestParameters.nameStartsWith, requestParameters.nameLessThan, requestParameters.studioIds, requestParameters.genreIds, requestParameters.enableTotalRecordCount, requestParameters.enableImages, options).then((request) => request(this.axios, this.basePath));
}
/**

View File

@ -33,12 +33,16 @@ import type { ItemCounts } from '../models';
// @ts-ignore
import type { ItemFields } from '../models';
// @ts-ignore
import type { ItemSortBy } from '../models';
// @ts-ignore
import type { LibraryOptionsResultDto } from '../models';
// @ts-ignore
import type { MediaUpdateInfoDto } from '../models';
// @ts-ignore
import type { ProblemDetails } from '../models';
// @ts-ignore
import type { SortOrder } from '../models';
// @ts-ignore
import type { ThemeMediaResult } from '../models';
/**
* LibraryApi - axios parameter creator
@ -780,10 +784,12 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati
* @param {string} itemId The item id.
* @param {string} [userId] Optional. Filter by user id, and attach user data.
* @param {boolean} [inheritFromParent] Optional. Determines whether or not parent items should be searched for theme media.
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
* @param {Array<SortOrder>} [sortOrder] Optional. Sort Order - Ascending, Descending.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getThemeMedia: async (itemId: string, userId?: string, inheritFromParent?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
getThemeMedia: async (itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('getThemeMedia', 'itemId', itemId)
const localVarPath = `/Items/{itemId}/ThemeMedia`
@ -810,6 +816,14 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati
localVarQueryParameter['inheritFromParent'] = inheritFromParent;
}
if (sortBy) {
localVarQueryParameter['sortBy'] = sortBy;
}
if (sortOrder) {
localVarQueryParameter['sortOrder'] = sortOrder;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -827,10 +841,12 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati
* @param {string} itemId The item id.
* @param {string} [userId] Optional. Filter by user id, and attach user data.
* @param {boolean} [inheritFromParent] Optional. Determines whether or not parent items should be searched for theme media.
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
* @param {Array<SortOrder>} [sortOrder] Optional. Sort Order - Ascending, Descending.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getThemeSongs: async (itemId: string, userId?: string, inheritFromParent?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
getThemeSongs: async (itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('getThemeSongs', 'itemId', itemId)
const localVarPath = `/Items/{itemId}/ThemeSongs`
@ -857,6 +873,14 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati
localVarQueryParameter['inheritFromParent'] = inheritFromParent;
}
if (sortBy) {
localVarQueryParameter['sortBy'] = sortBy;
}
if (sortOrder) {
localVarQueryParameter['sortOrder'] = sortOrder;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -874,10 +898,12 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati
* @param {string} itemId The item id.
* @param {string} [userId] Optional. Filter by user id, and attach user data.
* @param {boolean} [inheritFromParent] Optional. Determines whether or not parent items should be searched for theme media.
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
* @param {Array<SortOrder>} [sortOrder] Optional. Sort Order - Ascending, Descending.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getThemeVideos: async (itemId: string, userId?: string, inheritFromParent?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
getThemeVideos: async (itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('getThemeVideos', 'itemId', itemId)
const localVarPath = `/Items/{itemId}/ThemeVideos`
@ -904,6 +930,14 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati
localVarQueryParameter['inheritFromParent'] = inheritFromParent;
}
if (sortBy) {
localVarQueryParameter['sortBy'] = sortBy;
}
if (sortOrder) {
localVarQueryParameter['sortOrder'] = sortOrder;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -1400,11 +1434,13 @@ export const LibraryApiFp = function(configuration?: Configuration) {
* @param {string} itemId The item id.
* @param {string} [userId] Optional. Filter by user id, and attach user data.
* @param {boolean} [inheritFromParent] Optional. Determines whether or not parent items should be searched for theme media.
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
* @param {Array<SortOrder>} [sortOrder] Optional. Sort Order - Ascending, Descending.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getThemeMedia(itemId: string, userId?: string, inheritFromParent?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllThemeMediaResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemeMedia(itemId, userId, inheritFromParent, options);
async getThemeMedia(itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllThemeMediaResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemeMedia(itemId, userId, inheritFromParent, sortBy, sortOrder, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['LibraryApi.getThemeMedia']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1415,11 +1451,13 @@ export const LibraryApiFp = function(configuration?: Configuration) {
* @param {string} itemId The item id.
* @param {string} [userId] Optional. Filter by user id, and attach user data.
* @param {boolean} [inheritFromParent] Optional. Determines whether or not parent items should be searched for theme media.
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
* @param {Array<SortOrder>} [sortOrder] Optional. Sort Order - Ascending, Descending.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getThemeSongs(itemId: string, userId?: string, inheritFromParent?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemeSongs(itemId, userId, inheritFromParent, options);
async getThemeSongs(itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemeSongs(itemId, userId, inheritFromParent, sortBy, sortOrder, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['LibraryApi.getThemeSongs']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1430,11 +1468,13 @@ export const LibraryApiFp = function(configuration?: Configuration) {
* @param {string} itemId The item id.
* @param {string} [userId] Optional. Filter by user id, and attach user data.
* @param {boolean} [inheritFromParent] Optional. Determines whether or not parent items should be searched for theme media.
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
* @param {Array<SortOrder>} [sortOrder] Optional. Sort Order - Ascending, Descending.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getThemeVideos(itemId: string, userId?: string, inheritFromParent?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemeVideos(itemId, userId, inheritFromParent, options);
async getThemeVideos(itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemeVideos(itemId, userId, inheritFromParent, sortBy, sortOrder, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['LibraryApi.getThemeVideos']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1696,7 +1736,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa
* @throws {RequiredError}
*/
getThemeMedia(requestParameters: LibraryApiGetThemeMediaRequest, options?: RawAxiosRequestConfig): AxiosPromise<AllThemeMediaResult> {
return localVarFp.getThemeMedia(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, options).then((request) => request(axios, basePath));
return localVarFp.getThemeMedia(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
},
/**
*
@ -1706,7 +1746,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa
* @throws {RequiredError}
*/
getThemeSongs(requestParameters: LibraryApiGetThemeSongsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ThemeMediaResult> {
return localVarFp.getThemeSongs(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, options).then((request) => request(axios, basePath));
return localVarFp.getThemeSongs(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
},
/**
*
@ -1716,7 +1756,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa
* @throws {RequiredError}
*/
getThemeVideos(requestParameters: LibraryApiGetThemeVideosRequest, options?: RawAxiosRequestConfig): AxiosPromise<ThemeMediaResult> {
return localVarFp.getThemeVideos(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, options).then((request) => request(axios, basePath));
return localVarFp.getThemeVideos(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
},
/**
*
@ -2205,6 +2245,20 @@ export interface LibraryApiGetThemeMediaRequest {
* @memberof LibraryApiGetThemeMedia
*/
readonly inheritFromParent?: boolean
/**
* Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
* @type {Array<ItemSortBy>}
* @memberof LibraryApiGetThemeMedia
*/
readonly sortBy?: Array<ItemSortBy>
/**
* Optional. Sort Order - Ascending, Descending.
* @type {Array<SortOrder>}
* @memberof LibraryApiGetThemeMedia
*/
readonly sortOrder?: Array<SortOrder>
}
/**
@ -2233,6 +2287,20 @@ export interface LibraryApiGetThemeSongsRequest {
* @memberof LibraryApiGetThemeSongs
*/
readonly inheritFromParent?: boolean
/**
* Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
* @type {Array<ItemSortBy>}
* @memberof LibraryApiGetThemeSongs
*/
readonly sortBy?: Array<ItemSortBy>
/**
* Optional. Sort Order - Ascending, Descending.
* @type {Array<SortOrder>}
* @memberof LibraryApiGetThemeSongs
*/
readonly sortOrder?: Array<SortOrder>
}
/**
@ -2261,6 +2329,20 @@ export interface LibraryApiGetThemeVideosRequest {
* @memberof LibraryApiGetThemeVideos
*/
readonly inheritFromParent?: boolean
/**
* Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
* @type {Array<ItemSortBy>}
* @memberof LibraryApiGetThemeVideos
*/
readonly sortBy?: Array<ItemSortBy>
/**
* Optional. Sort Order - Ascending, Descending.
* @type {Array<SortOrder>}
* @memberof LibraryApiGetThemeVideos
*/
readonly sortOrder?: Array<SortOrder>
}
/**
@ -2555,7 +2637,7 @@ export class LibraryApi extends BaseAPI {
* @memberof LibraryApi
*/
public getThemeMedia(requestParameters: LibraryApiGetThemeMediaRequest, options?: RawAxiosRequestConfig) {
return LibraryApiFp(this.configuration).getThemeMedia(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, options).then((request) => request(this.axios, this.basePath));
return LibraryApiFp(this.configuration).getThemeMedia(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
}
/**
@ -2567,7 +2649,7 @@ export class LibraryApi extends BaseAPI {
* @memberof LibraryApi
*/
public getThemeSongs(requestParameters: LibraryApiGetThemeSongsRequest, options?: RawAxiosRequestConfig) {
return LibraryApiFp(this.configuration).getThemeSongs(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, options).then((request) => request(this.axios, this.basePath));
return LibraryApiFp(this.configuration).getThemeSongs(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
}
/**
@ -2579,7 +2661,7 @@ export class LibraryApi extends BaseAPI {
* @memberof LibraryApi
*/
public getThemeVideos(requestParameters: LibraryApiGetThemeVideosRequest, options?: RawAxiosRequestConfig) {
return LibraryApiFp(this.configuration).getThemeVideos(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, options).then((request) => request(this.axios, this.basePath));
return LibraryApiFp(this.configuration).getThemeVideos(requestParameters.itemId, requestParameters.userId, requestParameters.inheritFromParent, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
}
/**

View File

@ -281,11 +281,12 @@ export const MediaInfoApiAxiosParamCreator = function (configuration?: Configura
* @param {string} [itemId] The item id.
* @param {boolean} [enableDirectPlay] Whether to enable direct play. Default: true.
* @param {boolean} [enableDirectStream] Whether to enable direct stream. Default: true.
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Always burn-in subtitle when transcoding.
* @param {OpenLiveStreamDto} [openLiveStreamDto] The open live stream dto.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
openLiveStream: async (openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
openLiveStream: async (openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/LiveStreams/Open`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@ -345,6 +346,10 @@ export const MediaInfoApiAxiosParamCreator = function (configuration?: Configura
localVarQueryParameter['enableDirectStream'] = enableDirectStream;
}
if (alwaysBurnInSubtitleWhenTranscoding !== undefined) {
localVarQueryParameter['alwaysBurnInSubtitleWhenTranscoding'] = alwaysBurnInSubtitleWhenTranscoding;
}
localVarHeaderParameter['Content-Type'] = 'application/json';
@ -451,12 +456,13 @@ export const MediaInfoApiFp = function(configuration?: Configuration) {
* @param {string} [itemId] The item id.
* @param {boolean} [enableDirectPlay] Whether to enable direct play. Default: true.
* @param {boolean} [enableDirectStream] Whether to enable direct stream. Default: true.
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Always burn-in subtitle when transcoding.
* @param {OpenLiveStreamDto} [openLiveStreamDto] The open live stream dto.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async openLiveStream(openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LiveStreamResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto, options);
async openLiveStream(openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LiveStreamResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, alwaysBurnInSubtitleWhenTranscoding, openLiveStreamDto, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['MediaInfoApi.openLiveStream']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -519,7 +525,7 @@ export const MediaInfoApiFactory = function (configuration?: Configuration, base
* @throws {RequiredError}
*/
openLiveStream(requestParameters: MediaInfoApiOpenLiveStreamRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<LiveStreamResponse> {
return localVarFp.openLiveStream(requestParameters.openToken, requestParameters.userId, requestParameters.playSessionId, requestParameters.maxStreamingBitrate, requestParameters.startTimeTicks, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.maxAudioChannels, requestParameters.itemId, requestParameters.enableDirectPlay, requestParameters.enableDirectStream, requestParameters.openLiveStreamDto, options).then((request) => request(axios, basePath));
return localVarFp.openLiveStream(requestParameters.openToken, requestParameters.userId, requestParameters.playSessionId, requestParameters.maxStreamingBitrate, requestParameters.startTimeTicks, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.maxAudioChannels, requestParameters.itemId, requestParameters.enableDirectPlay, requestParameters.enableDirectStream, requestParameters.alwaysBurnInSubtitleWhenTranscoding, requestParameters.openLiveStreamDto, options).then((request) => request(axios, basePath));
},
};
};
@ -775,6 +781,13 @@ export interface MediaInfoApiOpenLiveStreamRequest {
*/
readonly enableDirectStream?: boolean
/**
* Always burn-in subtitle when transcoding.
* @type {boolean}
* @memberof MediaInfoApiOpenLiveStream
*/
readonly alwaysBurnInSubtitleWhenTranscoding?: boolean
/**
* The open live stream dto.
* @type {OpenLiveStreamDto}
@ -847,7 +860,7 @@ export class MediaInfoApi extends BaseAPI {
* @memberof MediaInfoApi
*/
public openLiveStream(requestParameters: MediaInfoApiOpenLiveStreamRequest = {}, options?: RawAxiosRequestConfig) {
return MediaInfoApiFp(this.configuration).openLiveStream(requestParameters.openToken, requestParameters.userId, requestParameters.playSessionId, requestParameters.maxStreamingBitrate, requestParameters.startTimeTicks, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.maxAudioChannels, requestParameters.itemId, requestParameters.enableDirectPlay, requestParameters.enableDirectStream, requestParameters.openLiveStreamDto, options).then((request) => request(this.axios, this.basePath));
return MediaInfoApiFp(this.configuration).openLiveStream(requestParameters.openToken, requestParameters.userId, requestParameters.playSessionId, requestParameters.maxStreamingBitrate, requestParameters.startTimeTicks, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.maxAudioChannels, requestParameters.itemId, requestParameters.enableDirectPlay, requestParameters.enableDirectStream, requestParameters.alwaysBurnInSubtitleWhenTranscoding, requestParameters.openLiveStreamDto, options).then((request) => request(this.axios, this.basePath));
}
}

View File

@ -0,0 +1,164 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import globalAxios from 'axios';
// Some imports not used depending on template conditions
// @ts-ignore
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
// @ts-ignore
import type { MediaSegmentDtoQueryResult } from '../models';
// @ts-ignore
import type { MediaSegmentType } from '../models';
// @ts-ignore
import type { ProblemDetails } from '../models';
/**
* MediaSegmentsApi - axios parameter creator
* @export
*/
export const MediaSegmentsApiAxiosParamCreator = function (configuration?: Configuration) {
return {
/**
*
* @summary Gets all media segments based on an itemId.
* @param {string} itemId The ItemId.
* @param {Array<MediaSegmentType>} [includeSegmentTypes] Optional filter of requested segment types.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getItemSegments: async (itemId: string, includeSegmentTypes?: Array<MediaSegmentType>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('getItemSegments', 'itemId', itemId)
const localVarPath = `/MediaSegments/{itemId}`
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
// authentication CustomAuthentication required
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
if (includeSegmentTypes) {
localVarQueryParameter['includeSegmentTypes'] = includeSegmentTypes;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
}
};
/**
* MediaSegmentsApi - functional programming interface
* @export
*/
export const MediaSegmentsApiFp = function(configuration?: Configuration) {
const localVarAxiosParamCreator = MediaSegmentsApiAxiosParamCreator(configuration)
return {
/**
*
* @summary Gets all media segments based on an itemId.
* @param {string} itemId The ItemId.
* @param {Array<MediaSegmentType>} [includeSegmentTypes] Optional filter of requested segment types.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getItemSegments(itemId: string, includeSegmentTypes?: Array<MediaSegmentType>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaSegmentDtoQueryResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getItemSegments(itemId, includeSegmentTypes, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['MediaSegmentsApi.getItemSegments']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
}
};
/**
* MediaSegmentsApi - factory interface
* @export
*/
export const MediaSegmentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
const localVarFp = MediaSegmentsApiFp(configuration)
return {
/**
*
* @summary Gets all media segments based on an itemId.
* @param {MediaSegmentsApiGetItemSegmentsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getItemSegments(requestParameters: MediaSegmentsApiGetItemSegmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<MediaSegmentDtoQueryResult> {
return localVarFp.getItemSegments(requestParameters.itemId, requestParameters.includeSegmentTypes, options).then((request) => request(axios, basePath));
},
};
};
/**
* Request parameters for getItemSegments operation in MediaSegmentsApi.
* @export
* @interface MediaSegmentsApiGetItemSegmentsRequest
*/
export interface MediaSegmentsApiGetItemSegmentsRequest {
/**
* The ItemId.
* @type {string}
* @memberof MediaSegmentsApiGetItemSegments
*/
readonly itemId: string
/**
* Optional filter of requested segment types.
* @type {Array<MediaSegmentType>}
* @memberof MediaSegmentsApiGetItemSegments
*/
readonly includeSegmentTypes?: Array<MediaSegmentType>
}
/**
* MediaSegmentsApi - object-oriented interface
* @export
* @class MediaSegmentsApi
* @extends {BaseAPI}
*/
export class MediaSegmentsApi extends BaseAPI {
/**
*
* @summary Gets all media segments based on an itemId.
* @param {MediaSegmentsApiGetItemSegmentsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof MediaSegmentsApi
*/
public getItemSegments(requestParameters: MediaSegmentsApiGetItemSegmentsRequest, options?: RawAxiosRequestConfig) {
return MediaSegmentsApiFp(this.configuration).getItemSegments(requestParameters.itemId, requestParameters.includeSegmentTypes, options).then((request) => request(this.axios, this.basePath));
}
}

View File

@ -33,6 +33,8 @@ import type { MediaType } from '../models';
// @ts-ignore
import type { PlaylistCreationResult } from '../models';
// @ts-ignore
import type { PlaylistDto } from '../models';
// @ts-ignore
import type { PlaylistUserPermissions } from '../models';
// @ts-ignore
import type { ProblemDetails } from '../models';
@ -150,6 +152,43 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura
options: localVarRequestOptions,
};
},
/**
*
* @summary Get a playlist.
* @param {string} playlistId The playlist id.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getPlaylist: async (playlistId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'playlistId' is not null or undefined
assertParamExists('getPlaylist', 'playlistId', playlistId)
const localVarPath = `/Playlists/{playlistId}`
.replace(`{${"playlistId"}}`, encodeURIComponent(String(playlistId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
// authentication CustomAuthentication required
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
*
* @summary Gets the original items of a playlist.
@ -565,6 +604,19 @@ export const PlaylistsApiFp = function(configuration?: Configuration) {
const localVarOperationServerBasePath = operationServerMap['PlaylistsApi.createPlaylist']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @summary Get a playlist.
* @param {string} playlistId The playlist id.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getPlaylist(playlistId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistDto>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlaylist(playlistId, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['PlaylistsApi.getPlaylist']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @summary Gets the original items of a playlist.
@ -715,6 +767,16 @@ export const PlaylistsApiFactory = function (configuration?: Configuration, base
createPlaylist(requestParameters: PlaylistsApiCreatePlaylistRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PlaylistCreationResult> {
return localVarFp.createPlaylist(requestParameters.name, requestParameters.ids, requestParameters.userId, requestParameters.mediaType, requestParameters.createPlaylistDto, options).then((request) => request(axios, basePath));
},
/**
*
* @summary Get a playlist.
* @param {PlaylistsApiGetPlaylistRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getPlaylist(requestParameters: PlaylistsApiGetPlaylistRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlaylistDto> {
return localVarFp.getPlaylist(requestParameters.playlistId, options).then((request) => request(axios, basePath));
},
/**
*
* @summary Gets the original items of a playlist.
@ -868,6 +930,20 @@ export interface PlaylistsApiCreatePlaylistRequest {
readonly createPlaylistDto?: CreatePlaylistDto
}
/**
* Request parameters for getPlaylist operation in PlaylistsApi.
* @export
* @interface PlaylistsApiGetPlaylistRequest
*/
export interface PlaylistsApiGetPlaylistRequest {
/**
* The playlist id.
* @type {string}
* @memberof PlaylistsApiGetPlaylist
*/
readonly playlistId: string
}
/**
* Request parameters for getPlaylistItems operation in PlaylistsApi.
* @export
@ -1123,6 +1199,18 @@ export class PlaylistsApi extends BaseAPI {
return PlaylistsApiFp(this.configuration).createPlaylist(requestParameters.name, requestParameters.ids, requestParameters.userId, requestParameters.mediaType, requestParameters.createPlaylistDto, options).then((request) => request(this.axios, this.basePath));
}
/**
*
* @summary Get a playlist.
* @param {PlaylistsApiGetPlaylistRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PlaylistsApi
*/
public getPlaylist(requestParameters: PlaylistsApiGetPlaylistRequest, options?: RawAxiosRequestConfig) {
return PlaylistsApiFp(this.configuration).getPlaylist(requestParameters.playlistId, options).then((request) => request(this.axios, this.basePath));
}
/**
*
* @summary Gets the original items of a playlist.

View File

@ -39,7 +39,7 @@ import type { PlayCommand } from '../models';
// @ts-ignore
import type { PlaystateCommand } from '../models';
// @ts-ignore
import type { SessionInfo } from '../models';
import type { SessionInfoDto } from '../models';
/**
* SessionApi - axios parameter creator
* @export
@ -848,7 +848,7 @@ export const SessionApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getSessions(controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SessionInfo>>> {
async getSessions(controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SessionInfoDto>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessions(controllableByUserId, deviceId, activeWithinSeconds, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['SessionApi.getSessions']?.[localVarOperationServerIndex]?.url;
@ -1072,7 +1072,7 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getSessions(requestParameters: SessionApiGetSessionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Array<SessionInfo>> {
getSessions(requestParameters: SessionApiGetSessionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Array<SessionInfoDto>> {
return localVarFp.getSessions(requestParameters.controllableByUserId, requestParameters.deviceId, requestParameters.activeWithinSeconds, options).then((request) => request(axios, basePath));
},
/**

View File

@ -49,12 +49,13 @@ export const UniversalAudioApiAxiosParamCreator = function (configuration?: Conf
* @param {number} [maxAudioSampleRate] Optional. The maximum audio sample rate.
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
* @param {boolean} [enableRemoteMedia] Optional. Whether to enable remote media.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
* @param {boolean} [enableRedirection] Whether to enable redirection. Defaults to true.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUniversalAudioStream: async (itemId: string, container?: Array<string>, mediaSourceId?: string, deviceId?: string, userId?: string, audioCodec?: string, maxAudioChannels?: number, transcodingAudioChannels?: number, maxStreamingBitrate?: number, audioBitRate?: number, startTimeTicks?: number, transcodingContainer?: string, transcodingProtocol?: MediaStreamProtocol, maxAudioSampleRate?: number, maxAudioBitDepth?: number, enableRemoteMedia?: boolean, breakOnNonKeyFrames?: boolean, enableRedirection?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
getUniversalAudioStream: async (itemId: string, container?: Array<string>, mediaSourceId?: string, deviceId?: string, userId?: string, audioCodec?: string, maxAudioChannels?: number, transcodingAudioChannels?: number, maxStreamingBitrate?: number, audioBitRate?: number, startTimeTicks?: number, transcodingContainer?: string, transcodingProtocol?: MediaStreamProtocol, maxAudioSampleRate?: number, maxAudioBitDepth?: number, enableRemoteMedia?: boolean, enableAudioVbrEncoding?: boolean, breakOnNonKeyFrames?: boolean, enableRedirection?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('getUniversalAudioStream', 'itemId', itemId)
const localVarPath = `/Audio/{itemId}/universal`
@ -133,6 +134,10 @@ export const UniversalAudioApiAxiosParamCreator = function (configuration?: Conf
localVarQueryParameter['enableRemoteMedia'] = enableRemoteMedia;
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
if (breakOnNonKeyFrames !== undefined) {
localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
}
@ -171,12 +176,13 @@ export const UniversalAudioApiAxiosParamCreator = function (configuration?: Conf
* @param {number} [maxAudioSampleRate] Optional. The maximum audio sample rate.
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
* @param {boolean} [enableRemoteMedia] Optional. Whether to enable remote media.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
* @param {boolean} [enableRedirection] Whether to enable redirection. Defaults to true.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
headUniversalAudioStream: async (itemId: string, container?: Array<string>, mediaSourceId?: string, deviceId?: string, userId?: string, audioCodec?: string, maxAudioChannels?: number, transcodingAudioChannels?: number, maxStreamingBitrate?: number, audioBitRate?: number, startTimeTicks?: number, transcodingContainer?: string, transcodingProtocol?: MediaStreamProtocol, maxAudioSampleRate?: number, maxAudioBitDepth?: number, enableRemoteMedia?: boolean, breakOnNonKeyFrames?: boolean, enableRedirection?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
headUniversalAudioStream: async (itemId: string, container?: Array<string>, mediaSourceId?: string, deviceId?: string, userId?: string, audioCodec?: string, maxAudioChannels?: number, transcodingAudioChannels?: number, maxStreamingBitrate?: number, audioBitRate?: number, startTimeTicks?: number, transcodingContainer?: string, transcodingProtocol?: MediaStreamProtocol, maxAudioSampleRate?: number, maxAudioBitDepth?: number, enableRemoteMedia?: boolean, enableAudioVbrEncoding?: boolean, breakOnNonKeyFrames?: boolean, enableRedirection?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('headUniversalAudioStream', 'itemId', itemId)
const localVarPath = `/Audio/{itemId}/universal`
@ -255,6 +261,10 @@ export const UniversalAudioApiAxiosParamCreator = function (configuration?: Conf
localVarQueryParameter['enableRemoteMedia'] = enableRemoteMedia;
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
if (breakOnNonKeyFrames !== undefined) {
localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
}
@ -303,13 +313,14 @@ export const UniversalAudioApiFp = function(configuration?: Configuration) {
* @param {number} [maxAudioSampleRate] Optional. The maximum audio sample rate.
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
* @param {boolean} [enableRemoteMedia] Optional. Whether to enable remote media.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
* @param {boolean} [enableRedirection] Whether to enable redirection. Defaults to true.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getUniversalAudioStream(itemId: string, container?: Array<string>, mediaSourceId?: string, deviceId?: string, userId?: string, audioCodec?: string, maxAudioChannels?: number, transcodingAudioChannels?: number, maxStreamingBitrate?: number, audioBitRate?: number, startTimeTicks?: number, transcodingContainer?: string, transcodingProtocol?: MediaStreamProtocol, maxAudioSampleRate?: number, maxAudioBitDepth?: number, enableRemoteMedia?: boolean, breakOnNonKeyFrames?: boolean, enableRedirection?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection, options);
async getUniversalAudioStream(itemId: string, container?: Array<string>, mediaSourceId?: string, deviceId?: string, userId?: string, audioCodec?: string, maxAudioChannels?: number, transcodingAudioChannels?: number, maxStreamingBitrate?: number, audioBitRate?: number, startTimeTicks?: number, transcodingContainer?: string, transcodingProtocol?: MediaStreamProtocol, maxAudioSampleRate?: number, maxAudioBitDepth?: number, enableRemoteMedia?: boolean, enableAudioVbrEncoding?: boolean, breakOnNonKeyFrames?: boolean, enableRedirection?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['UniversalAudioApi.getUniversalAudioStream']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -333,13 +344,14 @@ export const UniversalAudioApiFp = function(configuration?: Configuration) {
* @param {number} [maxAudioSampleRate] Optional. The maximum audio sample rate.
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
* @param {boolean} [enableRemoteMedia] Optional. Whether to enable remote media.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
* @param {boolean} [enableRedirection] Whether to enable redirection. Defaults to true.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async headUniversalAudioStream(itemId: string, container?: Array<string>, mediaSourceId?: string, deviceId?: string, userId?: string, audioCodec?: string, maxAudioChannels?: number, transcodingAudioChannels?: number, maxStreamingBitrate?: number, audioBitRate?: number, startTimeTicks?: number, transcodingContainer?: string, transcodingProtocol?: MediaStreamProtocol, maxAudioSampleRate?: number, maxAudioBitDepth?: number, enableRemoteMedia?: boolean, breakOnNonKeyFrames?: boolean, enableRedirection?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection, options);
async headUniversalAudioStream(itemId: string, container?: Array<string>, mediaSourceId?: string, deviceId?: string, userId?: string, audioCodec?: string, maxAudioChannels?: number, transcodingAudioChannels?: number, maxStreamingBitrate?: number, audioBitRate?: number, startTimeTicks?: number, transcodingContainer?: string, transcodingProtocol?: MediaStreamProtocol, maxAudioSampleRate?: number, maxAudioBitDepth?: number, enableRemoteMedia?: boolean, enableAudioVbrEncoding?: boolean, breakOnNonKeyFrames?: boolean, enableRedirection?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['UniversalAudioApi.headUniversalAudioStream']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -362,7 +374,7 @@ export const UniversalAudioApiFactory = function (configuration?: Configuration,
* @throws {RequiredError}
*/
getUniversalAudioStream(requestParameters: UniversalAudioApiGetUniversalAudioStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.getUniversalAudioStream(requestParameters.itemId, requestParameters.container, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.userId, requestParameters.audioCodec, requestParameters.maxAudioChannels, requestParameters.transcodingAudioChannels, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.startTimeTicks, requestParameters.transcodingContainer, requestParameters.transcodingProtocol, requestParameters.maxAudioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.enableRemoteMedia, requestParameters.breakOnNonKeyFrames, requestParameters.enableRedirection, options).then((request) => request(axios, basePath));
return localVarFp.getUniversalAudioStream(requestParameters.itemId, requestParameters.container, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.userId, requestParameters.audioCodec, requestParameters.maxAudioChannels, requestParameters.transcodingAudioChannels, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.startTimeTicks, requestParameters.transcodingContainer, requestParameters.transcodingProtocol, requestParameters.maxAudioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.enableRemoteMedia, requestParameters.enableAudioVbrEncoding, requestParameters.breakOnNonKeyFrames, requestParameters.enableRedirection, options).then((request) => request(axios, basePath));
},
/**
*
@ -372,7 +384,7 @@ export const UniversalAudioApiFactory = function (configuration?: Configuration,
* @throws {RequiredError}
*/
headUniversalAudioStream(requestParameters: UniversalAudioApiHeadUniversalAudioStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.headUniversalAudioStream(requestParameters.itemId, requestParameters.container, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.userId, requestParameters.audioCodec, requestParameters.maxAudioChannels, requestParameters.transcodingAudioChannels, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.startTimeTicks, requestParameters.transcodingContainer, requestParameters.transcodingProtocol, requestParameters.maxAudioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.enableRemoteMedia, requestParameters.breakOnNonKeyFrames, requestParameters.enableRedirection, options).then((request) => request(axios, basePath));
return localVarFp.headUniversalAudioStream(requestParameters.itemId, requestParameters.container, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.userId, requestParameters.audioCodec, requestParameters.maxAudioChannels, requestParameters.transcodingAudioChannels, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.startTimeTicks, requestParameters.transcodingContainer, requestParameters.transcodingProtocol, requestParameters.maxAudioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.enableRemoteMedia, requestParameters.enableAudioVbrEncoding, requestParameters.breakOnNonKeyFrames, requestParameters.enableRedirection, options).then((request) => request(axios, basePath));
},
};
};
@ -495,6 +507,13 @@ export interface UniversalAudioApiGetUniversalAudioStreamRequest {
*/
readonly enableRemoteMedia?: boolean
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof UniversalAudioApiGetUniversalAudioStream
*/
readonly enableAudioVbrEncoding?: boolean
/**
* Optional. Whether to break on non key frames.
* @type {boolean}
@ -628,6 +647,13 @@ export interface UniversalAudioApiHeadUniversalAudioStreamRequest {
*/
readonly enableRemoteMedia?: boolean
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof UniversalAudioApiHeadUniversalAudioStream
*/
readonly enableAudioVbrEncoding?: boolean
/**
* Optional. Whether to break on non key frames.
* @type {boolean}
@ -659,7 +685,7 @@ export class UniversalAudioApi extends BaseAPI {
* @memberof UniversalAudioApi
*/
public getUniversalAudioStream(requestParameters: UniversalAudioApiGetUniversalAudioStreamRequest, options?: RawAxiosRequestConfig) {
return UniversalAudioApiFp(this.configuration).getUniversalAudioStream(requestParameters.itemId, requestParameters.container, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.userId, requestParameters.audioCodec, requestParameters.maxAudioChannels, requestParameters.transcodingAudioChannels, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.startTimeTicks, requestParameters.transcodingContainer, requestParameters.transcodingProtocol, requestParameters.maxAudioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.enableRemoteMedia, requestParameters.breakOnNonKeyFrames, requestParameters.enableRedirection, options).then((request) => request(this.axios, this.basePath));
return UniversalAudioApiFp(this.configuration).getUniversalAudioStream(requestParameters.itemId, requestParameters.container, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.userId, requestParameters.audioCodec, requestParameters.maxAudioChannels, requestParameters.transcodingAudioChannels, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.startTimeTicks, requestParameters.transcodingContainer, requestParameters.transcodingProtocol, requestParameters.maxAudioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.enableRemoteMedia, requestParameters.enableAudioVbrEncoding, requestParameters.breakOnNonKeyFrames, requestParameters.enableRedirection, options).then((request) => request(this.axios, this.basePath));
}
/**
@ -671,7 +697,7 @@ export class UniversalAudioApi extends BaseAPI {
* @memberof UniversalAudioApi
*/
public headUniversalAudioStream(requestParameters: UniversalAudioApiHeadUniversalAudioStreamRequest, options?: RawAxiosRequestConfig) {
return UniversalAudioApiFp(this.configuration).headUniversalAudioStream(requestParameters.itemId, requestParameters.container, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.userId, requestParameters.audioCodec, requestParameters.maxAudioChannels, requestParameters.transcodingAudioChannels, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.startTimeTicks, requestParameters.transcodingContainer, requestParameters.transcodingProtocol, requestParameters.maxAudioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.enableRemoteMedia, requestParameters.breakOnNonKeyFrames, requestParameters.enableRedirection, options).then((request) => request(this.axios, this.basePath));
return UniversalAudioApiFp(this.configuration).headUniversalAudioStream(requestParameters.itemId, requestParameters.container, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.userId, requestParameters.audioCodec, requestParameters.maxAudioChannels, requestParameters.transcodingAudioChannels, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.startTimeTicks, requestParameters.transcodingContainer, requestParameters.transcodingProtocol, requestParameters.maxAudioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.enableRemoteMedia, requestParameters.enableAudioVbrEncoding, requestParameters.breakOnNonKeyFrames, requestParameters.enableRedirection, options).then((request) => request(this.axios, this.basePath));
}
}

View File

@ -128,7 +128,7 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -160,17 +160,18 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getVideoStream: async (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
getVideoStream: async (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('getVideoStream', 'itemId', itemId)
const localVarPath = `/Videos/{itemId}/stream`
@ -388,6 +389,10 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
}
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -414,7 +419,7 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -446,17 +451,18 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getVideoStreamByContainer: async (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
getVideoStreamByContainer: async (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('getVideoStreamByContainer', 'itemId', itemId)
// verify required parameter 'container' is not null or undefined
@ -673,6 +679,10 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
}
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -699,7 +709,7 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -731,17 +741,18 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
headVideoStream: async (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
headVideoStream: async (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('headVideoStream', 'itemId', itemId)
const localVarPath = `/Videos/{itemId}/stream`
@ -959,6 +970,10 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
}
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -985,7 +1000,7 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -1017,17 +1032,18 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
headVideoStreamByContainer: async (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
headVideoStreamByContainer: async (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'itemId' is not null or undefined
assertParamExists('headVideoStreamByContainer', 'itemId', itemId)
// verify required parameter 'container' is not null or undefined
@ -1244,6 +1260,10 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
}
}
if (enableAudioVbrEncoding !== undefined) {
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
@ -1347,7 +1367,7 @@ export const VideosApiFp = function(configuration?: Configuration) {
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -1379,18 +1399,19 @@ export const VideosApiFp = function(configuration?: Configuration) {
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
async getVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['VideosApi.getVideoStream']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1410,7 +1431,7 @@ export const VideosApiFp = function(configuration?: Configuration) {
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -1442,18 +1463,19 @@ export const VideosApiFp = function(configuration?: Configuration) {
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
async getVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['VideosApi.getVideoStreamByContainer']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1473,7 +1495,7 @@ export const VideosApiFp = function(configuration?: Configuration) {
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -1505,18 +1527,19 @@ export const VideosApiFp = function(configuration?: Configuration) {
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async headVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
async headVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['VideosApi.headVideoStream']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1536,7 +1559,7 @@ export const VideosApiFp = function(configuration?: Configuration) {
* @param {number} [minSegments] The minimum number of segments.
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@ -1568,18 +1591,19 @@ export const VideosApiFp = function(configuration?: Configuration) {
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
* @param {string} [transcodeReasons] Optional. The transcoding reason.
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async headVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
async headVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['VideosApi.headVideoStreamByContainer']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@ -1635,7 +1659,7 @@ export const VideosApiFactory = function (configuration?: Configuration, basePat
* @throws {RequiredError}
*/
getVideoStream(requestParameters: VideosApiGetVideoStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.getVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(axios, basePath));
return localVarFp.getVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
},
/**
*
@ -1645,7 +1669,7 @@ export const VideosApiFactory = function (configuration?: Configuration, basePat
* @throws {RequiredError}
*/
getVideoStreamByContainer(requestParameters: VideosApiGetVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.getVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(axios, basePath));
return localVarFp.getVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
},
/**
*
@ -1655,7 +1679,7 @@ export const VideosApiFactory = function (configuration?: Configuration, basePat
* @throws {RequiredError}
*/
headVideoStream(requestParameters: VideosApiHeadVideoStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.headVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(axios, basePath));
return localVarFp.headVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
},
/**
*
@ -1665,7 +1689,7 @@ export const VideosApiFactory = function (configuration?: Configuration, basePat
* @throws {RequiredError}
*/
headVideoStreamByContainer(requestParameters: VideosApiHeadVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
return localVarFp.headVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(axios, basePath));
return localVarFp.headVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
},
/**
*
@ -1806,7 +1830,7 @@ export interface VideosApiGetVideoStreamRequest {
readonly deviceId?: string
/**
* Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof VideosApiGetVideoStream
*/
@ -2030,7 +2054,7 @@ export interface VideosApiGetVideoStreamRequest {
readonly enableMpegtsM2TsMode?: boolean
/**
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof VideosApiGetVideoStream
*/
@ -2077,6 +2101,13 @@ export interface VideosApiGetVideoStreamRequest {
* @memberof VideosApiGetVideoStream
*/
readonly streamOptions?: { [key: string]: string; }
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof VideosApiGetVideoStream
*/
readonly enableAudioVbrEncoding?: boolean
}
/**
@ -2170,7 +2201,7 @@ export interface VideosApiGetVideoStreamByContainerRequest {
readonly deviceId?: string
/**
* Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof VideosApiGetVideoStreamByContainer
*/
@ -2394,7 +2425,7 @@ export interface VideosApiGetVideoStreamByContainerRequest {
readonly enableMpegtsM2TsMode?: boolean
/**
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof VideosApiGetVideoStreamByContainer
*/
@ -2441,6 +2472,13 @@ export interface VideosApiGetVideoStreamByContainerRequest {
* @memberof VideosApiGetVideoStreamByContainer
*/
readonly streamOptions?: { [key: string]: string; }
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof VideosApiGetVideoStreamByContainer
*/
readonly enableAudioVbrEncoding?: boolean
}
/**
@ -2534,7 +2572,7 @@ export interface VideosApiHeadVideoStreamRequest {
readonly deviceId?: string
/**
* Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof VideosApiHeadVideoStream
*/
@ -2758,7 +2796,7 @@ export interface VideosApiHeadVideoStreamRequest {
readonly enableMpegtsM2TsMode?: boolean
/**
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof VideosApiHeadVideoStream
*/
@ -2805,6 +2843,13 @@ export interface VideosApiHeadVideoStreamRequest {
* @memberof VideosApiHeadVideoStream
*/
readonly streamOptions?: { [key: string]: string; }
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof VideosApiHeadVideoStream
*/
readonly enableAudioVbrEncoding?: boolean
}
/**
@ -2898,7 +2943,7 @@ export interface VideosApiHeadVideoStreamByContainerRequest {
readonly deviceId?: string
/**
* Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension. Options: aac, mp3, vorbis, wma.
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof VideosApiHeadVideoStreamByContainer
*/
@ -3122,7 +3167,7 @@ export interface VideosApiHeadVideoStreamByContainerRequest {
readonly enableMpegtsM2TsMode?: boolean
/**
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\&#39;s extension.
* @type {string}
* @memberof VideosApiHeadVideoStreamByContainer
*/
@ -3169,6 +3214,13 @@ export interface VideosApiHeadVideoStreamByContainerRequest {
* @memberof VideosApiHeadVideoStreamByContainer
*/
readonly streamOptions?: { [key: string]: string; }
/**
* Optional. Whether to enable Audio Encoding.
* @type {boolean}
* @memberof VideosApiHeadVideoStreamByContainer
*/
readonly enableAudioVbrEncoding?: boolean
}
/**
@ -3225,7 +3277,7 @@ export class VideosApi extends BaseAPI {
* @memberof VideosApi
*/
public getVideoStream(requestParameters: VideosApiGetVideoStreamRequest, options?: RawAxiosRequestConfig) {
return VideosApiFp(this.configuration).getVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
return VideosApiFp(this.configuration).getVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
}
/**
@ -3237,7 +3289,7 @@ export class VideosApi extends BaseAPI {
* @memberof VideosApi
*/
public getVideoStreamByContainer(requestParameters: VideosApiGetVideoStreamByContainerRequest, options?: RawAxiosRequestConfig) {
return VideosApiFp(this.configuration).getVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
return VideosApiFp(this.configuration).getVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
}
/**
@ -3249,7 +3301,7 @@ export class VideosApi extends BaseAPI {
* @memberof VideosApi
*/
public headVideoStream(requestParameters: VideosApiHeadVideoStreamRequest, options?: RawAxiosRequestConfig) {
return VideosApiFp(this.configuration).headVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
return VideosApiFp(this.configuration).headVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
}
/**
@ -3261,7 +3313,7 @@ export class VideosApi extends BaseAPI {
* @memberof VideosApi
*/
public headVideoStreamByContainer(requestParameters: VideosApiHeadVideoStreamByContainerRequest, options?: RawAxiosRequestConfig) {
return VideosApiFp(this.configuration).headVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
return VideosApiFp(this.configuration).headVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
}
/**

View File

@ -17,7 +17,7 @@
import type { ActivityLogEntry } from './activity-log-entry';
/**
*
* Query result container.
* @export
* @interface ActivityLogEntryQueryResult
*/
@ -27,7 +27,7 @@ export interface ActivityLogEntryQueryResult {
* @type {Array<ActivityLogEntry>}
* @memberof ActivityLogEntryQueryResult
*/
'Items'?: Array<ActivityLogEntry> | null;
'Items'?: Array<ActivityLogEntry>;
/**
* Gets or sets the total number of records available.
* @type {number}

View File

@ -17,7 +17,7 @@
import type { AuthenticationInfo } from './authentication-info';
/**
*
* Query result container.
* @export
* @interface AuthenticationInfoQueryResult
*/
@ -27,7 +27,7 @@ export interface AuthenticationInfoQueryResult {
* @type {Array<AuthenticationInfo>}
* @memberof AuthenticationInfoQueryResult
*/
'Items'?: Array<AuthenticationInfo> | null;
'Items'?: Array<AuthenticationInfo>;
/**
* Gets or sets the total number of records available.
* @type {number}

View File

@ -14,13 +14,13 @@
// May contain unused imports in some cases
// @ts-ignore
import type { SessionInfo } from './session-info';
import type { SessionInfoDto } from './session-info-dto';
// May contain unused imports in some cases
// @ts-ignore
import type { UserDto } from './user-dto';
/**
*
* A class representing an authentication result.
* @export
* @interface AuthenticationResult
*/
@ -33,18 +33,18 @@ export interface AuthenticationResult {
'User'?: UserDto;
/**
*
* @type {SessionInfo}
* @type {SessionInfoDto}
* @memberof AuthenticationResult
*/
'SessionInfo'?: SessionInfo;
'SessionInfo'?: SessionInfoDto;
/**
*
* Gets or sets the access token.
* @type {string}
* @memberof AuthenticationResult
*/
'AccessToken'?: string | null;
/**
*
* Gets or sets the server id.
* @type {string}
* @memberof AuthenticationResult
*/

View File

@ -17,7 +17,7 @@
import type { BaseItemDto } from './base-item-dto';
/**
*
* Query result container.
* @export
* @interface BaseItemDtoQueryResult
*/
@ -27,7 +27,7 @@ export interface BaseItemDtoQueryResult {
* @type {Array<BaseItemDto>}
* @memberof BaseItemDtoQueryResult
*/
'Items'?: Array<BaseItemDto> | null;
'Items'?: Array<BaseItemDto>;
/**
* Gets or sets the total number of records available.
* @type {number}

View File

@ -70,19 +70,5 @@ export interface ClientCapabilitiesDto {
* @memberof ClientCapabilitiesDto
*/
'IconUrl'?: string | null;
/**
*
* @type {boolean}
* @memberof ClientCapabilitiesDto
* @deprecated
*/
'SupportsContentUploading'?: boolean | null;
/**
*
* @type {boolean}
* @memberof ClientCapabilitiesDto
* @deprecated
*/
'SupportsSync'?: boolean | null;
}

View File

@ -20,7 +20,7 @@ import type { CodecType } from './codec-type';
import type { ProfileCondition } from './profile-condition';
/**
*
* Defines the MediaBrowser.Model.Dlna.CodecProfile.
* @export
* @interface CodecProfile
*/
@ -32,29 +32,35 @@ export interface CodecProfile {
*/
'Type'?: CodecType;
/**
*
* Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet.
* @type {Array<ProfileCondition>}
* @memberof CodecProfile
*/
'Conditions'?: Array<ProfileCondition> | null;
'Conditions'?: Array<ProfileCondition>;
/**
*
* Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met.
* @type {Array<ProfileCondition>}
* @memberof CodecProfile
*/
'ApplyConditions'?: Array<ProfileCondition> | null;
'ApplyConditions'?: Array<ProfileCondition>;
/**
*
* Gets or sets the codec(s) that this profile applies to.
* @type {string}
* @memberof CodecProfile
*/
'Codec'?: string | null;
/**
*
* Gets or sets the container(s) which this profile will be applied to.
* @type {string}
* @memberof CodecProfile
*/
'Container'?: string | null;
/**
* Gets or sets the sub-container(s) which this profile will be applied to.
* @type {string}
* @memberof CodecProfile
*/
'SubContainer'?: string | null;
}

View File

@ -20,7 +20,7 @@ import type { DlnaProfileType } from './dlna-profile-type';
import type { ProfileCondition } from './profile-condition';
/**
*
* Defines the MediaBrowser.Model.Dlna.ContainerProfile.
* @export
* @interface ContainerProfile
*/
@ -32,17 +32,23 @@ export interface ContainerProfile {
*/
'Type'?: DlnaProfileType;
/**
*
* Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to.
* @type {Array<ProfileCondition>}
* @memberof ContainerProfile
*/
'Conditions'?: Array<ProfileCondition>;
/**
*
* Gets or sets the container(s) which this container must meet.
* @type {string}
* @memberof ContainerProfile
*/
'Container'?: string;
'Container'?: string | null;
/**
* Gets or sets the sub container(s) which this container must meet.
* @type {string}
* @memberof ContainerProfile
*/
'SubContainer'?: string | null;
}

View File

@ -0,0 +1,30 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* Enum containing deinterlace methods.
* @export
* @enum {string}
*/
export const DeinterlaceMethod = {
Yadif: 'yadif',
Bwdif: 'bwdif'
} as const;
export type DeinterlaceMethod = typeof DeinterlaceMethod[keyof typeof DeinterlaceMethod];

View File

@ -0,0 +1,44 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { DeviceInfoDto } from './device-info-dto';
/**
* Query result container.
* @export
* @interface DeviceInfoDtoQueryResult
*/
export interface DeviceInfoDtoQueryResult {
/**
* Gets or sets the items.
* @type {Array<DeviceInfoDto>}
* @memberof DeviceInfoDtoQueryResult
*/
'Items'?: Array<DeviceInfoDto>;
/**
* Gets or sets the total number of records available.
* @type {number}
* @memberof DeviceInfoDtoQueryResult
*/
'TotalRecordCount'?: number;
/**
* Gets or sets the index of the first record in Items.
* @type {number}
* @memberof DeviceInfoDtoQueryResult
*/
'StartIndex'?: number;
}

View File

@ -0,0 +1,92 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { ClientCapabilitiesDto } from './client-capabilities-dto';
/**
* A DTO representing device information.
* @export
* @interface DeviceInfoDto
*/
export interface DeviceInfoDto {
/**
* Gets or sets the name.
* @type {string}
* @memberof DeviceInfoDto
*/
'Name'?: string | null;
/**
* Gets or sets the custom name.
* @type {string}
* @memberof DeviceInfoDto
*/
'CustomName'?: string | null;
/**
* Gets or sets the access token.
* @type {string}
* @memberof DeviceInfoDto
*/
'AccessToken'?: string | null;
/**
* Gets or sets the identifier.
* @type {string}
* @memberof DeviceInfoDto
*/
'Id'?: string | null;
/**
* Gets or sets the last name of the user.
* @type {string}
* @memberof DeviceInfoDto
*/
'LastUserName'?: string | null;
/**
* Gets or sets the name of the application.
* @type {string}
* @memberof DeviceInfoDto
*/
'AppName'?: string | null;
/**
* Gets or sets the application version.
* @type {string}
* @memberof DeviceInfoDto
*/
'AppVersion'?: string | null;
/**
* Gets or sets the last user identifier.
* @type {string}
* @memberof DeviceInfoDto
*/
'LastUserId'?: string | null;
/**
* Gets or sets the date last modified.
* @type {string}
* @memberof DeviceInfoDto
*/
'DateLastActivity'?: string | null;
/**
*
* @type {ClientCapabilitiesDto}
* @memberof DeviceInfoDto
*/
'Capabilities'?: ClientCapabilitiesDto;
/**
* Gets or sets the icon URL.
* @type {string}
* @memberof DeviceInfoDto
*/
'IconUrl'?: string | null;
}

View File

@ -35,13 +35,13 @@ import type { TranscodingProfile } from './transcoding-profile';
*/
export interface DeviceProfile {
/**
* Gets or sets the name of this device profile.
* Gets or sets the name of this device profile. User profiles must have a unique name.
* @type {string}
* @memberof DeviceProfile
*/
'Name'?: string | null;
/**
* Gets or sets the Id.
* Gets or sets the unique internal identifier.
* @type {string}
* @memberof DeviceProfile
*/
@ -83,7 +83,7 @@ export interface DeviceProfile {
*/
'TranscodingProfiles'?: Array<TranscodingProfile>;
/**
* Gets or sets the container profiles.
* Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur.
* @type {Array<ContainerProfile>}
* @memberof DeviceProfile
*/

View File

@ -17,25 +17,25 @@
import type { DlnaProfileType } from './dlna-profile-type';
/**
*
* Defines the MediaBrowser.Model.Dlna.DirectPlayProfile.
* @export
* @interface DirectPlayProfile
*/
export interface DirectPlayProfile {
/**
*
* Gets or sets the container.
* @type {string}
* @memberof DirectPlayProfile
*/
'Container'?: string | null;
'Container'?: string;
/**
*
* Gets or sets the audio codec.
* @type {string}
* @memberof DirectPlayProfile
*/
'AudioCodec'?: string | null;
/**
*
* Gets or sets the video codec.
* @type {string}
* @memberof DirectPlayProfile
*/

View File

@ -14,7 +14,7 @@
/**
* An enum representing an algorithm to downmix 6ch+ to stereo. Algorithms sourced from https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg/1410620#1410620.
* An enum representing an algorithm to downmix surround sound to stereo.
* @export
* @enum {string}
*/
@ -22,7 +22,9 @@
export const DownMixStereoAlgorithms = {
None: 'None',
Dave750: 'Dave750',
NightmodeDialogue: 'NightmodeDialogue'
NightmodeDialogue: 'NightmodeDialogue',
Rfc7845: 'Rfc7845',
Ac4: 'Ac4'
} as const;
export type DownMixStereoAlgorithms = typeof DownMixStereoAlgorithms[keyof typeof DownMixStereoAlgorithms];

View File

@ -0,0 +1,39 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* Enum containing encoder presets.
* @export
* @enum {string}
*/
export const EncoderPreset = {
Auto: 'auto',
Placebo: 'placebo',
Veryslow: 'veryslow',
Slower: 'slower',
Slow: 'slow',
Medium: 'medium',
Fast: 'fast',
Faster: 'faster',
Veryfast: 'veryfast',
Superfast: 'superfast',
Ultrafast: 'ultrafast'
} as const;
export type EncoderPreset = typeof EncoderPreset[keyof typeof EncoderPreset];

View File

@ -12,9 +12,27 @@
*/
// May contain unused imports in some cases
// @ts-ignore
import type { DeinterlaceMethod } from './deinterlace-method';
// May contain unused imports in some cases
// @ts-ignore
import type { DownMixStereoAlgorithms } from './down-mix-stereo-algorithms';
// May contain unused imports in some cases
// @ts-ignore
import type { EncoderPreset } from './encoder-preset';
// May contain unused imports in some cases
// @ts-ignore
import type { HardwareAccelerationType } from './hardware-acceleration-type';
// May contain unused imports in some cases
// @ts-ignore
import type { TonemappingAlgorithm } from './tonemapping-algorithm';
// May contain unused imports in some cases
// @ts-ignore
import type { TonemappingMode } from './tonemapping-mode';
// May contain unused imports in some cases
// @ts-ignore
import type { TonemappingRange } from './tonemapping-range';
/**
* Class EncodingOptions.
@ -95,11 +113,11 @@ export interface EncodingOptions {
*/
'SegmentKeepSeconds'?: number;
/**
* Gets or sets the hardware acceleration type.
* @type {string}
*
* @type {HardwareAccelerationType}
* @memberof EncodingOptions
*/
'HardwareAccelerationType'?: string | null;
'HardwareAccelerationType'?: HardwareAccelerationType;
/**
* Gets or sets the FFmpeg path as set by the user via the UI.
* @type {string}
@ -118,6 +136,12 @@ export interface EncodingOptions {
* @memberof EncodingOptions
*/
'VaapiDevice'?: string | null;
/**
* Gets or sets the QSV device.
* @type {string}
* @memberof EncodingOptions
*/
'QsvDevice'?: string | null;
/**
* Gets or sets a value indicating whether tonemapping is enabled.
* @type {boolean}
@ -137,23 +161,23 @@ export interface EncodingOptions {
*/
'EnableVideoToolboxTonemapping'?: boolean;
/**
* Gets or sets the tone-mapping algorithm.
* @type {string}
*
* @type {TonemappingAlgorithm}
* @memberof EncodingOptions
*/
'TonemappingAlgorithm'?: string | null;
'TonemappingAlgorithm'?: TonemappingAlgorithm;
/**
* Gets or sets the tone-mapping mode.
* @type {string}
*
* @type {TonemappingMode}
* @memberof EncodingOptions
*/
'TonemappingMode'?: string | null;
'TonemappingMode'?: TonemappingMode;
/**
* Gets or sets the tone-mapping range.
* @type {string}
*
* @type {TonemappingRange}
* @memberof EncodingOptions
*/
'TonemappingRange'?: string | null;
'TonemappingRange'?: TonemappingRange;
/**
* Gets or sets the tone-mapping desaturation.
* @type {number}
@ -197,11 +221,11 @@ export interface EncodingOptions {
*/
'H265Crf'?: number;
/**
* Gets or sets the encoder preset.
* @type {string}
*
* @type {EncoderPreset}
* @memberof EncodingOptions
*/
'EncoderPreset'?: string | null;
'EncoderPreset'?: EncoderPreset;
/**
* Gets or sets a value indicating whether the framerate is doubled when deinterlacing.
* @type {boolean}
@ -209,11 +233,11 @@ export interface EncodingOptions {
*/
'DeinterlaceDoubleRate'?: boolean;
/**
* Gets or sets the deinterlace method.
* @type {string}
*
* @type {DeinterlaceMethod}
* @memberof EncodingOptions
*/
'DeinterlaceMethod'?: string | null;
'DeinterlaceMethod'?: DeinterlaceMethod;
/**
* Gets or sets a value indicating whether 10bit HEVC decoding is enabled.
* @type {boolean}
@ -226,6 +250,18 @@ export interface EncodingOptions {
* @memberof EncodingOptions
*/
'EnableDecodingColorDepth10Vp9'?: boolean;
/**
* Gets or sets a value indicating whether 8/10bit HEVC RExt decoding is enabled.
* @type {boolean}
* @memberof EncodingOptions
*/
'EnableDecodingColorDepth10HevcRext'?: boolean;
/**
* Gets or sets a value indicating whether 12bit HEVC RExt decoding is enabled.
* @type {boolean}
* @memberof EncodingOptions
*/
'EnableDecodingColorDepth12HevcRext'?: boolean;
/**
* Gets or sets a value indicating whether the enhanced NVDEC is enabled.
* @type {boolean}

View File

@ -44,6 +44,7 @@ export interface ExternalIdInfo {
* Gets or sets the URL format string.
* @type {string}
* @memberof ExternalIdInfo
* @deprecated
*/
'UrlFormatString'?: string | null;
}

View File

@ -36,7 +36,7 @@ export interface GetProgramsDto {
* @type {Array<string>}
* @memberof GetProgramsDto
*/
'ChannelIds'?: Array<string>;
'ChannelIds'?: Array<string> | null;
/**
* Gets or sets optional. Filter by user id.
* @type {string}
@ -44,109 +44,109 @@ export interface GetProgramsDto {
*/
'UserId'?: string | null;
/**
* Gets or sets the minimum premiere start date. Optional.
* Gets or sets the minimum premiere start date.
* @type {string}
* @memberof GetProgramsDto
*/
'MinStartDate'?: string | null;
/**
* Gets or sets filter by programs that have completed airing, or not. Optional.
* Gets or sets filter by programs that have completed airing, or not.
* @type {boolean}
* @memberof GetProgramsDto
*/
'HasAired'?: boolean | null;
/**
* Gets or sets filter by programs that are currently airing, or not. Optional.
* Gets or sets filter by programs that are currently airing, or not.
* @type {boolean}
* @memberof GetProgramsDto
*/
'IsAiring'?: boolean | null;
/**
* Gets or sets the maximum premiere start date. Optional.
* Gets or sets the maximum premiere start date.
* @type {string}
* @memberof GetProgramsDto
*/
'MaxStartDate'?: string | null;
/**
* Gets or sets the minimum premiere end date. Optional.
* Gets or sets the minimum premiere end date.
* @type {string}
* @memberof GetProgramsDto
*/
'MinEndDate'?: string | null;
/**
* Gets or sets the maximum premiere end date. Optional.
* Gets or sets the maximum premiere end date.
* @type {string}
* @memberof GetProgramsDto
*/
'MaxEndDate'?: string | null;
/**
* Gets or sets filter for movies. Optional.
* Gets or sets filter for movies.
* @type {boolean}
* @memberof GetProgramsDto
*/
'IsMovie'?: boolean | null;
/**
* Gets or sets filter for series. Optional.
* Gets or sets filter for series.
* @type {boolean}
* @memberof GetProgramsDto
*/
'IsSeries'?: boolean | null;
/**
* Gets or sets filter for news. Optional.
* Gets or sets filter for news.
* @type {boolean}
* @memberof GetProgramsDto
*/
'IsNews'?: boolean | null;
/**
* Gets or sets filter for kids. Optional.
* Gets or sets filter for kids.
* @type {boolean}
* @memberof GetProgramsDto
*/
'IsKids'?: boolean | null;
/**
* Gets or sets filter for sports. Optional.
* Gets or sets filter for sports.
* @type {boolean}
* @memberof GetProgramsDto
*/
'IsSports'?: boolean | null;
/**
* Gets or sets the record index to start at. All items with a lower index will be dropped from the results. Optional.
* Gets or sets the record index to start at. All items with a lower index will be dropped from the results.
* @type {number}
* @memberof GetProgramsDto
*/
'StartIndex'?: number | null;
/**
* Gets or sets the maximum number of records to return. Optional.
* Gets or sets the maximum number of records to return.
* @type {number}
* @memberof GetProgramsDto
*/
'Limit'?: number | null;
/**
* Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate. Optional.
* Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate.
* @type {Array<ItemSortBy>}
* @memberof GetProgramsDto
*/
'SortBy'?: Array<ItemSortBy>;
'SortBy'?: Array<ItemSortBy> | null;
/**
* Gets or sets sort Order - Ascending,Descending.
* Gets or sets sort order.
* @type {Array<SortOrder>}
* @memberof GetProgramsDto
*/
'SortOrder'?: Array<SortOrder>;
'SortOrder'?: Array<SortOrder> | null;
/**
* Gets or sets the genres to return guide information for.
* @type {Array<string>}
* @memberof GetProgramsDto
*/
'Genres'?: Array<string>;
'Genres'?: Array<string> | null;
/**
* Gets or sets the genre ids to return guide information for.
* @type {Array<string>}
* @memberof GetProgramsDto
*/
'GenreIds'?: Array<string>;
'GenreIds'?: Array<string> | null;
/**
* Gets or sets include image information in output. Optional.
* Gets or sets include image information in output.
* @type {boolean}
* @memberof GetProgramsDto
*/
@ -158,40 +158,40 @@ export interface GetProgramsDto {
*/
'EnableTotalRecordCount'?: boolean;
/**
* Gets or sets the max number of images to return, per image type. Optional.
* Gets or sets the max number of images to return, per image type.
* @type {number}
* @memberof GetProgramsDto
*/
'ImageTypeLimit'?: number | null;
/**
* Gets or sets the image types to include in the output. Optional.
* Gets or sets the image types to include in the output.
* @type {Array<ImageType>}
* @memberof GetProgramsDto
*/
'EnableImageTypes'?: Array<ImageType>;
'EnableImageTypes'?: Array<ImageType> | null;
/**
* Gets or sets include user data. Optional.
* Gets or sets include user data.
* @type {boolean}
* @memberof GetProgramsDto
*/
'EnableUserData'?: boolean | null;
/**
* Gets or sets filter by series timer id. Optional.
* Gets or sets filter by series timer id.
* @type {string}
* @memberof GetProgramsDto
*/
'SeriesTimerId'?: string | null;
/**
* Gets or sets filter by library series id. Optional.
* Gets or sets filter by library series id.
* @type {string}
* @memberof GetProgramsDto
*/
'LibrarySeriesId'?: string;
'LibrarySeriesId'?: string | null;
/**
* Gets or sets specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. Optional.
* Gets or sets specify additional fields of information to return in the output.
* @type {Array<ItemFields>}
* @memberof GetProgramsDto
*/
'Fields'?: Array<ItemFields>;
'Fields'?: Array<ItemFields> | null;
}

View File

@ -0,0 +1,36 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* Enum containing hardware acceleration types.
* @export
* @enum {string}
*/
export const HardwareAccelerationType = {
None: 'none',
Amf: 'amf',
Qsv: 'qsv',
Nvenc: 'nvenc',
V4l2m2m: 'v4l2m2m',
Vaapi: 'vaapi',
Videotoolbox: 'videotoolbox',
Rkmpp: 'rkmpp'
} as const;
export type HardwareAccelerationType = typeof HardwareAccelerationType[keyof typeof HardwareAccelerationType];

View File

@ -35,7 +35,6 @@ export * from './channel-media-content-type';
export * from './channel-media-type';
export * from './channel-type';
export * from './chapter-info';
export * from './client-capabilities';
export * from './client-capabilities-dto';
export * from './client-log-document-response-dto';
export * from './codec-profile';
@ -53,9 +52,9 @@ export * from './culture-dto';
export * from './day-of-week';
export * from './day-pattern';
export * from './default-directory-browser-info-dto';
export * from './device-info';
export * from './device-info-query-result';
export * from './device-options';
export * from './deinterlace-method';
export * from './device-info-dto';
export * from './device-info-dto-query-result';
export * from './device-options-dto';
export * from './device-profile';
export * from './direct-play-profile';
@ -64,6 +63,7 @@ export * from './dlna-profile-type';
export * from './down-mix-stereo-algorithms';
export * from './dynamic-day-of-week';
export * from './embedded-subtitle-options';
export * from './encoder-preset';
export * from './encoding-context';
export * from './encoding-options';
export * from './end-point-info';
@ -94,7 +94,7 @@ export * from './group-state-update-group-update';
export * from './group-update';
export * from './group-update-type';
export * from './guide-info';
export * from './hardware-encoding-type';
export * from './hardware-acceleration-type';
export * from './iplugin';
export * from './ignore-wait-request-dto';
export * from './image-format';
@ -138,6 +138,9 @@ export * from './media-attachment';
export * from './media-path-dto';
export * from './media-path-info';
export * from './media-protocol';
export * from './media-segment-dto';
export * from './media-segment-dto-query-result';
export * from './media-segment-type';
export * from './media-source-info';
export * from './media-source-type';
export * from './media-stream';
@ -194,6 +197,7 @@ export * from './playback-start-info';
export * from './playback-stop-info';
export * from './player-state-info';
export * from './playlist-creation-result';
export * from './playlist-dto';
export * from './playlist-user-permissions';
export * from './playstate-command';
export * from './playstate-message';
@ -255,7 +259,7 @@ export * from './server-configuration';
export * from './server-discovery-info';
export * from './server-restarting-message';
export * from './server-shutting-down-message';
export * from './session-info';
export * from './session-info-dto';
export * from './session-message-type';
export * from './session-user-info';
export * from './sessions-message';
@ -292,6 +296,9 @@ export * from './timer-created-message';
export * from './timer-event-info';
export * from './timer-info-dto';
export * from './timer-info-dto-query-result';
export * from './tonemapping-algorithm';
export * from './tonemapping-mode';
export * from './tonemapping-range';
export * from './trailer-info';
export * from './trailer-info-remote-search-query';
export * from './transcode-reason';

View File

@ -43,6 +43,12 @@ export interface LibraryOptionsResultDto {
* @memberof LibraryOptionsResultDto
*/
'SubtitleFetchers'?: Array<LibraryOptionInfoDto>;
/**
* Gets or sets the list of lyric fetchers.
* @type {Array<LibraryOptionInfoDto>}
* @memberof LibraryOptionsResultDto
*/
'LyricFetchers'?: Array<LibraryOptionInfoDto>;
/**
* Gets or sets the type options.
* @type {Array<LibraryTypeOptionsDto>}

View File

@ -173,6 +173,18 @@ export interface LibraryOptions {
* @memberof LibraryOptions
*/
'SubtitleFetcherOrder'?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof LibraryOptions
*/
'DisabledMediaSegmentProviders'?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof LibraryOptions
*/
'MediaSegmentProvideOrder'?: Array<string>;
/**
*
* @type {boolean}
@ -209,6 +221,48 @@ export interface LibraryOptions {
* @memberof LibraryOptions
*/
'SaveLyricsWithMedia'?: boolean;
/**
*
* @type {boolean}
* @memberof LibraryOptions
*/
'SaveTrickplayWithMedia'?: boolean;
/**
*
* @type {Array<string>}
* @memberof LibraryOptions
*/
'DisabledLyricFetchers'?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof LibraryOptions
*/
'LyricFetcherOrder'?: Array<string>;
/**
*
* @type {boolean}
* @memberof LibraryOptions
*/
'PreferNonstandardArtistsTag'?: boolean;
/**
*
* @type {boolean}
* @memberof LibraryOptions
*/
'UseCustomTagDelimiters'?: boolean;
/**
*
* @type {Array<string>}
* @memberof LibraryOptions
*/
'CustomTagDelimiters'?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof LibraryOptions
*/
'DelimiterWhitelist'?: Array<string>;
/**
*
* @type {boolean}

View File

@ -25,11 +25,5 @@ export interface MediaPathInfo {
* @memberof MediaPathInfo
*/
'Path'?: string;
/**
*
* @type {string}
* @memberof MediaPathInfo
*/
'NetworkPath'?: string | null;
}

View File

@ -0,0 +1,44 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { MediaSegmentDto } from './media-segment-dto';
/**
* Query result container.
* @export
* @interface MediaSegmentDtoQueryResult
*/
export interface MediaSegmentDtoQueryResult {
/**
* Gets or sets the items.
* @type {Array<MediaSegmentDto>}
* @memberof MediaSegmentDtoQueryResult
*/
'Items'?: Array<MediaSegmentDto>;
/**
* Gets or sets the total number of records available.
* @type {number}
* @memberof MediaSegmentDtoQueryResult
*/
'TotalRecordCount'?: number;
/**
* Gets or sets the index of the first record in Items.
* @type {number}
* @memberof MediaSegmentDtoQueryResult
*/
'StartIndex'?: number;
}

View File

@ -0,0 +1,58 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { MediaSegmentType } from './media-segment-type';
/**
* Api model for MediaSegment\'s.
* @export
* @interface MediaSegmentDto
*/
export interface MediaSegmentDto {
/**
* Gets or sets the id of the media segment.
* @type {string}
* @memberof MediaSegmentDto
*/
'Id'?: string;
/**
* Gets or sets the id of the associated item.
* @type {string}
* @memberof MediaSegmentDto
*/
'ItemId'?: string;
/**
*
* @type {MediaSegmentType}
* @memberof MediaSegmentDto
*/
'Type'?: MediaSegmentType;
/**
* Gets or sets the start of the segment.
* @type {number}
* @memberof MediaSegmentDto
*/
'StartTicks'?: number;
/**
* Gets or sets the end of the segment.
* @type {number}
* @memberof MediaSegmentDto
*/
'EndTicks'?: number;
}

View File

@ -0,0 +1,34 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* Defines the types of content an individual Jellyfin.Data.Entities.MediaSegment represents.
* @export
* @enum {string}
*/
export const MediaSegmentType = {
Unknown: 'Unknown',
Commercial: 'Commercial',
Preview: 'Preview',
Recap: 'Recap',
Outro: 'Outro',
Intro: 'Intro'
} as const;
export type MediaSegmentType = typeof MediaSegmentType[keyof typeof MediaSegmentType];

View File

@ -166,6 +166,12 @@ export interface MediaSourceInfo {
* @memberof MediaSourceInfo
*/
'IsInfiniteStream'?: boolean;
/**
*
* @type {boolean}
* @memberof MediaSourceInfo
*/
'UseMostCompatibleTranscodingProfile'?: boolean;
/**
*
* @type {boolean}
@ -250,6 +256,12 @@ export interface MediaSourceInfo {
* @memberof MediaSourceInfo
*/
'Bitrate'?: number | null;
/**
*
* @type {number}
* @memberof MediaSourceInfo
*/
'FallbackMaxStreamingBitrate'?: number | null;
/**
*
* @type {TransportStreamTimestamp}
@ -298,6 +310,12 @@ export interface MediaSourceInfo {
* @memberof MediaSourceInfo
*/
'DefaultSubtitleStreamIndex'?: number | null;
/**
*
* @type {boolean}
* @memberof MediaSourceInfo
*/
'HasSegments'?: boolean;
}

View File

@ -124,6 +124,12 @@ export interface MediaStream {
* @memberof MediaStream
*/
'DvBlSignalCompatibilityId'?: number | null;
/**
* Gets or sets the Rotation in degrees.
* @type {number}
* @memberof MediaStream
*/
'Rotation'?: number | null;
/**
* Gets or sets the comment.
* @type {string}
@ -310,6 +316,12 @@ export interface MediaStream {
* @memberof MediaStream
*/
'RealFrameRate'?: number | null;
/**
* Gets the framerate used as reference. Prefer AverageFrameRate, if that is null or an unrealistic value then fallback to RealFrameRate.
* @type {number}
* @memberof MediaStream
*/
'ReferenceFrameRate'?: number | null;
/**
* Gets or sets the profile.
* @type {string}

View File

@ -91,6 +91,12 @@ export interface OpenLiveStreamDto {
* @memberof OpenLiveStreamDto
*/
'EnableDirectStream'?: boolean | null;
/**
* Gets or sets a value indicating whether always burn in subtitles when transcoding.
* @type {boolean}
* @memberof OpenLiveStreamDto
*/
'AlwaysBurnInSubtitleWhenTranscoding'?: boolean | null;
/**
*
* @type {DeviceProfile}

View File

@ -112,5 +112,11 @@ export interface PlaybackInfoDto {
* @memberof PlaybackInfoDto
*/
'AutoOpenLiveStream'?: boolean | null;
/**
* Gets or sets a value indicating whether always burn in subtitles when transcoding.
* @type {boolean}
* @memberof PlaybackInfoDto
*/
'AlwaysBurnInSubtitleWhenTranscoding'?: boolean | null;
}

View File

@ -0,0 +1,44 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { PlaylistUserPermissions } from './playlist-user-permissions';
/**
* DTO for playlists.
* @export
* @interface PlaylistDto
*/
export interface PlaylistDto {
/**
* Gets or sets a value indicating whether the playlist is publicly readable.
* @type {boolean}
* @memberof PlaylistDto
*/
'OpenAccess'?: boolean;
/**
* Gets or sets the share permissions.
* @type {Array<PlaylistUserPermissions>}
* @memberof PlaylistDto
*/
'Shares'?: Array<PlaylistUserPermissions>;
/**
* Gets or sets the item ids.
* @type {Array<string>}
* @memberof PlaylistDto
*/
'ItemIds'?: Array<string>;
}

View File

@ -17,7 +17,7 @@
import type { SeriesTimerInfoDto } from './series-timer-info-dto';
/**
*
* Query result container.
* @export
* @interface SeriesTimerInfoDtoQueryResult
*/
@ -27,7 +27,7 @@ export interface SeriesTimerInfoDtoQueryResult {
* @type {Array<SeriesTimerInfoDto>}
* @memberof SeriesTimerInfoDtoQueryResult
*/
'Items'?: Array<SeriesTimerInfoDto> | null;
'Items'?: Array<SeriesTimerInfoDto>;
/**
* Gets or sets the total number of records available.
* @type {number}

View File

@ -115,12 +115,6 @@ export interface ServerConfiguration {
* @memberof ServerConfiguration
*/
'MetadataPath'?: string;
/**
*
* @type {string}
* @memberof ServerConfiguration
*/
'MetadataNetworkPath'?: string;
/**
* Gets or sets the preferred metadata language.
* @type {string}

View File

@ -0,0 +1,221 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { BaseItemDto } from './base-item-dto';
// May contain unused imports in some cases
// @ts-ignore
import type { ClientCapabilitiesDto } from './client-capabilities-dto';
// May contain unused imports in some cases
// @ts-ignore
import type { GeneralCommandType } from './general-command-type';
// May contain unused imports in some cases
// @ts-ignore
import type { MediaType } from './media-type';
// May contain unused imports in some cases
// @ts-ignore
import type { PlayerStateInfo } from './player-state-info';
// May contain unused imports in some cases
// @ts-ignore
import type { QueueItem } from './queue-item';
// May contain unused imports in some cases
// @ts-ignore
import type { SessionUserInfo } from './session-user-info';
// May contain unused imports in some cases
// @ts-ignore
import type { TranscodingInfo } from './transcoding-info';
/**
* Session info DTO.
* @export
* @interface SessionInfoDto
*/
export interface SessionInfoDto {
/**
*
* @type {PlayerStateInfo}
* @memberof SessionInfoDto
*/
'PlayState'?: PlayerStateInfo;
/**
* Gets or sets the additional users.
* @type {Array<SessionUserInfo>}
* @memberof SessionInfoDto
*/
'AdditionalUsers'?: Array<SessionUserInfo> | null;
/**
*
* @type {ClientCapabilitiesDto}
* @memberof SessionInfoDto
*/
'Capabilities'?: ClientCapabilitiesDto;
/**
* Gets or sets the remote end point.
* @type {string}
* @memberof SessionInfoDto
*/
'RemoteEndPoint'?: string | null;
/**
* Gets or sets the playable media types.
* @type {Array<MediaType>}
* @memberof SessionInfoDto
*/
'PlayableMediaTypes'?: Array<MediaType>;
/**
* Gets or sets the id.
* @type {string}
* @memberof SessionInfoDto
*/
'Id'?: string | null;
/**
* Gets or sets the user id.
* @type {string}
* @memberof SessionInfoDto
*/
'UserId'?: string;
/**
* Gets or sets the username.
* @type {string}
* @memberof SessionInfoDto
*/
'UserName'?: string | null;
/**
* Gets or sets the type of the client.
* @type {string}
* @memberof SessionInfoDto
*/
'Client'?: string | null;
/**
* Gets or sets the last activity date.
* @type {string}
* @memberof SessionInfoDto
*/
'LastActivityDate'?: string;
/**
* Gets or sets the last playback check in.
* @type {string}
* @memberof SessionInfoDto
*/
'LastPlaybackCheckIn'?: string;
/**
* Gets or sets the last paused date.
* @type {string}
* @memberof SessionInfoDto
*/
'LastPausedDate'?: string | null;
/**
* Gets or sets the name of the device.
* @type {string}
* @memberof SessionInfoDto
*/
'DeviceName'?: string | null;
/**
* Gets or sets the type of the device.
* @type {string}
* @memberof SessionInfoDto
*/
'DeviceType'?: string | null;
/**
*
* @type {BaseItemDto}
* @memberof SessionInfoDto
*/
'NowPlayingItem'?: BaseItemDto;
/**
*
* @type {BaseItemDto}
* @memberof SessionInfoDto
*/
'NowViewingItem'?: BaseItemDto;
/**
* Gets or sets the device id.
* @type {string}
* @memberof SessionInfoDto
*/
'DeviceId'?: string | null;
/**
* Gets or sets the application version.
* @type {string}
* @memberof SessionInfoDto
*/
'ApplicationVersion'?: string | null;
/**
*
* @type {TranscodingInfo}
* @memberof SessionInfoDto
*/
'TranscodingInfo'?: TranscodingInfo;
/**
* Gets or sets a value indicating whether this session is active.
* @type {boolean}
* @memberof SessionInfoDto
*/
'IsActive'?: boolean;
/**
* Gets or sets a value indicating whether the session supports media control.
* @type {boolean}
* @memberof SessionInfoDto
*/
'SupportsMediaControl'?: boolean;
/**
* Gets or sets a value indicating whether the session supports remote control.
* @type {boolean}
* @memberof SessionInfoDto
*/
'SupportsRemoteControl'?: boolean;
/**
* Gets or sets the now playing queue.
* @type {Array<QueueItem>}
* @memberof SessionInfoDto
*/
'NowPlayingQueue'?: Array<QueueItem> | null;
/**
* Gets or sets the now playing queue full items.
* @type {Array<BaseItemDto>}
* @memberof SessionInfoDto
*/
'NowPlayingQueueFullItems'?: Array<BaseItemDto> | null;
/**
* Gets or sets a value indicating whether the session has a custom device name.
* @type {boolean}
* @memberof SessionInfoDto
*/
'HasCustomDeviceName'?: boolean;
/**
* Gets or sets the playlist item id.
* @type {string}
* @memberof SessionInfoDto
*/
'PlaylistItemId'?: string | null;
/**
* Gets or sets the server id.
* @type {string}
* @memberof SessionInfoDto
*/
'ServerId'?: string | null;
/**
* Gets or sets the user primary image tag.
* @type {string}
* @memberof SessionInfoDto
*/
'UserPrimaryImageTag'?: string | null;
/**
* Gets or sets the supported commands.
* @type {Array<GeneralCommandType>}
* @memberof SessionInfoDto
*/
'SupportedCommands'?: Array<GeneralCommandType>;
}

View File

@ -14,7 +14,7 @@
// May contain unused imports in some cases
// @ts-ignore
import type { SessionInfo } from './session-info';
import type { SessionInfoDto } from './session-info-dto';
// May contain unused imports in some cases
// @ts-ignore
import type { SessionMessageType } from './session-message-type';
@ -27,10 +27,10 @@ import type { SessionMessageType } from './session-message-type';
export interface SessionsMessage {
/**
* Gets or sets the data.
* @type {Array<SessionInfo>}
* @type {Array<SessionInfoDto>}
* @memberof SessionsMessage
*/
'Data'?: Array<SessionInfo> | null;
'Data'?: Array<SessionInfoDto> | null;
/**
* Gets or sets the message id.
* @type {string}

View File

@ -17,13 +17,13 @@
import type { SubtitleDeliveryMethod } from './subtitle-delivery-method';
/**
*
* A class for subtitle profile information.
* @export
* @interface SubtitleProfile
*/
export interface SubtitleProfile {
/**
*
* Gets or sets the format.
* @type {string}
* @memberof SubtitleProfile
*/
@ -35,19 +35,19 @@ export interface SubtitleProfile {
*/
'Method'?: SubtitleDeliveryMethod;
/**
*
* Gets or sets the DIDL mode.
* @type {string}
* @memberof SubtitleProfile
*/
'DidlMode'?: string | null;
/**
*
* Gets or sets the language.
* @type {string}
* @memberof SubtitleProfile
*/
'Language'?: string | null;
/**
*
* Gets or sets the container.
* @type {string}
* @memberof SubtitleProfile
*/

View File

@ -27,7 +27,7 @@ export interface ThemeMediaResult {
* @type {Array<BaseItemDto>}
* @memberof ThemeMediaResult
*/
'Items'?: Array<BaseItemDto> | null;
'Items'?: Array<BaseItemDto>;
/**
* Gets or sets the total number of records available.
* @type {number}

View File

@ -17,7 +17,7 @@
import type { TimerInfoDto } from './timer-info-dto';
/**
*
* Query result container.
* @export
* @interface TimerInfoDtoQueryResult
*/
@ -27,7 +27,7 @@ export interface TimerInfoDtoQueryResult {
* @type {Array<TimerInfoDto>}
* @memberof TimerInfoDtoQueryResult
*/
'Items'?: Array<TimerInfoDto> | null;
'Items'?: Array<TimerInfoDto>;
/**
* Gets or sets the total number of records available.
* @type {number}

View File

@ -0,0 +1,36 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* Enum containing tonemapping algorithms.
* @export
* @enum {string}
*/
export const TonemappingAlgorithm = {
None: 'none',
Clip: 'clip',
Linear: 'linear',
Gamma: 'gamma',
Reinhard: 'reinhard',
Hable: 'hable',
Mobius: 'mobius',
Bt2390: 'bt2390'
} as const;
export type TonemappingAlgorithm = typeof TonemappingAlgorithm[keyof typeof TonemappingAlgorithm];

View File

@ -0,0 +1,33 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* Enum containing tonemapping modes.
* @export
* @enum {string}
*/
export const TonemappingMode = {
Auto: 'auto',
Max: 'max',
Rgb: 'rgb',
Lum: 'lum',
Itp: 'itp'
} as const;
export type TonemappingMode = typeof TonemappingMode[keyof typeof TonemappingMode];

View File

@ -0,0 +1,31 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* Enum containing tonemapping ranges.
* @export
* @enum {string}
*/
export const TonemappingRange = {
Auto: 'auto',
Tv: 'tv',
Pc: 'pc'
} as const;
export type TonemappingRange = typeof TonemappingRange[keyof typeof TonemappingRange];

View File

@ -44,7 +44,8 @@ export const TranscodeReason = {
UnknownVideoStreamInfo: 'UnknownVideoStreamInfo',
UnknownAudioStreamInfo: 'UnknownAudioStreamInfo',
DirectPlayError: 'DirectPlayError',
VideoRangeTypeNotSupported: 'VideoRangeTypeNotSupported'
VideoRangeTypeNotSupported: 'VideoRangeTypeNotSupported',
VideoCodecTagNotSupported: 'VideoCodecTagNotSupported'
} as const;
export type TranscodeReason = typeof TranscodeReason[keyof typeof TranscodeReason];

View File

@ -14,91 +14,91 @@
// May contain unused imports in some cases
// @ts-ignore
import type { HardwareEncodingType } from './hardware-encoding-type';
import type { HardwareAccelerationType } from './hardware-acceleration-type';
// May contain unused imports in some cases
// @ts-ignore
import type { TranscodeReason } from './transcode-reason';
/**
*
* Class holding information on a runnning transcode.
* @export
* @interface TranscodingInfo
*/
export interface TranscodingInfo {
/**
*
* Gets or sets the thread count used for encoding.
* @type {string}
* @memberof TranscodingInfo
*/
'AudioCodec'?: string | null;
/**
*
* Gets or sets the thread count used for encoding.
* @type {string}
* @memberof TranscodingInfo
*/
'VideoCodec'?: string | null;
/**
*
* Gets or sets the thread count used for encoding.
* @type {string}
* @memberof TranscodingInfo
*/
'Container'?: string | null;
/**
*
* Gets or sets a value indicating whether the video is passed through.
* @type {boolean}
* @memberof TranscodingInfo
*/
'IsVideoDirect'?: boolean;
/**
*
* Gets or sets a value indicating whether the audio is passed through.
* @type {boolean}
* @memberof TranscodingInfo
*/
'IsAudioDirect'?: boolean;
/**
*
* Gets or sets the bitrate.
* @type {number}
* @memberof TranscodingInfo
*/
'Bitrate'?: number | null;
/**
*
* Gets or sets the framerate.
* @type {number}
* @memberof TranscodingInfo
*/
'Framerate'?: number | null;
/**
*
* Gets or sets the completion percentage.
* @type {number}
* @memberof TranscodingInfo
*/
'CompletionPercentage'?: number | null;
/**
*
* Gets or sets the video width.
* @type {number}
* @memberof TranscodingInfo
*/
'Width'?: number | null;
/**
*
* Gets or sets the video height.
* @type {number}
* @memberof TranscodingInfo
*/
'Height'?: number | null;
/**
*
* Gets or sets the audio channels.
* @type {number}
* @memberof TranscodingInfo
*/
'AudioChannels'?: number | null;
/**
*
* @type {HardwareEncodingType}
* @type {HardwareAccelerationType}
* @memberof TranscodingInfo
*/
'HardwareAccelerationType'?: HardwareEncodingType;
'HardwareAccelerationType'?: HardwareAccelerationType;
/**
*
* Gets or sets the transcode reasons.
* @type {Array<TranscodeReason>}
* @memberof TranscodingInfo
*/

View File

@ -29,13 +29,13 @@ import type { ProfileCondition } from './profile-condition';
import type { TranscodeSeekInfo } from './transcode-seek-info';
/**
*
* A class for transcoding profile information.
* @export
* @interface TranscodingProfile
*/
export interface TranscodingProfile {
/**
*
* Gets or sets the container.
* @type {string}
* @memberof TranscodingProfile
*/
@ -47,13 +47,13 @@ export interface TranscodingProfile {
*/
'Type'?: DlnaProfileType;
/**
*
* Gets or sets the video codec.
* @type {string}
* @memberof TranscodingProfile
*/
'VideoCodec'?: string;
/**
*
* Gets or sets the audio codec.
* @type {string}
* @memberof TranscodingProfile
*/
@ -65,13 +65,13 @@ export interface TranscodingProfile {
*/
'Protocol'?: MediaStreamProtocol;
/**
*
* Gets or sets a value indicating whether the content length should be estimated.
* @type {boolean}
* @memberof TranscodingProfile
*/
'EstimateContentLength'?: boolean;
/**
*
* Gets or sets a value indicating whether M2TS mode is enabled.
* @type {boolean}
* @memberof TranscodingProfile
*/
@ -83,7 +83,7 @@ export interface TranscodingProfile {
*/
'TranscodeSeekInfo'?: TranscodeSeekInfo;
/**
*
* Gets or sets a value indicating whether timestamps should be copied.
* @type {boolean}
* @memberof TranscodingProfile
*/
@ -95,41 +95,47 @@ export interface TranscodingProfile {
*/
'Context'?: EncodingContext;
/**
*
* Gets or sets a value indicating whether subtitles are allowed in the manifest.
* @type {boolean}
* @memberof TranscodingProfile
*/
'EnableSubtitlesInManifest'?: boolean;
/**
*
* Gets or sets the maximum audio channels.
* @type {string}
* @memberof TranscodingProfile
*/
'MaxAudioChannels'?: string | null;
/**
*
* Gets or sets the minimum amount of segments.
* @type {number}
* @memberof TranscodingProfile
*/
'MinSegments'?: number;
/**
*
* Gets or sets the segment length.
* @type {number}
* @memberof TranscodingProfile
*/
'SegmentLength'?: number;
/**
*
* Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported.
* @type {boolean}
* @memberof TranscodingProfile
*/
'BreakOnNonKeyFrames'?: boolean;
/**
*
* Gets or sets the profile conditions.
* @type {Array<ProfileCondition>}
* @memberof TranscodingProfile
*/
'Conditions'?: Array<ProfileCondition>;
/**
* Gets or sets a value indicating whether variable bitrate encoding is supported.
* @type {boolean}
* @memberof TranscodingProfile
*/
'EnableAudioVbrEncoding'?: boolean;
}

View File

@ -37,6 +37,12 @@ export interface TrickplayOptions {
* @memberof TrickplayOptions
*/
'EnableHwEncoding'?: boolean;
/**
* Gets or sets a value indicating whether to only extract key frames. Significantly faster, but is not compatible with all decoders and/or video files.
* @type {boolean}
* @memberof TrickplayOptions
*/
'EnableKeyFrameOnlyExtraction'?: boolean;
/**
*
* @type {TrickplayScanBehavior}

View File

@ -61,6 +61,24 @@ export interface TunerHostInfo {
* @memberof TunerHostInfo
*/
'AllowHWTranscoding'?: boolean;
/**
*
* @type {boolean}
* @memberof TunerHostInfo
*/
'AllowFmp4TranscodingContainer'?: boolean;
/**
*
* @type {boolean}
* @memberof TunerHostInfo
*/
'AllowStreamSharing'?: boolean;
/**
*
* @type {number}
* @memberof TunerHostInfo
*/
'FallbackMaxStreamingBitrate'?: number;
/**
*
* @type {boolean}

View File

@ -27,12 +27,12 @@ export interface UserDataChangeInfo {
* @type {string}
* @memberof UserDataChangeInfo
*/
'UserId'?: string | null;
'UserId'?: string;
/**
* Gets or sets the user data list.
* @type {Array<UserItemDataDto>}
* @memberof UserDataChangeInfo
*/
'UserDataList'?: Array<UserItemDataDto> | null;
'UserDataList'?: Array<UserItemDataDto>;
}

View File

@ -78,12 +78,12 @@ export interface UserItemDataDto {
* @type {string}
* @memberof UserItemDataDto
*/
'Key'?: string | null;
'Key'?: string;
/**
* Gets or sets the item identifier.
* @type {string}
* @memberof UserItemDataDto
*/
'ItemId'?: string | null;
'ItemId'?: string;
}

View File

@ -5,7 +5,7 @@
*/
/** The current API version of the generated client. */
export const API_VERSION = '10.9.11';
export const API_VERSION = '10.10.0';
/** The minimum supported server version. */
export const MINIMUM_VERSION = '10.9.0';