tvpipe tvpipeOperations Manual
Section 17Configuration
17

Configuration

tvpipe has no configuration file. It keeps a few files, a cache of downloaded games, and reads a few environment variables.

Elsewhere

TVPIPE_CONFIG_DIR moves it.

17.1Config directory

PlatformDirectory
Linux$XDG_CONFIG_HOME/tvpipe, usually ~/.config/tvpipe
macOS~/Library/Application Support/tvpipe
Windows%APPDATA%\tvpipe
FileContents
credentials.txtApple TV pairings. Keep it private.
player-tokenThe secret part of the player page address.
opentunnel/This computer's OpenTunnel tunnel and certificate, made on the first --tunnel=opentunnel. Keep it private.
Elsewhere

TVPIPE_CACHE_DIR moves it.

17.2Cache directory

PlatformDirectory
Linux$XDG_CACHE_HOME/tvpipe, usually ~/.cache/tvpipe
macOS~/Library/Caches/tvpipe
Windows%LOCALAPPDATA%\tvpipe\cache

games/ holds the games downloaded from the internet, the games list and which games you said yes to. Deleting it is safe: tvpipe downloads the games again, and asks again before running them.

17.3Environment variables

VariableEffect
TVPIPE_CONFIG_DIRThe config directory.
TVPIPE_CACHE_DIRThe cache directory.
TVPIPE_GAMES_URLAnother games list for tvpipe game play NAME.
GITHUB_TOKEN, GH_TOKENSent to GitHub's API when finding a game's release, for more than 60 requests an hour.
TVPIPE_FFMPEGThe ffmpeg to use.
TVPIPE_BROWSERThe browser for share URL.
TVPIPE_OPENTUNNEL_APIA self-hosted OpenTunnel service.
TVPIPE_OPENTUNNEL_DIRAnother directory for the opentunnel/ files.
TVPIPE_NO_QR1: no QR codes of public links.
TVPIPE_LOGThe log at this level: error, warn, info, debug or trace. See Diagnostics.
NO_COLOR, CLICOLOR, CLICOLOR_FORCE, FORCE_COLORColours in the terminal. See Diagnostics.
SSL_CERT_FILEMore certificates to trust when connecting to OpenTunnel or downloading games, for example behind a company proxy.