mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
Add a module to convert between tr4 and tr5 RPC / settings / config file payloads. This will be used as a compatibility layer between Transmission 5's naming scheme and Transmission <= 4. Co-authored-by: Yat Ho <lagoho7@gmail.com> Co-authored-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2.5 KiB
2.5 KiB
Users can set environmental variables to override Transmission's default behavior and for debugging.
Transmission-Specific Variables
- If
TRANSMISSION_HOMEis set, Transmission will look there for its settings instead of in the default location. - If
TRANSMISSION_WEB_HOMEis set, Transmission will look there for the Web Interface files, such as the JavaScript, HTML, and graphics files. - If
TR_CURL_SSL_NO_VERIFYis set, Transmission will not validate SSL certificate for HTTPS connections when talking to trackers. See CURL's documentation (CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER) for more details. - If
TR_CURL_VERBOSEis set, debugging information for libcurl will be enabled. More information about libcurl's debugging mode is available here. - If
TR_DHT_VERBOSEis set, Transmission will log all of the DHT's activities in excruciating detail to standard error. - If
TR_SAVE_VERSION_FORMATis set to4or5, it will save settings.json, stats.json, etc. files to either Transmission 4 or Transmission 5 format.
Standard Variables Used by Transmission
- If
TRANSMISSION_WEB_HOMEis not set, non-Mac platforms will look for the Web Interface files inXDG_DATA_HOMEand inXDG_DATA_DIRSas described in the XDG Base Directory Specification.XDG_DATA_HOMEhas a default value of$HOME/.local/share/. - If
TRANSMISSION_HOMEis not set, Unix-based versions of Transmission will look for their settings in$XDG_CONFIG_HOME/transmission/.XDG_CONFIG_HOMEhas a default value of$HOME/.config/. - If
HOMEis set, it is used in three ways:- By the
XDGvariables, as described above. - If
TRANSMISSION_HOMEis not set, Mac-based versions of Transmission will look for their settings in$HOME/Library/Application Support/Transmission. $HOME/Downloadsis the default download directory.
- By the
Standard Variables Used by Other Tools
- Transmission uses the libcurl library for HTTP- and HTTPS-based tracker announces and scrapes. Transmission does not support proxies, but libcurl itself honors a handful of environment variables to customize its proxy behavior.