class

QBittorrent::Model::TorrentProperties

Inherits JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Detailed, per-torrent properties returned by torrents/properties (see ext/api-map.md ยง3).

Every field is nilable and JSON::Serializable::Unmapped is included so older/newer builds that omit or add keys still parse. Byte counts, timestamps and durations are Int64?; share_ratio is Float64?.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

addition_date

Epoch seconds the torrent was added.

Source
comment

Torrent comment.

Source
completion_date

Epoch seconds the torrent completed.

Source
created_by

.torrent creator string.

Source
creation_date

Epoch seconds the .torrent was created.

Source
dl_limit

Download limit, bytes/s (-1 = unlimited).

Source
dl_speed

Current download speed, bytes/s.

Source
dl_speed_avg

Average download speed, bytes/s.

Source
download_path

Incomplete-files (download) path (qB 5.x).

Source
eta

Estimated time to completion, seconds.

Source
hash

Torrent infohash (qB 5.x).

Source
infohash_v1

BitTorrent v1 infohash (qB 5.x).

Source
infohash_v2

BitTorrent v2 infohash (qB 5.x).

Source
is_private

Whether the torrent belongs to a private tracker (qB 5.x).

Source
last_seen

Epoch seconds the torrent was last seen complete.

Source
name

Torrent name (qB 5.x).

Source
nb_connections

Current number of connections.

Source
nb_connections_limit

Connection limit.

Source
peers

Currently connected peers.

Source
peers_total

Total peers in the swarm.

Source
piece_size

Piece size in bytes.

Source
pieces_have

Pieces owned.

Source
pieces_num

Total number of pieces.

Source
reannounce

Seconds until the next tracker announce.

Source
save_path

Save path for the torrent's data.

Source
seeding_time

Seconds spent seeding.

Source
seeds

Currently connected seeds.

Source
seeds_total

Total seeds in the swarm.

Source
share_ratio

Share ratio.

Source
time_elapsed

Seconds the torrent has been active.

Source
total_downloaded

Lifetime downloaded bytes.

Source
total_downloaded_session

Session downloaded bytes.

Source
total_size

Total size in bytes.

Source
total_uploaded

Lifetime uploaded bytes.

Source
total_uploaded_session

Session uploaded bytes.

Source
total_wasted

Total wasted (hashfail) bytes.

Source
up_limit

Upload limit, bytes/s (-1 = unlimited).

Source
up_speed

Current upload speed, bytes/s.

Source
up_speed_avg

Average upload speed, bytes/s.

Source