Skip to content

trackerAdd argument is deprecated since transmission daemon 4.0.0 #18

@benyjr

Description

@benyjr

I am getting the following error:

Shortbus (2006) [BluRay] [1080p] [YTS.AM]: Adding 1 trackers (before: 241)
Traceback (most recent call last):
File "/home/beny/scripts/transmission-trackers.py", line 255, in
tc.change_torrent(t.id, trackerAdd=list(diff))
File "/home/beny/.local/lib/python3.12/site-packages/transmission_rpc/client.py", line 726, in change_torrent
self._request(RpcMethod.TorrentSet, args, ids, True, timeout=timeout)
File "/home/beny/.local/lib/python3.12/site-packages/transmission_rpc/client.py", line 287, in _request
raise TransmissionError(
transmission_rpc.error.TransmissionError: Query failed with result "error setting announce list".

It seems that this script will not work with Transmission 4.0.0+ as trackerAdd has been depricated in favour of trackerList which replaces all the trackers of a given torrent with a new list of trackers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions