Files
cheatsheet-tldr/tldr/peerflix
2025-04-26 00:18:47 +00:00

30 lines
921 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# peerflix
> Stream video- or audio-based torrents to a media player.
> More information: <https://github.com/mafintosh/peerflix>.
- Stream the largest media file in a torrent:
`peerflix "{{torrent_url|magnet_link}}"`
- List all streamable files contained in a torrent (given as a magnet link):
`peerflix "{{magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567}}" {{[-l|--list]}}`
- Stream the largest file in a torrent, given as a torrent URL, to VLC:
`peerflix "{{http://example.net/music.torrent}}" {{[-v|--vlc]}}`
- Stream the largest file in a torrent to MPlayer, with subtitles:
`peerflix "{{torrent_url|magnet_link}}" {{[-m|--mplayer]}} {{[-t|--subtitles]}} {{subtitle-file.srt}}`
- Stream all files from a torrent to Airplay:
`peerflix "{{torrent_url|magnet_link}}" {{[-a|--all]}} {{[-s|--airplay]}}`