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

Extending it to be a NAS downloader #76

Open
razfag opened this issue Sep 28, 2021 · 2 comments
Open

Extending it to be a NAS downloader #76

razfag opened this issue Sep 28, 2021 · 2 comments

Comments

@razfag
Copy link

razfag commented Sep 28, 2021

I'm wondering of you've got any insights implementing something like this:

  • service that runs on a NAS and watches a a bunch of folders using inotify for torrent files
  • once a new torrent file is found it mounts it using btfs
  • only download the main file, if it's a video just download the mp4 into the folder where the torrent file was, no folders, etc...
  • for torrent with multiple large files download it as is
  • if the file is not accessed behave like a regular bittorrent client
  • after download finishes it should return to being a regular file

I'm thinking of turning it into a library and then python library and build a somewhat general purpose bittorrent client around it (perhaps with django)

@johang
Copy link
Owner

johang commented Sep 30, 2021

I think this is possible to do, but currently btfs will start downloading all files once it's mounted.

@razfag
Copy link
Author

razfag commented Oct 1, 2021

I'd have to look into the libtorrent docs on how to add that functionality then.

Perhaps a --no-folders option and a --min-filesize one. Too bad that there are no comments :)

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