literate-dotfiles/docs/torrent.html
2021-05-02 11:27:39 +02:00

147 lines
7.9 KiB
HTML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-05-02 dim. 11:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Torrent Configuration</title>
<meta name="author" content="Dehaeze Thomas" />
<meta name="generator" content="Org Mode" />
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
<script type="text/javascript" src="./dist/script.js"></script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./index.html"> UP </a>
|
<a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content">
<h1 class="title">Torrent Configuration</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#orgc387510"><code>tremc</code> - Curses interface for Transmission</a></li>
<li><a href="#orgcdb4a92"><code>aria2c</code> - Lightweight download utility</a>
<ul>
<li><a href="#org1d6cd04">Download Start Script</a></li>
<li><a href="#org702c949">Download Complete Script</a></li>
<li><a href="#orgc677acc">Download Error Script</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-orgc387510" class="outline-2">
<h2 id="orgc387510"><code>tremc</code> - Curses interface for Transmission</h2>
<div class="outline-text-2" id="text-orgc387510">
<p>
<a href="https://github.com/tremc/tremc">https://github.com/tremc/tremc</a>
</p>
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Connection</span>]
<span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"nas/transmission"</span>)&gt;&gt;
<span class="org-variable-name">username</span> = tdehaeze
<span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">9091</span>
<span class="org-variable-name">host</span> = torrent.tdehaeze.xyz
<span class="org-variable-name">path</span> = /transmission/rpc/
<span class="org-variable-name">ssl</span> = False
[<span class="org-type">Sorting</span>]
<span class="org-variable-name">order</span> = name
[<span class="org-type">Filtering</span>]
<span class="org-variable-name">filter</span> =
<span class="org-variable-name">invert</span> = False
[<span class="org-type">Misc</span>]
<span class="org-variable-name">compact_list</span> = False
<span class="org-variable-name">torrentname_is_progressbar</span> = True
<span class="org-variable-name">file_viewer</span> = xdg-open %%s
<span class="org-variable-name">file_open_in_terminal</span> = True
[<span class="org-type">Colors</span>]
<span class="org-variable-name">title_seed</span> = bg:green,fg:black
<span class="org-variable-name">title_download</span> = bg:blue,fg:black
<span class="org-variable-name">title_idle</span> = bg:cyan,fg:black
<span class="org-variable-name">title_verify</span> = bg:magenta,fg:black
<span class="org-variable-name">title_paused</span> = bg:black,fg:white
<span class="org-variable-name">title_error</span> = bg:red,fg:white
<span class="org-variable-name">download_rate</span> = bg:black,fg:blue
<span class="org-variable-name">upload_rate</span> = bg:black,fg:red
<span class="org-variable-name">eta+ratio</span> = bg:black,fg:white
<span class="org-variable-name">filter_status</span> = bg:red,fg:black
<span class="org-variable-name">dialog</span> = bg:black,fg:white
<span class="org-variable-name">dialog_important</span> = bg:red,fg:black
<span class="org-variable-name">button</span> = bg:white,fg:black
<span class="org-variable-name">button_focused</span> = bg:black,fg:white
<span class="org-variable-name">file_prio_high</span> = bg:red,fg:black
<span class="org-variable-name">file_prio_normal</span> = bg:white,fg:black
<span class="org-variable-name">file_prio_low</span> = bg:yellow,fg:black
<span class="org-variable-name">file_prio_off</span> = bg:blue,fg:black
</pre>
</div>
</div>
</div>
<div id="outline-container-orgcdb4a92" class="outline-2">
<h2 id="orgcdb4a92"><code>aria2c</code> - Lightweight download utility</h2>
<div class="outline-text-2" id="text-orgcdb4a92">
<div class="org-src-container">
<pre class="src src-conf">continue
<span class="org-variable-name">daemon</span>=true
<span class="org-variable-name">dir</span>=/home/thomas/Downloads
<span class="org-variable-name">max-connection-per-server</span>=<span class="org-highlight-numbers-number">4</span>
<span class="org-variable-name">max-concurrent-downloads</span>=<span class="org-highlight-numbers-number">3</span>
<span class="org-variable-name">enable-rpc</span>=true
<span class="org-variable-name">rpc-listen-all</span>=true
<span class="org-variable-name">http-user</span>=dehaeze.thomas@gmail.com
<span class="org-variable-name">http-passwd</span>=&lt;&lt;get-password(passname=<span class="org-string">"1fichier.com/dehaeze.thomas@gmail.com"</span>)&gt;&gt;
<span class="org-variable-name">on-download-start</span>=/home/thomas/.config/aria2/download-start.sh
<span class="org-variable-name">on-download-complete</span>=/home/thomas/.config/aria2/download-complete.sh
<span class="org-variable-name">on-download-error</span>=/home/thomas/.config/aria2/download-error.sh
</pre>
</div>
</div>
<div id="outline-container-org1d6cd04" class="outline-3">
<h3 id="org1d6cd04">Download Start Script</h3>
<div class="outline-text-3" id="text-org1d6cd04">
<div class="org-src-container">
<pre class="src src-bash">dunstify <span class="org-string">"DL Started"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</span><span class="org-string"><span class="org-sh-quoted-exec"> \"</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2&gt; /dev/null)</span></span><span class="org-string">"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org702c949" class="outline-3">
<h3 id="org702c949">Download Complete Script</h3>
<div class="outline-text-3" id="text-org702c949">
<div class="org-src-container">
<pre class="src src-bash">dunstify <span class="org-string">"DL Completed"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</span><span class="org-string"><span class="org-sh-quoted-exec"> \"</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2&gt; /dev/null)</span></span><span class="org-string">"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc677acc" class="outline-3">
<h3 id="orgc677acc">Download Error Script</h3>
<div class="outline-text-3" id="text-orgc677acc">
<div class="org-src-container">
<pre class="src src-bash">dunstify --urgency=critical <span class="org-string">"DL Failed"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</span><span class="org-string"><span class="org-sh-quoted-exec"> \"</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2&gt; /dev/null)</span></span><span class="org-string">"</span>
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-05-02 dim. 11:26</p>
</div>
</body>
</html>