LibraryItem

data class LibraryItem(val name: String, val url: String, val syncId: String, val episodesCompleted: Int?, val episodesTotal: Int?, val personalRating: Int?, val lastUpdatedUnixTime: Long?, val apiName: String, var type: TvType?, var posterUrl: String?, var posterHeaders: Map<String, String>?, var quality: SearchQuality?, val releaseDate: Date?, var id: Int? = null, val plot: String? = null, val rating: Int? = null, val tags: List<String>? = null) : SearchResponse(source)

Constructors

Link copied to clipboard
constructor(name: String, url: String, syncId: String, episodesCompleted: Int?, episodesTotal: Int?, personalRating: Int?, lastUpdatedUnixTime: Long?, apiName: String, type: TvType?, posterUrl: String?, posterHeaders: Map<String, String>?, quality: SearchQuality?, releaseDate: Date?, id: Int? = null, plot: String? = null, rating: Int? = null, tags: List<String>? = null)

Properties

Link copied to clipboard
open override val apiName: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var id: Int?
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard

Out of 100

Link copied to clipboard
val plot: String? = null
Link copied to clipboard
open override var posterHeaders: Map<String, String>?
Link copied to clipboard
open override var posterUrl: String?
Link copied to clipboard
open override var quality: SearchQuality?
Link copied to clipboard
val rating: Int? = null
Link copied to clipboard
Link copied to clipboard

Unique unchanging string used for data storage. This should be the actual id when you change scores and status since score changes from library might get added in the future.

Link copied to clipboard
val tags: List<String>? = null
Link copied to clipboard
open override var type: TvType?
Link copied to clipboard
open override val url: String

Functions

Link copied to clipboard
fun SearchResponse.addPoster(url: String?, headers: Map<String, String>? = null)
Link copied to clipboard