transmission-remote-gui/transgui

Incorrect type of paused argument on torrent-add RPC

jpmikkers opened this issue · 1 comments

OS: windows 11
Transmission deamon: custom, based on transmission RPC spec
Transmission remote GUI: v5.18.0

Transgui sends the paused argument of torrent-add as an integer, but this should be a boolean (i.e. true/false).

See:

transgui/main.pas

Line 2675 in 5849c13

args.Add('paused', TJSONIntegerNumber.Create(1));

and:

transgui/main.pas

Line 2764 in 5849c13

args.Add('paused', TJSONIntegerNumber.Create(1));

Spec:

"paused" | boolean if true, don't start the torrent

Transmissions own web-ui does send it as a bool.

p.s. the integer only works because transmission has a really relaxed attitude towards what is correct json or not.