Package-level declarations

Types

Link copied to clipboard
object AniSkip
Link copied to clipboard
Link copied to clipboard
object AppUtils
Link copied to clipboard
Link copied to clipboard
object CastHelper
Link copied to clipboard
class CastOptionsProvider : OptionsProvider
Link copied to clipboard
object Coroutines
Link copied to clipboard
object DataStore
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Event<T>
Link copied to clipboard
abstract class ExtractorApi
Link copied to clipboard
open class ExtractorLink(val source: String, val name: String, val url: String, val referer: String, val quality: Int, val headers: Map<String, String> = mapOf(), val extractorData: String? = null, val type: ExtractorLinkType) : VideoDownloadManager.IDownloadableMinimum
Link copied to clipboard
data class ExtractorLinkPlayList(val source: String, val name: String, val playlist: List<PlayListItem>, val referer: String, val quality: Int, val headers: Map<String, String> = mapOf(), val extractorData: String? = null, val type: ExtractorLinkType) : ExtractorLink

If your site has an unorthodox m3u8-like system where there are multiple smaller videos concatenated use this.

Link copied to clipboard

Metadata about the file type used for downloads and exoplayer hint, if you respond with the wrong one the file will fail to download or be played

Link copied to clipboard
data class ExtractorSubtitleLink(val name: String, val url: String, val referer: String, val headers: Map<String, String> = mapOf()) : VideoDownloadManager.IDownloadableMinimum
Link copied to clipboard
data class ExtractorUri(val uri: Uri, val name: String, val basePath: String? = null, val relativePath: String? = null, val displayName: String? = null, val id: Int? = null, val parentId: Int? = null, val episode: Int? = null, val season: Int? = null, val headerName: String? = null, val tvType: TvType? = null)
Link copied to clipboard
Link copied to clipboard
class GlideModule : AppGlideModule
Link copied to clipboard
interface IDisposable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class JsHunter(hunterJS: String)
Link copied to clipboard
class JsUnpacker(packedJS: String?)
Link copied to clipboard

backwards api surface

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PlayListItem(val url: String, val durationUs: Long)

For use in the ConcatenatingMediaSource. If features are missing (headers), please report and we can add it.

Link copied to clipboard
class PreferenceDelegate<T : Any>(val key: String, val default: T)
Link copied to clipboard
Link copied to clipboard
object ShortLink
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object SyncUtil
Link copied to clipboard
Link copied to clipboard
object UIHelper
Link copied to clipboard
class UserPreferenceDelegate<T : Any>(key: String, default: T)
Link copied to clipboard
data class Vector2(val x: Float, val y: Float)
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

UUID for the ClearKey DRM scheme.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

UUID for the PlayReady DRM scheme.

Link copied to clipboard
Link copied to clipboard
const val RESULT_DUB: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Removes https:// and www. To match urls regardless of schema, perhaps Uri() can be used?

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

UUID for the Widevine DRM scheme.

Functions

Link copied to clipboard
Link copied to clipboard
fun getAndUnpack(string: String): String
Link copied to clipboard
fun getPacked(string: String): String?
Link copied to clipboard
suspend fun getPostForm(requestUrl: String, html: String): String?
Link copied to clipboard
fun getQualityFromName(qualityName: String?): Int
Link copied to clipboard
Link copied to clipboard
suspend fun loadExtractor(url: String, subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit): Boolean

suspend fun loadExtractor(url: String, referer: String? = null, subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit): Boolean

Tries to load the appropriate extractor based on link, returns true if any extractor is loaded.

Link copied to clipboard
Link copied to clipboard
fun Long.toUs(): Long

Converts Seconds to MicroSeconds, multiplication by 1_000_000

Link copied to clipboard
suspend fun unshortenLinkSafe(url: String): String