42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* Jellyfin API
|
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
*
|
|
* The version of the OpenAPI document: 10.8.9
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
|
|
/**
|
|
* An enum representing a subtitle playback mode.
|
|
* @export
|
|
*/
|
|
export const SubtitlePlaybackMode = {
|
|
Default: 'Default',
|
|
Always: 'Always',
|
|
OnlyForced: 'OnlyForced',
|
|
None: 'None',
|
|
Smart: 'Smart'
|
|
} as const;
|
|
export type SubtitlePlaybackMode = typeof SubtitlePlaybackMode[keyof typeof SubtitlePlaybackMode];
|
|
|
|
|
|
export function SubtitlePlaybackModeFromJSON(json: any): SubtitlePlaybackMode {
|
|
return SubtitlePlaybackModeFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function SubtitlePlaybackModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubtitlePlaybackMode {
|
|
return json as SubtitlePlaybackMode;
|
|
}
|
|
|
|
export function SubtitlePlaybackModeToJSON(value?: SubtitlePlaybackMode | null): any {
|
|
return value as any;
|
|
}
|
|
|