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

[Feature Request] adding public tracker list for each download task #137

Open
soyvv opened this issue Feb 12, 2020 · 6 comments
Open

[Feature Request] adding public tracker list for each download task #137

soyvv opened this issue Feb 12, 2020 · 6 comments

Comments

@soyvv
Copy link

soyvv commented Feb 12, 2020

github tracker list:
https://github.com/ngosang/trackerslist

The proposal:

  1. add a configuration option to enable "adding public trackers";
  2. if the option is checked, for each successfully created task, add the additional trackers from the list above. (There is tracker adding API available for download station API)

This would accelerate the downloading quite a bit.

Thanks.

@seansfkelley
Copy link
Owner

This is an interesting idea! Unfortunately, I won't have time for the foreseeable future to dig into a feature this large. :(

@boin
Copy link
Contributor

boin commented Dec 5, 2020

github tracker list:
https://github.com/ngosang/trackerslist

The proposal:

  1. add a configuration option to enable "adding public trackers";
  2. if the option is checked, for each successfully created task, add the additional trackers from the list above. (There is tracker adding API available for download station API)

This would accelerate the downloading quite a bit.

Thanks.

such a nice idea! How can I find "(There is tracker adding API available for download station API)" ?
I'll try contribute this feature.

@seansfkelley
Copy link
Owner

The way this project is structured, I've offloaded all of the API implementation to https://github.com/seansfkelley/synology-typescript-api/. Additionally, you can find the official docs linked from that readme: https://global.download.synology.com/download/Document/Software/DeveloperGuide/Package/DownloadStation/All/enu/Synology_Download_Station_Web_API.pdf

I'm happy to accept this change if you make it, however, I would like to keep knowledge of any particular tracker or even tracker lists out of extension. If you implement it, I suggest a setting that accepts a URL from which tracker lists can be fetched.

@boin
Copy link
Contributor

boin commented Dec 6, 2020

Thanks for the help. However, I can't find any information about modify tracker for a certain task from official docs. Appreciate any help if I've missed anything.

@seansfkelley
Copy link
Owner

Hm, you're right, I don't see anything in the documentation. That's the only documentation I've ever used to use their API, so I'm not aware of any other way to figure out what's available, if it's undocumented, without examining the network traffic in DSM. :/

@boin
Copy link
Contributor

boin commented Dec 6, 2020

Seems we got some undocumented juice 🍡 api=SYNO.DownloadStation2.Task.BT.Tracker&method=add

fetch("https://NASIP/webapi/entry.cgi", {
"body":
"task_id=%22dbid_69%22&tracker=%5B%22udp%3A%2F%2F93.158.213.92%3A1337%2Fannounce%22%2C%22http%3A%2F%2F54.39.179.91%3A6699%2Fannounce%22%5D&api=SYNO.DownloadStation2.Task.BT.Tracker&method=add&version=2",
"method": "POST",
"mode": "cors"
});

There has some bugs anyway. adding new tracker just not working if a magnet task is pending for DHT response.

boin added a commit to boin/synology-download-manager that referenced this issue Dec 21, 2020
adding public tracker list for each download task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants