Subtitle Api
Constructors
Functions
Link copied to clipboard
suspend fun deleteSubtitle(itemId: <ERROR CLASS>, index: Int): Response<Unit>
Content copied to clipboard
Deletes an external subtitle file.
Link copied to clipboard
suspend fun downloadRemoteSubtitles(itemId: <ERROR CLASS>, subtitleId: String): Response<Unit>
Content copied to clipboard
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
fun getFallbackFontUrl(name: String, includeCredentials: Boolean = true): String
Content 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>, routeMediaSourceId: String, routeIndex: Int, routeFormat: String, endPositionTicks: Long? = null, copyTimestamps: Boolean? = false, addVttTimeMap: Boolean? = false, startPositionTicks: Long? = 0): Response<String>
Content copied to clipboard
Gets subtitles in a specified format.
Link copied to clipboard
Content copied to clipboard
Gets subtitles in a specified format.
Link copied to clipboard
suspend fun getSubtitlePlaylist( itemId: <ERROR CLASS>, index: Int, mediaSourceId: String, segmentLength: Int): Response<ByteReadChannel>
Content copied to clipboard
Gets an HLS subtitle playlist.
Link copied to clipboard
Link copied to clipboard
suspend fun getSubtitleWithTicks( routeItemId: <ERROR CLASS>, routeMediaSourceId: String, routeIndex: Int, routeStartPositionTicks: Long, routeFormat: String, endPositionTicks: Long? = null, copyTimestamps: Boolean? = false, addVttTimeMap: Boolean? = false): Response<String>
Content copied to clipboard
Gets subtitles in a specified format.
Link copied to clipboard
Content copied to clipboard
Gets subtitles in a specified format.
Link copied to clipboard
suspend fun searchRemoteSubtitles( itemId: <ERROR CLASS>, language: String, isPerfectMatch: Boolean? = null): Response<List<<ERROR CLASS>>>
Content copied to clipboard
Search remote subtitles.
Link copied to clipboard
suspend fun uploadSubtitle(itemId: <ERROR CLASS>, data: <ERROR CLASS>): Response<Unit>
Content copied to clipboard
Upload an external subtitle file.