SubtitleApi
Functions
Link copied to clipboard
Deletes an external subtitle file.
Link copied to clipboard
suspend fun downloadRemoteSubtitles(itemId: <Error class: unknown class>, subtitleId: String): Response<Unit>
Downloads a remote subtitle.
Link copied to clipboard
Gets a fallback font file.
Link copied to clipboard
Gets a list of available fallback font files.
Link copied to clipboard
Gets a fallback font file.
Link copied to clipboard
Gets the remote subtitles.
Link copied to clipboard
suspend fun getSubtitle(routeItemId: <Error class: unknown class>, routeMediaSourceId: String, routeIndex: Int, routeFormat: String, endPositionTicks: Long? = null, copyTimestamps: Boolean? = false, addVttTimeMap: Boolean? = false, startPositionTicks: Long? = 0): Response<String>
Gets subtitles in a specified format.
Link copied to clipboard
suspend fun getSubtitleDeprecated(routeItemId: <Error class: unknown class>, routeMediaSourceId: String, routeIndex: Int, routeFormat: String, itemId: <Error class: unknown class>? = null, mediaSourceId: String? = null, index: Int? = null, format: String? = null, endPositionTicks: Long? = null, copyTimestamps: Boolean? = false, addVttTimeMap: Boolean? = false, startPositionTicks: Long? = 0): Response<String>
Gets subtitles in a specified format.
Link copied to clipboard
suspend fun getSubtitlePlaylist(itemId: <Error class: unknown class>, index: Int, mediaSourceId: String, segmentLength: Int): Response<<Error class: unknown class>>
Gets an HLS subtitle playlist.
Link copied to clipboard
fun getSubtitlePlaylistUrl(itemId: <Error class: unknown class>, index: Int, mediaSourceId: String, segmentLength: Int): String
Gets an HLS subtitle playlist.
Link copied to clipboard
suspend fun getSubtitleWithTicks(routeItemId: <Error class: unknown class>, routeMediaSourceId: String, routeIndex: Int, routeStartPositionTicks: Long, routeFormat: String, endPositionTicks: Long? = null, copyTimestamps: Boolean? = false, addVttTimeMap: Boolean? = false): Response<String>
Gets subtitles in a specified format.
Link copied to clipboard
suspend fun getSubtitleWithTicksDeprecated(routeItemId: <Error class: unknown class>, routeMediaSourceId: String, routeIndex: Int, routeStartPositionTicks: Long, routeFormat: String, itemId: <Error class: unknown class>? = null, mediaSourceId: String? = null, index: Int? = null, startPositionTicks: Long? = null, format: String? = null, endPositionTicks: Long? = null, copyTimestamps: Boolean? = false, addVttTimeMap: Boolean? = false): Response<String>
Gets subtitles in a specified format.
Link copied to clipboard
suspend fun searchRemoteSubtitles(itemId: <Error class: unknown class>, language: String, isPerfectMatch: Boolean? = null): Response<List<<Error class: unknown class>>>
Search remote subtitles.
Link copied to clipboard
suspend fun uploadSubtitle(itemId: <Error class: unknown class>, data: <Error class: unknown class>): Response<Unit>
Upload an external subtitle file.