pipo wrote:Hi LuukD,
Your extension is very helpful, thank you !
The only thing that is missing for me to be perfect is the ability of choosing a destination folder for the download (instead of the default download destination).
I had a look at it and made it work (modifying locally your extension code) with:
1) using an alternate addurl request
instead of /download_redirector.cgi that does not support any param to specify the destination
2) using and alternate login request
/downloadman.cgi does not rely on the same login technique than /download_redirector.cgi, so I had to login using /webman/login.cgi?username=<user>&passwd=<pwd>
(does not replace the original login; just in addition when using /downloadman.cgi)
3) specifying destination folders in the extension settings
I did not do it, but the idea I had was not to select interactively the destination each time a download task is added, but rather let the user specify some "favorite" folders in the extension settings, and adding sub-menus under the "Download with DiskStation" contextual menu item for each favorite destination.
This way your extension would remain very usable and effective.
Just a suggestion...
I have tried many different approaches, but I came to the conclusion that either Synology has to add a way for cookie-less authentication or Google (and Apple for the Safari extension) has to add a way to separate browsing cookies from extension cookies.
I'd love to switch to the new interface as soon as it is possible . It would allow me to add new features and better magnet support!