All Projects → mrxdst → webtorrent-mpv-hook

mrxdst / webtorrent-mpv-hook

Licence: other
Adds a hook that allows mpv to stream torrents

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to webtorrent-mpv-hook

uWebTorrentTracker
🔆 Simple, robust, WebTorrent tracker server implementation
Stars: ✭ 58 (-13.43%)
Mutual labels:  webtorrent
StreamLinkerino
Twitch.tv client using only StreamLink, MPV, and Chatterino
Stars: ✭ 26 (-61.19%)
Mutual labels:  mpv
termv
A terminal iptv player written in bash
Stars: ✭ 119 (+77.61%)
Mutual labels:  mpv
mpv-scripts
dynamic-crop.lua script for mpv player/lib.
Stars: ✭ 43 (-35.82%)
Mutual labels:  mpv
webtorrent-health
💚 Get health info about a webtorrent file or magnet link
Stars: ✭ 27 (-59.7%)
Mutual labels:  webtorrent
summertunes
A web-based music player for Beets
Stars: ✭ 15 (-77.61%)
Mutual labels:  mpv
ut pex
Implementation of ut_pex bittorrent protocol (PEX) for webtorrent
Stars: ✭ 54 (-19.4%)
Mutual labels:  webtorrent
MPV lazy
🔄 mpv player 播放器折腾记录 windows conf ; 中文注释配置 快速帮助萌新入门 ; mpv-lazy 懒人包 win10 x64
Stars: ✭ 615 (+817.91%)
Mutual labels:  mpv
mpv-progressbar
A simple progress bar for mpv.
Stars: ✭ 106 (+58.21%)
Mutual labels:  mpv
dotfiles
My life's work 🔥🔥
Stars: ✭ 28 (-58.21%)
Mutual labels:  mpv
mpv-iptv
iptv script for mpv
Stars: ✭ 64 (-4.48%)
Mutual labels:  mpv
dotfiles
My dotfiles for Bash/Zsh, Vim/Neovim, Doom Emacs, tmux, Git, terminal emulators, JupyterLab, aria2, mpv, Nix and Homebrew
Stars: ✭ 149 (+122.39%)
Mutual labels:  mpv
live-torrent-backend
The backend server for the live-torrent project
Stars: ✭ 38 (-43.28%)
Mutual labels:  webtorrent
CheckWebPeer
Check WebRTC peers of torrents.
Stars: ✭ 19 (-71.64%)
Mutual labels:  webtorrent
HPlayer2
Modular Media Player for Raspberry Pi and more...
Stars: ✭ 28 (-58.21%)
Mutual labels:  mpv
webtorrent-webui
Web user interface for Webtorrent, based on the Transmission web UI
Stars: ✭ 41 (-38.81%)
Mutual labels:  webtorrent
VR-reversal
VR-Reversal - Player for conversion of 3D video to 2D with optional saving of head tracking data and rendering out of 2D copies.
Stars: ✭ 128 (+91.04%)
Mutual labels:  mpv
mpv-discord
🎈 A cross-platform Discord Rich Presence integration for mpv with no external dependencies.
Stars: ✭ 83 (+23.88%)
Mutual labels:  mpv
mpv-youtube-upnext
A userscript for MPV that allows you to play "up next"/recommended youtube videos ⏭️
Stars: ✭ 29 (-56.72%)
Mutual labels:  mpv
feeluown-core
提供音乐播放器的一些常见组成模块(已经合并到 feeluown 项目中)
Stars: ✭ 30 (-55.22%)
Mutual labels:  mpv

mpv streaming a torrent

webtorrent-mpv-hook

npm mpv

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.

Usage

mpv <torrent-id>

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

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

script-opts/webtorrent.conf

# Path to save downloaded files in.
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=no
# Enable DHT.
dht=yes
# Specify the node command to use.
# Usefull if the command is called nodejs on your system.
node_path=node
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].