TorrentDescription

@Serializable
data class TorrentDescription(val provider: String, val magnetUrl: String?, val title: String, val size: Long, val seeds: Int, val peers: Int, val themoviedbId: Int? = null, val tvdbId: Int? = null, val imdbId: String? = null, val infoUrl: String? = null, val hash: String?)

Represents a torrent listed on a torrentsearch.TorrentProvider. Contains all the provider's latest details for the torrent and a magnetUrl which can be used to download the torrent.

Constructors

Link copied to clipboard
constructor(provider: String, magnetUrl: String?, title: String, size: Long, seeds: Int, peers: Int, themoviedbId: Int? = null, tvdbId: Int? = null, imdbId: String? = null, infoUrl: String? = null, hash: String?)

Properties

Link copied to clipboard
val hash: String?

The torrent's hash.

Link copied to clipboard
val imdbId: String? = null

The imdb.com id for the content of the torrent.

Link copied to clipboard
val infoUrl: String? = null

The providers HTML info page for the torrent.

Link copied to clipboard
Link copied to clipboard

The Bittorrent magnet url to download the torrent.

Link copied to clipboard
val peers: Int

The number of users downloading the torrent.

Link copied to clipboard

The provider which returned the torrent.

Link copied to clipboard
val seeds: Int

The number of users seeding the torrent.

Link copied to clipboard
val size: Long

The size in bytes of the torrent contents.

Link copied to clipboard
val themoviedbId: Int? = null

The themoviedb.org id for the content of the torrent.

Link copied to clipboard

The provider's name for this torrent, not always the actual torrent file name.

Link copied to clipboard
val tvdbId: Int? = null

The thetvdb.com id for the content of the torrent.