Transm...::Stats(3pm)

πŸ“¦
version 0.0806 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Transmission::Stats β€” it's giving Transmission session statistics ✨ literally all the numbers your torrent session is serving, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, no cap, there's a whole spec for this and they just point you at it. go read "4.2 Sesion statistics" (yes that's spelled like that fr fr, we don't fix typos in here πŸ’€) from:

https://trac.transmissionbt.com/browser/trunk/extras/rpc-spec.txt

that's the whole description. iconic of them honestly πŸ’…


πŸŽ€ ATTRIBUTES πŸŽ€

every single one of these is a lil number you can grab off your object. look at her go:

  • active_torrent_count β€” how many torrents are actively doing the most rn πŸ‘‘
$num = $self->active_torrent_count;
  • download_speed β€” the download speed, the way she's pulling bytes down 😭πŸ”₯
$num = $self->download_speed;
  • paused_torrent_count β€” how many torrents are on pause, taking a lil nap πŸ’€
$num = $self->paused_torrent_count;
  • torrent_count β€” the total torrent count, the main character number fr 🌟
$num = $self->torrent_count;
  • upload_speed β€” the upload speed, giving back to the community, so generous of her 🫢
$num = $self->upload_speed;

✨ METHODS ✨

🌸 read_all

bestie this is THE method. it initialize/updates all the stats attributes using Transmission RPC "session-stats" β€” so it goes and asks Transmission what's up, and then it also returns all attributes as a hash reference (named as per the attributes of the class, so the keys match the attribute names, iykyk 🧚).

like, she refreshes AND hands you the whole vibe in one go. obsessed, actually πŸ’œ

πŸ’€ LICENSE πŸ’€

(nothing here. crickets. the section is just vibing empty, bestie β€” not me pointing that out but here we are πŸ™ˆ)

πŸ’… AUTHOR πŸ’…

See Transmission::Client β€” that's where the author deets live, go look there πŸŽ€


and that's the whole page!! perl v5.36.0, dated 2022-10-16, brought to you by the User Contributed Perl Documentation girlies 🌈 mwah, love u, bye πŸ’–βœ¨

πŸ“¦ where this page comes from