Author image Olof Johansson
and 1 contributors

NAME

Transmission::Session - Transmission session

DESCRIPTION

See "4 Session requests" from https://trac.transmissionbt.com/browser/trunk/extras/rpc-spec.txt

This class holds data, regarding the Transmission session.

ATTRIBUTES

stats

 $stats_obj = $self->stats;
 

Returns a Transmission::Stats object.

alt_speed_down

 $number = $self->alt_speed_down

max global download speed (in K/s)

alt_speed_enabled

 $boolean = $self->alt_speed_enabled

true means use the alt speeds

alt_speed_time_begin

 $number = $self->alt_speed_time_begin

when to turn on alt speeds (units: minutes after midnight)

alt_speed_time_enabled

 $boolean = $self->alt_speed_time_enabled

true means the scheduled on/off times are used

alt_speed_time_end

 $number = $self->alt_speed_time_end

when to turn off alt speeds (units: same)

alt_speed_time_day

 $number = $self->alt_speed_time_day

what day(s) to turn on alt speeds (look at tr_sched_day)

alt_speed_up

 $number = $self->alt_speed_up

max global upload speed (in K/s)

blocklist_enabled

 $boolean = $self->blocklist_enabled

true means enabled

dht_enabled

 $boolean = $self->dht_enabled

true means allow dht in public torrents

encryption

 $string = $self->encryption

"required", "preferred", "tolerated"

download_dir

 $string = $self->download_dir

default path to download torrents

peer_limit_global

 $number = $self->peer_limit_global

maximum global number of peers

peer_limit_per_torrent

 $number = $self->peer_limit_per_torrent

maximum global number of peers

pex_enabled

 $boolean = $self->pex_enabled

true means allow pex in public torrents

peer_port

 $number = $self->peer_port

port number

peer_port_random_on_start

 $boolean = $self->peer_port_random_on_start

true means pick a random peer port on launch

port_forwarding_enabled

 $boolean = $self->port_forwarding_enabled

true means enabled

seedRatioLimit

 $double = $self->seedRatioLimit

the default seed ratio for torrents to use

seedRatioLimited

 $boolean = $self->seedRatioLimited

true if seedRatioLimit is honored by default

speed_limit_down

 $number = $self->speed_limit_down

max global download speed (in K/s)

speed_limit_down_enabled

 $boolean = $self->speed_limit_down_enabled

true means enabled

speed_limit_up

 $number = $self->speed_limit_up

max global upload speed (in K/s)

speed_limit_up_enabled

 $boolean = $self->speed_limit_up_enabled

true means enabled

LICENSE

AUTHOR

See Transmission::Client