btplay(1)

πŸ’– btplay(1) β€” the general commands manual, but make it cute πŸ’–

okay bestie, welcome to the btplay page. yes it's a man page, no it does not have to be boring. it's filed under the general commands manual and honestly? it's giving "tiny script that changes your whole afternoon". πŸ’…


✨ NAME ✨

btplay β€” directly play video torrents using btfs. no middleman, no mount point drama, just vibes. πŸŽ€


🌸 SYNOPSIS 🌸

btplay [OPTIONS]... torrentlink

πŸ¦‹ DESCRIPTION πŸ¦‹

so btfs uses fuse (filesystem in user space) to expose a bittorrent source as a normal directory on your filesystem. lowkey iconic. ✨

btplay is a wrapper for btfs that mounts and plays the video directly, so you never have to specify a mount point yourself. main character energy fr fr. 🫢

you can pass either a .torrent link or a magnet link β€” and the magnet link has to be contained in single quotation marks. do not forget the quotes bestie, I am begging. 😭


πŸ‘‘ OPTIONS πŸ‘‘

Usage, one more time for the people in the back:

btplay [OPTIONS...] torrentlink

πŸ’œ BTFS Options πŸ’œ

  • -v, --version β€” show version information. tiny, useful, slay.
  • -h, --help β€” displays usage for the tool. when in doubt, ask for help. periodt.
  • -b, --browse-only β€” download metadata only. no video, just the receipts.
  • -k, --keep β€” keep files after unmount. it's giving "I'm not letting go". πŸ₯Ί

🌈 FUSE Options 🌈

  • -d, -o debug β€” enable debug output (and yes, this implies -f). turn it on when you want to see everything. πŸ™ˆ
  • -f β€” foreground operation. it stays right there in front of you.
  • -s β€” disable multi-threaded operation.
  • -o allow_other β€” allow access to other users.
  • -o allow_root β€” allow access to root.
  • -o auto_unmount β€” auto unmount on process termination.
  • -o nonempty β€” allow mounts over non-empty file/dir.
  • -o default_permissions β€” enable permission checking by kernel.
  • -o fsname=NAME β€” set filesystem name.
  • -o suptype=NAME β€” set filesystem type.
  • -o large_read β€” issue large read requests.
  • -o max_read=N β€” set maximum size of read requests.
  • -o hard_remove β€” immediate removal (don't hide files). no hiding, no games.
  • -o use_ino β€” let filesystem set inode numbers.
  • -o readdir_ino β€” try to fill in d_ino in readdir.
  • -o direct_io β€” use direct I/O.
  • -o kernel_cache β€” cache files in kernel.
  • -o [no]auto_cache β€” enable caching based on modification times (off). default is off, fyi.
  • -o umask=M β€” set file permissions (octal).
  • -o uid=N β€” set file owner.
  • -o gid=N β€” set file group.
  • -o entry_timeout=T β€” cache timeout for names (1.0s).
  • -o negative_timeout=T β€” cache timeout for deleted names (0.0s).
  • -o attr_timeout=T β€” cache timeout for attributes (1.0s).
  • -o ac_attr_timeout=T β€” auto cache timeout for attributes (attr_timeout).
  • -o noforget β€” never forget cached inodes. it remembers. always. 🧠
  • -o remember=T β€” remember cached inodes for T seconds (0s).
  • -o nopath β€” don't supply path if not necessary.
  • -o intr β€” allow requests to be interrupted.
  • -o intr_signal=NUM β€” signal to send on interrupt (10).
  • -o modules=M1[:M2...] β€” names of modules to push onto filesystem stack.

πŸŽ€ Module Options πŸŽ€

[iconv]

  • -o from_code=CHARSET β€” original encoding of file names (default: UTF-8).
  • -o to_code=CHARSET β€” new encoding of the file names (default: UTF-8).

[subdir]

  • -o subdir=DIR β€” prepend this directory to all paths (mandatory β€” like, actually required, not a suggestion πŸ’€).
  • -o [no]rellinks β€” transform absolute symlinks to relative.

πŸ“ REPORTING BUGS πŸ“

found something cursed? please file issues on the GitHub bug tracker, that's the whole move:

https://github.com/johang/btfs/issues
not me telling you to actually report the bug instead of just complaining in the group chat. do both, honestly. 🫢

πŸ’€ SEE ALSO πŸ’€

fuse(1), btfs(1)


⭐ AUTHORS ⭐

this manual page was written by Jonathan Carter <jonathan@ubuntu.com> πŸ’–

btplay was written by Johan Gunnarsson <johan.gunnarsson@gmail.com> πŸ‘‘


okay that's the whole page, you ate that. this was btplay, from the general commands manual, dated 2016-01-05 β€” shoutout to everyone who made it, we're obsessed. now go play a video torrent and be iconic about it. 🌈✨πŸ’