This script allows you to open magnet links using TorrServer torrent client.
It also tries to match external audio and subtitle files with video files.
- Install and set up TorrServer on your PC or a server in your LAN
- Clone this repo into your
mpv/scriptsdirectory or savemain.luaasmpv-torrserver.lua:
git clone -b torrserver https://github.com/ftk/mpv-confluence mpv-torrserver- (optional) Adjust
serveraddress inmain.luato your TorrServer HTTP address or putserver=http://[TorrServer ip]:[port]inmpv/script-opts/mpv-torrserver.conf - Open a magnet link in mpv.
- (optional) Recommended mpv.conf options:
prefetch-playlist=yes