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

Change download folder torrents #30

Closed
arbakker opened this issue Sep 14, 2014 · 7 comments
Closed

Change download folder torrents #30

arbakker opened this issue Sep 14, 2014 · 7 comments
Assignees

Comments

@arbakker
Copy link

Is there a way to change the download folder to which the torrents are downloaded? Seems that new torrents are downloaded to:

/data/data/com.android.providers.downloads/cache

Since this is a system file path it is difficult to automatically handles these newly downloaded files with Tasker. Would be nice if there is an option to save downloaded torrents to:

/sdcard/whatcd
@Twinklebear
Copy link
Collaborator

Interesting, I wasn't sure where the download manager was putting our downloads. This sounds like a great idea for a user preference, I'll put it on our todo list.

@Twinklebear Twinklebear self-assigned this Sep 19, 2014
@justin2221
Copy link

I can't seem to locate this data folder. Any progress for the directory changing?

@arbakker
Copy link
Author

arbakker commented Oct 6, 2014

I think the current download location is the default download location chosen by the DownloadManager. To set the download location you can use SetDestinationUri(Uri).

@Twinklebear
Copy link
Collaborator

I did check out setDestinationUri but that also sets the filename, so the method I've chosen to go with is to download the file normally so we get the right filename then move it to some user specified folder in your external storage Downloads folder.

The one question I did have for anyone interested in using this feature is that if always putting things under the downloads external data folder would be alright. There might be some permissions issues if the user specifies just any random path and I think this avoids that. What do you think?

As for releasing it development has gotten slowed down a lot with grad school starting but I may have some time next week to get some other tweaks in and put this out.

@Twinklebear
Copy link
Collaborator

This should be fixed in the latest release by bfe7a6f, let me know if it works and I'll close this issue 😄.

@arbakker
Copy link
Author

Works like a charm :). However the app did crash a few times when I tried tot enter unusual paths (suchas "/..", "/", "."), since I want the torrents to be saved in Downloads/. Nevertheless my downloaded torrents are synced now automatically with a tasker script to my nas, which is great. Thanks a bunch for implementing this feature!

@Twinklebear
Copy link
Collaborator

Great! I'll look into supporting at least "." paths with some tweaks I'm looking into for the download path settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants