|fake bb9a2fb791||8 months ago|
|Dockerfile||8 months ago|
|README.md||8 months ago|
|build.sh||8 months ago|
This helps build the premiere Deluge plugin and libtorrent inside of a Docker container. To read more about what premiere mode does, see below.
docker build . -t premiere-delugein the same directory as this repo's Dockerfile
docker run --network host -it premiere-deluge
Setting a torrent to premiere mode causes all of its pieces to become unavailble to peers except the first piece. After all peers in the swarm have completely downloaded the first piece, the second piece gets announced as available and peers may download it. This continues on until the last piece.
This plugin requires a forked version of libtorrent that supports setting pieces into premiere mode.
You need to mount directories on your host machine into your Docker container. Try adding
-v /path/to/your/downloads:/root/Downloads and
-v /path/to/your/.config:/root/.config to your
docker run command to mount these.
Yes, the build.sh script sets up everything inside the Docker container and should work outside of one as well (some paths may need to be changed of course).