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

TrackerReplace field of []string type does NOT work #22

Open
sagan opened this issue May 24, 2023 · 2 comments
Open

TrackerReplace field of []string type does NOT work #22

sagan opened this issue May 24, 2023 · 2 comments

Comments

@sagan
Copy link

sagan commented May 24, 2023

Hi

The TrackerReplace field of []string type in type TorrentSetPayload struct does not work as intended. It's used by TorrentSet method (corresponding to transmission torrent-set rpc method) to edit the torrent tracker. TR will return an "invalid argument" rpc error. I have tested it in Transmission 3.0 for Linux.

It should be in []interface{} type and the <trackerId/new announce URLs> pairs should be passed as mixed types of int64 / string.

@hekmon
Copy link
Owner

hekmon commented May 30, 2023

Thank you for spotting this.

Can I kindly ask a PR to fix this issue as you already tested a fix ?

@hekmon
Copy link
Owner

hekmon commented Aug 11, 2023

Can you confirm the issue is only for TransmissionRPC v2 / Transmission v3 or is it still the case for the new release TransmissionRPC v3 beta1 ?

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

2 participants