mirror of
https://github.com/transmission/transmission
synced 2025-01-22 06:49:23 +00:00
e59fe7daaf
* refactor: add null ptr check in initPeerRow() * refactor: add a nullptr gurad in icon_cache_get_mime_type_icon * chore: silence two "break notreached" warnings * chore: silence sonarcloud html warnings * chore: silence sonarcloud uninitialized var warning * chore: silence sonarcloud nullptr warning
41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<a name="script"></a>
|
|
|
|
<head>
|
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link media="all" rel="stylesheet" href="../styles/TransBody.css" />
|
|
<title>Script Help</title>
|
|
</head>
|
|
<body>
|
|
<div id="mainbox">
|
|
<div id="banner">
|
|
<a name="menus"></a>
|
|
<div id="machelp"><a class="bread" href="../index.html">Transmission Help</a>
|
|
</div>
|
|
<div id="index">
|
|
<a class="leftborder" href="../html/Index2.html">Index</a></div>
|
|
</div>
|
|
</div>
|
|
<div class="pagetitle">
|
|
<h1>Running Scripts</h1>
|
|
</div>
|
|
<p>Transmission can be set to invoke a script when downloads complete. The environment variables supported are:
|
|
|
|
<div class="taskbox">
|
|
<ul>
|
|
<li>TR_APP_VERSION</li>
|
|
<li>TR_TIME_LOCALTIME</li>
|
|
<li>TR_TORRENT_DIR</li>
|
|
<li>TR_TORRENT_HASH</li>
|
|
<li>TR_TORRENT_ID</li>
|
|
<li>TR_TORRENT_NAME</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<p>More information is available on <a href="https://trac.transmissionbt.com/wiki/Scripts">the Transmission wiki</a>.
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|