hdb / baywatch

TUI for TPB + Peerflix + Transmission
MIT License
6 stars 1 forks source link

baywatch

baywatch is a TUI for The Pirate Bay built using Textual. It uses peerflix to stream torrents and Transmission to download torrents.

Install

Optionally install peerflix:

npm install -g peerflix

Optionally install Transmission: https://transmissionbt.com/download/

Install baywatch via pip:

pip install bay-watch

Demo

baywatch demo

Usage

Launch baywatch

baywatch

To open the configuration editor:

baywatch -c

To output the app log:

baywatch -l out.log

Streaming Media

By default play uses mpv to handle peerflix streams and open a file selection dialog when multiple files are present in the torrent. To change this, open the config editor using baywatch -c and change Play and Play Multifile.

For instance, to set peerflix to use VLC and to play all files in a multifile torrent (e.g., like an album):

Play:

peerflix '{}' --vlc

Play Multifile:

peerflix '{}' --vlc -a

See peerflix documentation for more details.

Transmission

On download, baywatch attempts to connect to Transmission or transmission-daemon. baywatch will try to open transmission-gtk if it is unable to find an running Transmission instance. This can be turned off or changed to another transmission interface by setting the Command (Transmission) or Try Open (Transmission) configuration variables.

Disclaimer

baywatch is made for educational purposes for downloading legal torrents.