Chrome Download Station - Google Chrome extension

Post your questions about using our Download Station here.

Re: Chrome Download Station - Google Chrome extension

Postby LuukD » Fri May 04, 2012 10:40 pm

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
http://<server>:<port>/webman/3rdparty/DownloadStation/dlm/downloadman.cgi?action=add_url_task&desttext=<dest folder>&urls=["<url>"]
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...
Pierre.


Hi Pierre,

Thank you for your feedback. I've been working on a version that uses the URL as you specified and had it working. But there was one problem with the new interface: it uses cookies to store the login sessions. Chrome extensions share their cookie storage with normal browser tabs, this makes it impossible to logout from DSM in the browser while the extension is active (you'll be logged in again when the extension updates the download status). Also, if you log out and login immediately again using another account, the extension will start using the extension from the other user account.

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!
Download Station Extension for Google Chrome and Safari - Manage Download Station from within your browser!
http://www.download-station-extension.com/
LuukD
Experienced
Experienced
 
Posts: 142
Joined: Sun Jul 31, 2011 11:25 pm

Re: Chrome Download Station - Google Chrome extension

Postby pipo » Sat May 05, 2012 6:38 am

Looks like the only way would be that Synology supports a destination param in their /download_redirector.cgi interface.
Thanks for your answer.
pipo
I'm New!
I'm New!
 
Posts: 2
Joined: Fri May 04, 2012 8:22 am

Re: Chrome Download Station - Google Chrome extension

Postby LuukD » Sun May 06, 2012 7:54 pm

I am currently working on a new update for the extension, and I may have good news for the users of private trackers! I think I have found a way to solve the problem where DS downloads an file like index.php/login.php instead of the torrent. The solution I am working on is to download the torrent in the extension and upload it to a temporary location, from where Download Station can download the torrent file. Because downloading files within the extension requires certain API's, it will only work Safari 5.2 (beta) and Chrome.

To test this, I am looking for some popular torrent sites that require you to be logged in to download torrents. So if you know some of these torrent sites, please PM me :)

Just to emphasize: I have good hope that this can solve the problem in most situation, but I can't promise anything yet ;)
Download Station Extension for Google Chrome and Safari - Manage Download Station from within your browser!
http://www.download-station-extension.com/
LuukD
Experienced
Experienced
 
Posts: 142
Joined: Sun Jul 31, 2011 11:25 pm

Re: Chrome Download Station - Google Chrome extension

Postby hanzen » Thu May 10, 2012 9:08 pm

Is it possible to make your extension able to download subtiltes from eg. subscene ?

if you try to download the extension writes:
Failes to add download task
Please verify your url.
hanzen
I'm New!
I'm New!
 
Posts: 4
Joined: Wed Apr 04, 2012 10:42 pm

Re: Chrome Download Station - Google Chrome extension

Postby LuukD » Fri May 11, 2012 1:18 pm

Version 1.4.5 is now available! Chrome will update the extension automatically.
Changelog 1.4.5
- Support for private torrent sites! The extension will upload the torrent to a temporary location from where Download Station grabs the torrent file. Uploads are deleted after 10 minutes from the temporary location.
- More efficient communication with Download Station.


hanzen wrote:Is it possible to make your extension able to download subtiltes from eg. subscene ?

if you try to download the extension writes:
Failes to add download task
Please verify your url.


The download links on subscene do not use a normal URL to download the file, but they execute some JavaScript code. That's why Download Station doesn't understand how to handle it ;).
There are more websites that handle download links with JavaScript, each in a different way. To support them I would have to write a script for each of them to handle the download correctly. Long story short: I can't add support for every exception ;).
Download Station Extension for Google Chrome and Safari - Manage Download Station from within your browser!
http://www.download-station-extension.com/
LuukD
Experienced
Experienced
 
Posts: 142
Joined: Sun Jul 31, 2011 11:25 pm

Re: Chrome Download Station - Google Chrome extension

Postby russellweed » Fri May 18, 2012 2:52 pm

I love this extension! It's great!

I do have one question though. This is more of a configuration thing on the DiskStation side, but I figured this is the best place to ask.

I'd like to see all downloads currently in the Download Manager, but I don't want to plug in my root password here as it may be transmitted over wifi or etc. I'd rather have a dedicated username that has access to all of download station but nothing else. I did set up a user ('chrome') but that user can only see their own downloads - not anything else from other users or the admin.

Is there a way to do this? Can I add 'chrome' to the Administrators group but then further lock it down so it can't log into DSM or access any shares, etc? Or is there another, better way I'm not thinking of?

Thanks!
russellweed
Beginner
Beginner
 
Posts: 28
Joined: Tue May 08, 2012 12:22 am

Re: Chrome Download Station - Google Chrome extension

Postby LuukD » Fri May 18, 2012 5:24 pm

russellweed wrote:I love this extension! It's great!

I do have one question though. This is more of a configuration thing on the DiskStation side, but I figured this is the best place to ask.

I'd like to see all downloads currently in the Download Manager, but I don't want to plug in my root password here as it may be transmitted over wifi or etc. I'd rather have a dedicated username that has access to all of download station but nothing else. I did set up a user ('chrome') but that user can only see their own downloads - not anything else from other users or the admin.

Is there a way to do this? Can I add 'chrome' to the Administrators group but then further lock it down so it can't log into DSM or access any shares, etc? Or is there another, better way I'm not thinking of?

Thanks!


I think the only way is to use the Download Station user on all devices. Only administrators can see all download tasks and you can limit an admin's permissions, but as far as I know the Download Station admin user could change his own permissions back to get access to everything :P.

To increase the security you can also use an HTTPS connection. All traffic with your DiskStation will be encrypted, even if you use the default Synology certificate. If you enable HTTPS on your DiskStation and in the extension, you'll have to add an exception in your browser to allow the invalid certificate (the default Synology certificate is not valid for domains other than synology.com).
Download Station Extension for Google Chrome and Safari - Manage Download Station from within your browser!
http://www.download-station-extension.com/
LuukD
Experienced
Experienced
 
Posts: 142
Joined: Sun Jul 31, 2011 11:25 pm

Re: Chrome Download Station - Google Chrome extension

Postby russellweed » Fri May 18, 2012 8:28 pm

I'll try that. Thanks!
russellweed
Beginner
Beginner
 
Posts: 28
Joined: Tue May 08, 2012 12:22 am

Re: Chrome Download Station - Google Chrome extension

Postby DragoslaV » Tue May 22, 2012 2:07 pm

Thanks this is the best extension ever!

However I have a big problem with downloading torrent files after your latest update. All torrent files uploaded to http://www.luukdobber.nl/ are giving me an error.

Also I would really appricate it if you would give us the options to upload the torrent file to your server. Althrough I trust you, I dont like the idea that the file is hosted on an 3rd party server.

*edit*
I just discovered I was one version behind with the DSM, I'm updating it now to see if that will fix my issue!
DragoslaV
Trainee
Trainee
 
Posts: 10
Joined: Sun Nov 22, 2009 12:25 am

Re: Chrome Download Station - Google Chrome extension

Postby LuukD » Tue May 22, 2012 7:19 pm

DragoslaV wrote:Thanks this is the best extension ever!

However I have a big problem with downloading torrent files after your latest update. All torrent files uploaded to http://www.luukdobber.nl/ are giving me an error.

Also I would really appricate it if you would give us the options to upload the torrent file to your server. Althrough I trust you, I dont like the idea that the file is hosted on an 3rd party server.

*edit*
I just discovered I was one version behind with the DSM, I'm updating it now to see if that will fix my issue!


I agree that users should have an option to disable uploading of torrents to a temporary location. I'll add it in the next version. The next version will also have more detailed error messages when adding tasks.

Do you get an error when you add a task (in a notification) or as status in the popup? The previous version of the Download Station package had some problems with torrents, so don't forget to update the package as wel ;). Could you post a torrent link that doesn't work (the original link)? You can also send it in a PM!
Download Station Extension for Google Chrome and Safari - Manage Download Station from within your browser!
http://www.download-station-extension.com/
LuukD
Experienced
Experienced
 
Posts: 142
Joined: Sun Jul 31, 2011 11:25 pm

Re: Chrome Download Station - Google Chrome extension

Postby DragoslaV » Tue May 22, 2012 9:53 pm

I'm up2date now with the software but I still have issue's. I figured out that the problem is the redirection. The download station would normally follow the redirection and download that torrent file but it seems now that you're trying to download the redirection script. (i.e. HTML within the generated torrent file on your server)

I will send you the example in a PM! Thanks again for this wonderfull extension! 8)
DragoslaV
Trainee
Trainee
 
Posts: 10
Joined: Sun Nov 22, 2009 12:25 am

Re: Chrome Download Station - Google Chrome extension

Postby LuukD » Tue May 22, 2012 10:21 pm

DragoslaV wrote:I'm up2date now with the software but I still have issue's. I figured out that the problem is the redirection. The download station would normally follow the redirection and download that torrent file but it seems now that you're trying to download the redirection script. (i.e. HTML within the generated torrent file on your server)

I will send you the example in a PM! Thanks again for this wonderfull extension! 8)


I've found the bug causing this problem. It is an issue with torrent links that use URL parameters (like ?id=1234). I'll release an update later this week to fix the issue. Until then links with URL parameters won't work..
Download Station Extension for Google Chrome and Safari - Manage Download Station from within your browser!
http://www.download-station-extension.com/
LuukD
Experienced
Experienced
 
Posts: 142
Joined: Sun Jul 31, 2011 11:25 pm

Re: Chrome Download Station - Google Chrome extension

Postby LuukD » Wed May 23, 2012 9:40 am

I have decided to release an update with only a fix for the issue with torrent files, since it might affect a many users of the extension. Chrome will update the extension automatically. You can expect another update with more changes soon :D

Changelog 1.4.6
- Fix for problems with torrent URL's that contain parameters
Download Station Extension for Google Chrome and Safari - Manage Download Station from within your browser!
http://www.download-station-extension.com/
LuukD
Experienced
Experienced
 
Posts: 142
Joined: Sun Jul 31, 2011 11:25 pm

Re: Chrome Download Station - Google Chrome extension

Postby americium » Wed May 30, 2012 5:37 pm

Hello!

I love the Google Chrome widget but there is one thing i miss very much.

Starting a download of *.nzb Files directly in the Chrome browser without logging in to the DS211 main webserver.

Can you add this feature ?

Thanks in advance!

Greetz!
americium
americium
I'm New!
I'm New!
 
Posts: 2
Joined: Wed May 30, 2012 5:34 pm

Re: Chrome Download Station - Google Chrome extension

Postby roydv » Mon Jun 04, 2012 6:57 pm

This is a very useful app.

Is it possible to include the ability to include authentication credentials (UserID & Password) when these are required for a web download.

Thanks
roydv
I'm New!
I'm New!
 
Posts: 1
Joined: Mon Jun 04, 2012 6:38 pm

PreviousNext

Return to Download Station

Who is online

Users browsing this forum: No registered users and 1 guest