Convert a torrent with stats into the shared normalized format. Speeds are MiB/s and the ETA is a { secs, nanos } duration, see https://github.com/ikatson/rqbit/blob/v9.0.1/crates/librqbit/src/torrent_state/stats.rs
{ secs, nanos }
Optional
file list from the torrent details, used for totalSize. rqbit's total_bytes only counts the pieces of selected files, so without the file list totalSize is the selected size.
totalSize
total_bytes
Convert a torrent with stats into the shared normalized format. Speeds are MiB/s and the ETA is a
{ secs, nanos }duration, see https://github.com/ikatson/rqbit/blob/v9.0.1/crates/librqbit/src/torrent_state/stats.rs