LoadResponse

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract var actors: List<ActorData>?

list of the ActorData casted in the media, appears on result page.

Link copied to clipboard
abstract var apiName: String

Plugin name, appears on result page.

Link copied to clipboard

Url of the media background poster.

Link copied to clipboard
abstract var comingSoon: Boolean

determines if the media is released or coming soon.

Link copied to clipboard
abstract var contentRating: String?

content rating of the media, appears on result page.

Link copied to clipboard
abstract var duration: Int?

duration of the media, appears on result page.

Link copied to clipboard
abstract var name: String

Title of the media, appears on result page.

Link copied to clipboard
abstract var plot: String?

Plot of the media, appears on result page.

Link copied to clipboard
abstract var posterHeaders: Map<String, String>?

headers map used by network request to get the poster.

Link copied to clipboard
abstract var posterUrl: String?

Url of the media poster, appears on Top of result page.

Link copied to clipboard
abstract var rating: Int?

Rating of the media, appears on result page (0-10000).

Link copied to clipboard

list of the SearchResponse related to media, appears on result page.

Link copied to clipboard

Online sync services compatible with the media.

Link copied to clipboard
abstract var tags: List<String>?

Tags of the media, appears on result page.

Link copied to clipboard

list of the media TrailerData, used to load trailers.

Link copied to clipboard
abstract var type: TvType

TvType of the media .

Link copied to clipboard
abstract var url: String

Url of the media.

Link copied to clipboard
abstract var year: Int?

Year of the media, appears on result page.

Functions

Link copied to clipboard
@JvmName(name = "addActorsOnly")
fun LoadResponse.addActors(actors: List<Actor>?)
@JvmName(name = "addActorsRole")
fun LoadResponse.addActors(actors: List<Pair<Actor, ActorRole?>>?)
@JvmName(name = "addActors")
fun LoadResponse.addActors(actors: List<Pair<Actor, String?>>?)
@JvmName(name = "addActorNames")
fun LoadResponse.addActors(actors: List<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
fun LoadResponse.addPoster(url: String?, headers: Map<String, String>? = null)

Extension function that adds poster to LoadResponse

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun LoadResponse.addTrailer(trailerUrl: String?, referer: String? = null, addRaw: Boolean = false)

better to call addTrailer with multiple trailers directly instead of calling this multiple times

suspend fun LoadResponse.addTrailer(trailerUrls: List<String>?, referer: String? = null, addRaw: Boolean = false)
suspend fun LoadResponse.addTrailer(trailerUrl: String?, referer: String? = null, addRaw: Boolean = false, headers: Map<String, String> = mapOf())
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extension function of LoadResponse to check if it's Anime based.

Link copied to clipboard

Extension function of LoadResponse to check if it's Episode based.

Link copied to clipboard