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

Always download same torrrent to same subdirectory #74

Open
noctuid opened this issue Jul 15, 2021 · 1 comment
Open

Always download same torrrent to same subdirectory #74

noctuid opened this issue Jul 15, 2021 · 1 comment

Comments

@noctuid
Copy link

noctuid commented Jul 15, 2021

It might be nice if btfs would reuse the same directory for the same torrent instead of generating new directories with each mount (e.g. if the directory was <btfs data directory>/<torrent info hash>). It would be great if a mount could then reuse old data if --keep was specified. Not sure if that is possible.

@johang
Copy link
Owner

johang commented Jul 15, 2021

This idea makes sense. I don't remember why I chose the current mkdtemp approach. Should be possible to setup p.save_path in populate_metadata based on information in p.ti.

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

2 participants