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
feat: add preference to customize global trackers #1836
Conversation
Rather than setting |
In #881, I read
So change needs to be made to the global variable too, right ? That'd ensure user's choice to choose the tracker they want.
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
Yes, this is still relevant. Ability to change the default trackers used is important, from a privacy perspective and user experience. Users have submitted duplicate issues since the creation of this PR asking this (#881). |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
@subins2000 is this good to go? |
@DiegoRBaquero I just tested this locally again to confirm that it works. I see that using |
dd56392
to
9fabd23
Compare
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[ ] Bug fix
[x] New feature
[ ] Other, please explain:
What changes did you make? (Give an overview)
Added a new preference item, "Global Trackers". This list will be used as the default announceList instead of
create-torrent
module's list. This is done by setting the global variableWEBTORRENT_ANNOUNCE
Currently it requires a restart for the changes to apply. But I wonder if changes toWEBTORRENT_ANNOUNCE
will reflect in app runtime after init ? 🤔Tracker changes will apply on pause & resume of a torrent.
Which issue (if any) does this pull request address?
#881
Is there anything you'd like reviewers to focus on?
Does changes toWEBTORRENT_ANNOUNCE
reflect in app runtime after init ? 🤔 My guess is that torrent needs to be paused and resumed for the new trackers to get applied ?Changes to
WEBTORRENT_ANNOUNCE
will reflect to future webtorrentclient.add
calls. So pausing and resuming a torrent is enough.