literate-dotfiles/docs/torrent.html
2022-05-09 10:05:23 +02:00

147 lines
8.1 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>
<!-- 2022-05-09 lun. 10:05 -->
<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" class="content">
<h1 class="title">Torrent Configuration</h1>
<div id="table-of-contents" role="doc-toc">
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
<li><a href="#org5b408eb"><code>tremc</code> - Curses interface for Transmission</a></li>
<li><a href="#orgb8f8777"><code>aria2c</code> - Lightweight download utility</a>
<ul>
<li><a href="#org13ade1e">Download Start Script</a></li>
<li><a href="#orgb41e102">Download Complete Script</a></li>
<li><a href="#orgcd9fd24">Download Error Script</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org5b408eb" class="outline-2">
<h2 id="org5b408eb"><code>tremc</code> - Curses interface for Transmission</h2>
<div class="outline-text-2" id="text-org5b408eb">
<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-orgb8f8777" class="outline-2">
<h2 id="orgb8f8777"><code>aria2c</code> - Lightweight download utility</h2>
<div class="outline-text-2" id="text-orgb8f8777">
<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-org13ade1e" class="outline-3">
<h3 id="org13ade1e">Download Start Script</h3>
<div class="outline-text-3" id="text-org13ade1e">
<div class="org-src-container">
<pre class="src src-bash">notify-send --hint=string:x-dunst-stack-tag:bHEPn7rW <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-orgb41e102" class="outline-3">
<h3 id="orgb41e102">Download Complete Script</h3>
<div class="outline-text-3" id="text-orgb41e102">
<div class="org-src-container">
<pre class="src src-bash">notify-send --hint=string:x-dunst-stack-tag:bHEPn7rW <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-orgcd9fd24" class="outline-3">
<h3 id="orgcd9fd24">Download Error Script</h3>
<div class="outline-text-3" id="text-orgcd9fd24">
<div class="org-src-container">
<pre class="src src-bash">notify-send --hint=string:x-dunst-stack-tag:bHEPn7rW --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: 2022-05-09 lun. 10:05</p>
</div>
</body>
</html>