Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

webtorrent-mpv-hook

> 编程语言
Open source

Adds a hook that allows mpv to stream torrents

196 stars0 likes2 views
WebsiteGitHub

About

Adds a hook that allows mpv to stream torrents

webtorrent-mpv-hook

Adds a hook that allows mpv to stream torrents using webtorrent.

Prerequisites

  • node.js

Install

  1. npm install --global webtorrent-mpv-hook
  2. You need to symlink a script file to your mpv scripts folder.
    Run webtorrent-mpv-hook for instructions.
    You only need to do this once.

For linux installation without sudo you can try this.

Update

npm update --global webtorrent-mpv-hook

Usage

mpv

Where torrent-id is one of:

  • magnet link
  • info-hash
  • path or url to .torrent file

An overlay will be shown with info/progress. It will be closed automatically when playback starts.
It can also be toggled manually with p (default).

Multi-file torrents are opened as a playlist.

Configuration

Default values are shown below.

input.conf

properties
# Toggles info/progress overlay.
p script-binding webtorrent/toggle-info

script-opts/webtorrent.conf

…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptmpvwebtorrent

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言