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

download to separate folder for music #37

Open
seekerlee opened this issue Dec 24, 2019 · 1 comment
Open

download to separate folder for music #37

seekerlee opened this issue Dec 24, 2019 · 1 comment

Comments

@seekerlee
Copy link
Owner

add a config in order to download music to separate folder for music

@seekerlee
Copy link
Owner Author

You can't change the base Downloads folder - this setting is not anyhow exposed.

However, with chrome.downloads API you can put files in a subfolder of the user's Downloads folder.

You can either initiate the download yourself with chrome.downloads.download or use chrome.downloads.onDeterminingFilename request to intercept downloads from other sources.

You need to provide a relative path as a suggested name, e.g. "special/filename" to save into a subfolder special inside the Downloads folder.

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

1 participant