Fork of http://www.beroal.in.ua/prg/bittorrent2player/
pip install git+https://github.com/acroobat/b2p.git
Requirements:
- libtorrent with python binding(>=2.0)
Lua script for mpv
Configuration:
pathscript
- b2p directory path
savepath
- directory where temporary files will be stored
deletefiles
- whether to delete files
Usage:
mpv Big_Buck_Bunny.torrent
or
mpv magnet:?xt=urn:btih:a3fbda1961fbc908026ec7cc4569d5fbef840c1e&dn=big_buck_bunny_1080p_surround.avi