transmission-rpc icon indicating copy to clipboard operation
transmission-rpc copied to clipboard

"removed" field is discarded on torrent-get call with "recently-active" for ids

Open g-regor opened this issue 5 years ago • 1 comments

Calling get_torrents with "recently-active" as ids, only a list of torrents is returned and not the array of removed torrent ids.

From the RPC API spec

If the request's "ids" field was "recently-active", a "removed" array of torrent-id numbers of recently-removed torrents.

The code is acknowledging "recently-active" as a valid value for ids, but the returned "removed" field is ignored.

I think that there should be a method specifically for this kind of rpc call.

g-regor avatar Dec 13 '20 03:12 g-regor

Considering a way to add this feature but not breaking current code...

trim21 avatar Dec 22 '20 12:12 trim21