feat: add editDate to RPC (#1056)

* feat: add tr_stat.infoDate to note tr_info changes

The last time during this session that any tr_info field changed
(e.g. trackers/filenames edited or magnet torrent got metadata).
RPC clients can monitor this to know when to reload fields which
don't usually change.
This commit is contained in:
Charles Kerr
2019-11-12 17:13:42 -06:00
committed by GitHub
parent c62cb35fd4
commit 44fc571a67
15 changed files with 62 additions and 10 deletions

View File

@@ -190,6 +190,7 @@
downloadedEver | number | tr_stat
downloadLimit | number | tr_torrent
downloadLimited | boolean | tr_torrent
editDate | number | tr_stat
error | number | tr_stat
errorString | string | tr_stat
eta | number | tr_stat
@@ -806,6 +807,7 @@
| | yes | session-get | new arg "session-id"
| | yes | torrent-get | new arg "labels"
| | yes | torrent-set | new arg "labels"
| | yes | torrent-set | new arg "editDate"
| | yes | torrent-get | new arg "format"