-
Notifications
You must be signed in to change notification settings - Fork 81
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
Synology Download station 3.8.16-3566 #303
Comments
similarly to #227, i don't own a synology download station and thus unfortunately cannot investigate/run tests/fix this. pull requests are appreciated, if you can somehow get me access to one of these devices, i can mess around with it. i don't remember how the present code came into existence, i assume it was a pull request or someone gave me access. in any case, this file needs fixing: https://github.com/bogenpirat/remote-torrent-adder/blob/master/webuiapis/SynologyWebUI.js closing this for now, will re-open if anything related to it happens. |
Hi, SickChill had the same issues. Changes in the API called for putting the file in qoutes '"file"' and the destination is now required it would seem like. https://github.com/SickChill/SickChill/issues/7062 {'api': 'SYNO.DownloadStation2.Task', 'version': '2', 'method': 'create', 'session': 'DownloadStation', 'url': 'magnet:?xt=urn:btih:F72B8AC6026&dn=The+Walking+Dead&tr=http://tracker/announce', 'type': 'url', 'create_list': 'false', 'destination': 'Media/Download'} |
uh... alright. so you're saying:
does that sound about right? i'm willing to implement this, just wanna clear up what exactly supposedly works. PS: this is reopened in response to #304 |
Yes, and it looks like the destination (which is the Synology share path to store the downloaded file) also needs to be included. |
so this is something the user has to enter individually, yes? no default values i can hardcode? |
Yes, setting per NAS |
okay, give f838db5 (+fix) a go. zip.
PS: this comment is killing me. i don't enjoy writing code like this at all - against a seemingly poorly-designed endpoint without any way of testing it. i really hope it works. if it doesn't, perhaps you can dick around a bit with it, or at least the error responses are readable. |
After update of Synology Download station to version 3.8.16-3566 including
https://www.synology.com/en-global/security/advisory/Synology_SA_21_11
Send to now gives the following error
DownloadStation: Response to the POST request is {"error":{"code":101},"success":false}
The text was updated successfully, but these errors were encountered: