Open dakky opened 10 years ago
Is there any reason you are not just saving the NZB into a folder (normally a shared remote one) that is your Sab watch directory?
Its not this trivial: the shared folder is not accessable from all clients which use sab (eg mobile) And nfs shares from unixoid hosts would be possible, but the overhead is quite high (eg using vpn to protect uncrypted nfs traffic).
Chrome doesn't offer any API to handle downloads, so extensions can't intercept them, or in any way automate something related to downloads. I think we can see the HTTP request made for downloads, and we could log it (including the cookies used), but SABnzbd doesn't support cookies, so that wouldn't help either.
This is certainly achievable. It would actually suit the "Send link to SABnzbd" context menu better than the current mechanism, as the XHR in the web worker would carry the cookies in the page context.
Cool. Didn't know it was possible. Leaving open then, in case someone wants to implement it.
Hello
it would be awesome, if u could add an option, which dowloads the nzb first and uploads the file after that to sabnzbd. When trying to upload a file from a "protected" location (eg. a board/forum) the nzb becomes broken/empty(?). So a workaround might be to download the nzb with Chrome to a local location (so that the brower uses the cookies/credentials/whatever for downloading) and upload it afterwards to sabnzbd.
Greetings Dakky