set_files set priority for unmentioned files to low

Issue #29 resolved
created an issue

Transmission threats empty list for //priority-low/normal/high// parameters as "all files". And transmissionrpc always sends all three parameters.




client.set_files({'torrent-hash': { 1: {'priority': 'normal'}, 2: {'priority': 'high'}, }}) }}}

will send



{ 'priority-low': [], 'priority-high': [2], 'priority-normal': [1], } }}}

which is interpreted as "set normal priority to file 1, high to file 2 and low to all other files". And even worse, seems like "priority-low" parameter is handled after "priority-high", so "low" priority will be set even for files with "high" priority requested.

Comments (3)

  1. Log in to comment