Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trackerAdd argument is deprecated since transmission daemon 4.0.0 #18

Open
benyjr opened this issue Oct 8, 2023 · 0 comments
Open

trackerAdd argument is deprecated since transmission daemon 4.0.0 #18

benyjr opened this issue Oct 8, 2023 · 0 comments

Comments

@benyjr
Copy link

benyjr commented Oct 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant