add bitrate to torr status

This commit is contained in:
YouROK
2023-02-27 23:20:46 +03:00
parent dd9e72ef80
commit f409959b3d
3 changed files with 18 additions and 1 deletions

View File

@@ -61,6 +61,8 @@ type TorrentStatus struct {
ChunksReadWasted int64 `json:"chunks_read_wasted,omitempty"`
PiecesDirtiedGood int64 `json:"pieces_dirtied_good,omitempty"`
PiecesDirtiedBad int64 `json:"pieces_dirtied_bad,omitempty"`
DurationSeconds float64 `json:"duration_seconds,omitempty"`
BitRate string `json:"bit_rate,omitempty"`
FileStats []*TorrentFileStat `json:"file_stats,omitempty"`
}