Function SubtitleApiAxiosParamCreator
- SubtitleApiAxiosParamCreator(configuration?): {
deleteSubtitle: ((itemId: string, index: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
downloadRemoteSubtitles: ((itemId: string, subtitleId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getFallbackFont: ((name: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getFallbackFontList: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getRemoteSubtitles: ((subtitleId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getSubtitle: ((routeItemId: string, routeMediaSourceId: string, routeIndex: number, routeFormat: string, itemId?: string, mediaSourceId?: string, index?: number, format?: string, endPositionTicks?: number, copyTimestamps?: boolean, addVttTimeMap?: boolean, startPositionTicks?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getSubtitlePlaylist: ((itemId: string, index: number, mediaSourceId: string, segmentLength: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getSubtitleWithTicks: ((routeItemId: string, routeMediaSourceId: string, routeIndex: number, routeStartPositionTicks: number, routeFormat: string, itemId?: string, mediaSourceId?: string, index?: number, startPositionTicks?: number, format?: string, endPositionTicks?: number, copyTimestamps?: boolean, addVttTimeMap?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
searchRemoteSubtitles: ((itemId: string, language: string, isPerfectMatch?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
uploadSubtitle: ((itemId: string, uploadSubtitleDto: UploadSubtitleDto, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
} Returns {
deleteSubtitle: ((itemId: string, index: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
downloadRemoteSubtitles: ((itemId: string, subtitleId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getFallbackFont: ((name: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getFallbackFontList: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getRemoteSubtitles: ((subtitleId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getSubtitle: ((routeItemId: string, routeMediaSourceId: string, routeIndex: number, routeFormat: string, itemId?: string, mediaSourceId?: string, index?: number, format?: string, endPositionTicks?: number, copyTimestamps?: boolean, addVttTimeMap?: boolean, startPositionTicks?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getSubtitlePlaylist: ((itemId: string, index: number, mediaSourceId: string, segmentLength: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getSubtitleWithTicks: ((routeItemId: string, routeMediaSourceId: string, routeIndex: number, routeStartPositionTicks: number, routeFormat: string, itemId?: string, mediaSourceId?: string, index?: number, startPositionTicks?: number, format?: string, endPositionTicks?: number, copyTimestamps?: boolean, addVttTimeMap?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
searchRemoteSubtitles: ((itemId: string, language: string, isPerfectMatch?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
uploadSubtitle: ((itemId: string, uploadSubtitleDto: UploadSubtitleDto, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
}
deleteSubtitle: ((itemId: string, index: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, index, options?): Promise<RequestArgs>
Parameters
- itemId: string
- index: number
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
downloadRemoteSubtitles: ((itemId: string, subtitleId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, subtitleId, options?): Promise<RequestArgs>
Parameters
- itemId: string
- subtitleId: string
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getFallbackFont: ((name: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (name, options?): Promise<RequestArgs>
Parameters
- name: string
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getFallbackFontList: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (options?): Promise<RequestArgs>
Parameters
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getRemoteSubtitles: ((subtitleId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (subtitleId, options?): Promise<RequestArgs>
Parameters
- subtitleId: string
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getSubtitle: ((routeItemId: string, routeMediaSourceId: string, routeIndex: number, routeFormat: string, itemId?: string, mediaSourceId?: string, index?: number, format?: string, endPositionTicks?: number, copyTimestamps?: boolean, addVttTimeMap?: boolean, startPositionTicks?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (routeItemId, routeMediaSourceId, routeIndex, routeFormat, itemId?, mediaSourceId?, index?, format?, endPositionTicks?, copyTimestamps?, addVttTimeMap?, startPositionTicks?, options?): Promise<RequestArgs>
Parameters
- routeItemId: string
- routeMediaSourceId: string
- routeIndex: number
- routeFormat: string
Optional
itemId: stringOptional
mediaSourceId: stringOptional
index: numberOptional
format: stringOptional
endPositionTicks: numberOptional
copyTimestamps: booleanOptional
addVttTimeMap: booleanOptional
startPositionTicks: numberOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getSubtitlePlaylist: ((itemId: string, index: number, mediaSourceId: string, segmentLength: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, index, mediaSourceId, segmentLength, options?): Promise<RequestArgs>
Parameters
- itemId: string
- index: number
- mediaSourceId: string
- segmentLength: number
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getSubtitleWithTicks: ((routeItemId: string, routeMediaSourceId: string, routeIndex: number, routeStartPositionTicks: number, routeFormat: string, itemId?: string, mediaSourceId?: string, index?: number, startPositionTicks?: number, format?: string, endPositionTicks?: number, copyTimestamps?: boolean, addVttTimeMap?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (routeItemId, routeMediaSourceId, routeIndex, routeStartPositionTicks, routeFormat, itemId?, mediaSourceId?, index?, startPositionTicks?, format?, endPositionTicks?, copyTimestamps?, addVttTimeMap?, options?): Promise<RequestArgs>
Parameters
- routeItemId: string
- routeMediaSourceId: string
- routeIndex: number
- routeStartPositionTicks: number
- routeFormat: string
Optional
itemId: stringOptional
mediaSourceId: stringOptional
index: numberOptional
startPositionTicks: numberOptional
format: stringOptional
endPositionTicks: numberOptional
copyTimestamps: booleanOptional
addVttTimeMap: booleanOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
searchRemoteSubtitles: ((itemId: string, language: string, isPerfectMatch?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, language, isPerfectMatch?, options?): Promise<RequestArgs>
Parameters
- itemId: string
- language: string
Optional
isPerfectMatch: booleanOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
uploadSubtitle: ((itemId: string, uploadSubtitleDto: UploadSubtitleDto, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, uploadSubtitleDto, options?): Promise<RequestArgs>
Parameters
- itemId: string
- uploadSubtitleDto: UploadSubtitleDto
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
SubtitleApi - axios parameter creator
Export