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

Load torrent files from specific folder #5

Open
ajnavarro opened this issue Oct 26, 2020 · 7 comments
Open

Load torrent files from specific folder #5

ajnavarro opened this issue Oct 26, 2020 · 7 comments
Labels
Projects

Comments

@ajnavarro
Copy link
Member

No description provided.

@ajnavarro ajnavarro added this to To do in distribyted Oct 28, 2020
@ajnavarro
Copy link
Member Author

Planned for next release using https://github.com/fsnotify/fsnotify to make multi-OS compatible.

@ajnavarro ajnavarro moved this from To do to In progress in distribyted Nov 16, 2020
@ajnavarro ajnavarro moved this from In progress to To do in distribyted Mar 10, 2021
@joshurawr
Copy link

Is this feature to do this while the program is running? Is there a startup-time way to specify a path to load all torrent files from a folder in the config? I was trying to point torrent_path to a folder but seems to not like it, giving an error message error="error reloading configuration: error loading route multimedia: read /distribyted-data/torrents/: is a directory" (running the docker version)

@ajnavarro
Copy link
Member Author

Hi @joshurawr

Yes, the idea with this feature is to dynamically load/unload torrents from a specified folder while distribyted is running. Apart from that, we could implement initial torrent loading from a specified folder too. Right now you must specify all torrents you want to load.

I'll bump the priority for this task and try to make a new release with it ASAP.

Thank you for your feedback, really appreciated!

@ajnavarro ajnavarro moved this from To do to In progress in distribyted Dec 19, 2021
@jkaberg
Copy link

jkaberg commented Sep 19, 2022

any progress on this @ajnavarro ? distribyted fits my use case perfectly if this feature gets implemented :-)

@ajnavarro
Copy link
Member Author

Hey @jkaberg , With the new release you can load torrent files directly from a specified folder. Dynamic load/unload is not implemented yet, so it loads the torrent on startup.

@jkaberg
Copy link

jkaberg commented Nov 4, 2022

@ajnavarro thanks, thats good ground work. do you have any plan/eta on dynamic load/unload?

@ajnavarro
Copy link
Member Author

Nothing yet. The torrent loader system was not designed to dynamically load/unload torrents. It must be refactored to allow loading and unloading torrents after starting distribyted.

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

No branches or pull requests

3 participants