Skip to content

Commit

Permalink
Merge pull request #316 from jellyfin/openapi-update-0
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill authored Oct 29, 2022
2 parents c3e0836 + c765d46 commit c773d84
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 40 deletions.
4 changes: 2 additions & 2 deletions openapi.json
Git LFS file not shown
1 change: 1 addition & 0 deletions src/generated-client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ models/timer-info-dto-query-result.ts
models/timer-info-dto.ts
models/trailer-info-remote-search-query.ts
models/trailer-info.ts
models/transcode-reason.ts
models/transcode-seek-info.ts
models/transcoding-info.ts
models/transcoding-profile.ts
Expand Down
1 change: 1 addition & 0 deletions src/generated-client/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ export * from './timer-info-dto';
export * from './timer-info-dto-query-result';
export * from './trailer-info';
export * from './trailer-info-remote-search-query';
export * from './transcode-reason';
export * from './transcode-seek-info';
export * from './transcoding-info';
export * from './transcoding-profile';
Expand Down
3 changes: 1 addition & 2 deletions src/generated-client/models/media-stream-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export enum MediaStreamType {
Audio = 'Audio',
Video = 'Video',
Subtitle = 'Subtitle',
EmbeddedImage = 'EmbeddedImage',
Data = 'Data'
EmbeddedImage = 'EmbeddedImage'
}


Expand Down
51 changes: 51 additions & 0 deletions src/generated-client/models/transcode-reason.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/* 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/.
*/



/**
*
* @export
* @enum {string}
*/

export enum TranscodeReason {
ContainerNotSupported = 'ContainerNotSupported',
VideoCodecNotSupported = 'VideoCodecNotSupported',
AudioCodecNotSupported = 'AudioCodecNotSupported',
SubtitleCodecNotSupported = 'SubtitleCodecNotSupported',
AudioIsExternal = 'AudioIsExternal',
SecondaryAudioNotSupported = 'SecondaryAudioNotSupported',
VideoProfileNotSupported = 'VideoProfileNotSupported',
VideoLevelNotSupported = 'VideoLevelNotSupported',
VideoResolutionNotSupported = 'VideoResolutionNotSupported',
VideoBitDepthNotSupported = 'VideoBitDepthNotSupported',
VideoFramerateNotSupported = 'VideoFramerateNotSupported',
RefFramesNotSupported = 'RefFramesNotSupported',
AnamorphicVideoNotSupported = 'AnamorphicVideoNotSupported',
InterlacedVideoNotSupported = 'InterlacedVideoNotSupported',
AudioChannelsNotSupported = 'AudioChannelsNotSupported',
AudioProfileNotSupported = 'AudioProfileNotSupported',
AudioSampleRateNotSupported = 'AudioSampleRateNotSupported',
AudioBitDepthNotSupported = 'AudioBitDepthNotSupported',
ContainerBitrateExceedsLimit = 'ContainerBitrateExceedsLimit',
VideoBitrateNotSupported = 'VideoBitrateNotSupported',
AudioBitrateNotSupported = 'AudioBitrateNotSupported',
UnknownVideoStreamInfo = 'UnknownVideoStreamInfo',
UnknownAudioStreamInfo = 'UnknownAudioStreamInfo',
DirectPlayError = 'DirectPlayError',
VideoRangeTypeNotSupported = 'VideoRangeTypeNotSupported'
}



38 changes: 3 additions & 35 deletions src/generated-client/models/transcoding-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@


import { HardwareEncodingType } from './hardware-encoding-type';
import { TranscodeReason } from './transcode-reason';

/**
*
Expand Down Expand Up @@ -94,43 +95,10 @@ export interface TranscodingInfo {
HardwareAccelerationType?: HardwareEncodingType;
/**
*
* @type {string}
* @type {Array<TranscodeReason>}
* @memberof TranscodingInfo
*/
TranscodeReasons?: TranscodingInfoTranscodeReasonsEnum;
TranscodeReasons?: Array<TranscodeReason>;
}

/**
* @export
* @enum {string}
*/
export enum TranscodingInfoTranscodeReasonsEnum {
ContainerNotSupported = 'ContainerNotSupported',
VideoCodecNotSupported = 'VideoCodecNotSupported',
AudioCodecNotSupported = 'AudioCodecNotSupported',
SubtitleCodecNotSupported = 'SubtitleCodecNotSupported',
AudioIsExternal = 'AudioIsExternal',
SecondaryAudioNotSupported = 'SecondaryAudioNotSupported',
VideoProfileNotSupported = 'VideoProfileNotSupported',
VideoLevelNotSupported = 'VideoLevelNotSupported',
VideoResolutionNotSupported = 'VideoResolutionNotSupported',
VideoBitDepthNotSupported = 'VideoBitDepthNotSupported',
VideoFramerateNotSupported = 'VideoFramerateNotSupported',
RefFramesNotSupported = 'RefFramesNotSupported',
AnamorphicVideoNotSupported = 'AnamorphicVideoNotSupported',
InterlacedVideoNotSupported = 'InterlacedVideoNotSupported',
AudioChannelsNotSupported = 'AudioChannelsNotSupported',
AudioProfileNotSupported = 'AudioProfileNotSupported',
AudioSampleRateNotSupported = 'AudioSampleRateNotSupported',
AudioBitDepthNotSupported = 'AudioBitDepthNotSupported',
ContainerBitrateExceedsLimit = 'ContainerBitrateExceedsLimit',
VideoBitrateNotSupported = 'VideoBitrateNotSupported',
AudioBitrateNotSupported = 'AudioBitrateNotSupported',
UnknownVideoStreamInfo = 'UnknownVideoStreamInfo',
UnknownAudioStreamInfo = 'UnknownAudioStreamInfo',
DirectPlayError = 'DirectPlayError',
VideoRangeTypeNotSupported = 'VideoRangeTypeNotSupported'
}



2 changes: 1 addition & 1 deletion src/jellyfin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface JellyfinParameters {
}

/** The current API version of the generated client. */
export const API_VERSION = '10.8.5';
export const API_VERSION = '10.8.6';

/** The minimum supported server version. */
export const MINIMUM_VERSION = '10.8.0';
Expand Down

0 comments on commit c773d84

Please sign in to comment.