Johan Gunnarsson

Results 68 comments of Johan Gunnarsson

Maybe as a command line parameter.

Which version? (`btfs --version`)

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`.

This is by design. Parts that are read by applications are prioritized, but if there is bandwidth available it will download the rest of the torrent.

You can patch the function `setup()` in `btfs.cc` to set all files to priority 0.

No, here: https://github.com/johang/btfs/blob/master/src/btfs.cc#L206

Look in libtorrents docs (torrent_handle::file_priority(...)).

I'm not too keen on this patch. What's even the point of running it in Docker? You still need fuse on the host and your run with privileged true and...

Read the script. It's in the script directory. But yes, your finding are correct. It will unmount and stop downloading when the player exits.

I believe peer encryption is supported but not enforced.