
webtorrent-mpv-hook
Agrega un hook que permite a mpv transmitir torrents usando webtorrent.
Requisitos previos
- node.js
Instalación
npm install --global webtorrent-mpv-hook- Necesitas crear un enlace simbólico a un archivo de script en la carpeta de scripts de tu mpv.
webtorrent-mpv-hook para instrucciones.
Solo necesitas hacer esto una vez.Para instalación en Linux sin sudo puedes probar esto.
Actualización
npm update --global webtorrent-mpv-hook
Uso
mpv
Donde torrent-id es uno de:
- enlace magnet
- info-hash
- ruta o url a un archivo
.torrent
p (por defecto).Los torrents con múltiples archivos se abren como una lista de reproducción.
Configuración
Los valores predeterminados se muestran a continuación.
input.conf
# Toggles info/progress overlay.
p script-binding webtorrent/toggle-infoscript-opts/webtorrent.conf
# Path to save downloaded files in. Can be set to "memory" to store all files in RAM.
path=./
Maximum number of connections.
maxConns=100
Port to use for webtorrent web-server.
If it's already in use a random port will be chosen instead.
port=8888
Enable μTP support.
utp=yes
Enable DHT.
dht=yes
Enable local service discovery.
lsd=yes
Download speed limit in bytes/sec.
downloadLimit=-1
Upload speed limit in bytes/sec.
uploadLimit=-1
Specify the node command to use.
Usefull if the command is called nodejs on your system.
node_path=nodeThe same text style options as in stats.conf is also available.
--- Tranlated By Open Ai Tx | Last indexed: 2026-02-14 ---