set_torrent
Change per-torrent settings for bandwidth limits, file priorities, tracker lists, seeding rules, and queue position.
Instructions
Change any per-torrent setting. Every mutator the RPC accepts is here.
Args: ids: Torrent ids or hash strings. bandwidth_priority: -1 low, 0 normal, 1 high. download_limit: Download cap in kB/s. download_limited: Whether download_limit applies. files_wanted: Indices of files to download. files_unwanted: Indices of files to skip. group: Bandwidth group name. honors_session_limits: Whether session speed limits apply. labels: Replace the torrent's labels. location: New data directory. This only records the path; use move_torrent_data to move the files. peer_limit: Maximum peers. priority_high: File indices to fetch first. priority_low: File indices to fetch last. priority_normal: File indices at normal priority. queue_position: Position in the queue, counting from 0. seed_idle_limit: Minutes of no activity before seeding stops. seed_idle_mode: 0 global setting, 1 seed_idle_limit, 2 unlimited. seed_ratio_limit: Stop seeding at this ratio. seed_ratio_mode: 0 global setting, 1 seed_ratio_limit, 2 unlimited. sequential_download: Download pieces in order. tracker_add: Tracker announce URLs to add. Deprecated by Transmission in favour of tracker_list. tracker_list: The whole tracker list as text: URLs separated by newlines, tiers separated by a blank line. tracker_remove: Tracker ids to remove. Deprecated in favour of tracker_list. tracker_replace: Pairs of tracker id and new URL. Deprecated in favour of tracker_list. upload_limit: Upload cap in kB/s. upload_limited: Whether upload_limit applies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| group | No | ||
| labels | No | ||
| location | No | ||
| peer_limit | No | ||
| tracker_add | No | ||
| files_wanted | No | ||
| priority_low | No | ||
| tracker_list | No | ||
| upload_limit | No | ||
| priority_high | No | ||
| download_limit | No | ||
| files_unwanted | No | ||
| queue_position | No | ||
| seed_idle_mode | No | ||
| tracker_remove | No | ||
| upload_limited | No | ||
| priority_normal | No | ||
| seed_idle_limit | No | ||
| seed_ratio_mode | No | ||
| tracker_replace | No | ||
| download_limited | No | ||
| seed_ratio_limit | No | ||
| bandwidth_priority | No | ||
| sequential_download | No | ||
| honors_session_limits | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |