Configuration
tvpipe has no configuration file. It keeps a few files, a cache of downloaded games, and reads a few environment variables.
17.1Config directory
| Platform | Directory |
|---|---|
| Linux | $XDG_CONFIG_HOME/tvpipe, usually ~/.config/tvpipe |
| macOS | ~/Library/Application Support/tvpipe |
| Windows | %APPDATA%\tvpipe |
| File | Contents |
|---|---|
credentials.txt | Apple TV pairings. Keep it private. |
player-token | The secret part of the player page address. |
opentunnel/ | This computer's OpenTunnel tunnel and certificate, made on the first --tunnel=opentunnel. Keep it private. |
17.2Cache directory
| Platform | Directory |
|---|---|
| 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
| Variable | Effect |
|---|---|
TVPIPE_CONFIG_DIR | The config directory. |
TVPIPE_CACHE_DIR | The cache directory. |
TVPIPE_GAMES_URL | Another games list for tvpipe game play NAME. |
GITHUB_TOKEN, GH_TOKEN | Sent to GitHub's API when finding a game's release, for more than 60 requests an hour. |
TVPIPE_FFMPEG | The ffmpeg to use. |
TVPIPE_BROWSER | The browser for share URL. |
TVPIPE_OPENTUNNEL_API | A self-hosted OpenTunnel service. |
TVPIPE_OPENTUNNEL_DIR | Another directory for the opentunnel/ files. |
TVPIPE_NO_QR | 1: no QR codes of public links. |
TVPIPE_LOG | The log at this level: error, warn, info, debug or trace. See Diagnostics. |
NO_COLOR, CLICOLOR, CLICOLOR_FORCE, FORCE_COLOR | Colours in the terminal. See Diagnostics. |
SSL_CERT_FILE | More certificates to trust when connecting to OpenTunnel or downloading games, for example behind a company proxy. |