literate-dotfiles/docs/torrent.html

147 lines
8.1 KiB
HTML
Raw Permalink Normal View History

2020-04-05 11:30:26 +02:00
<?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 10:05:23 +02:00
<!-- 2022-05-09 lun. 10:05 -->
2020-04-05 11:30:26 +02:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Torrent Configuration</title>
<meta name="author" content="Dehaeze Thomas" />
2021-05-02 11:27:39 +02:00
<meta name="generator" content="Org Mode" />
2021-01-01 20:12:34 +01:00
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
<script type="text/javascript" src="./dist/script.js"></script>
2020-04-05 11:30:26 +02:00
</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>
2022-05-09 10:05:23 +02:00
</div><div id="content" class="content">
2020-04-05 11:30:26 +02:00
<h1 class="title">Torrent Configuration</h1>
2022-05-09 10:05:23 +02:00
<div id="table-of-contents" role="doc-toc">
2020-04-05 11:30:26 +02:00
<h2>Table of Contents</h2>
2022-05-09 10:05:23 +02:00
<div id="text-table-of-contents" role="doc-toc">
2020-04-05 11:30:26 +02:00
<ul>
2022-05-09 10:05:23 +02:00
<li><a href="#org5b408eb"><code>tremc</code> - Curses interface for Transmission</a></li>
<li><a href="#orgb8f8777"><code>aria2c</code> - Lightweight download utility</a>
2020-05-26 08:40:15 +02:00
<ul>
2022-05-09 10:05:23 +02:00
<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>
2020-05-26 08:40:15 +02:00
</ul>
</li>
2020-04-05 11:30:26 +02:00
</ul>
</div>
</div>
2022-05-09 10:05:23 +02:00
<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">
2020-04-05 11:30:26 +02:00
<p>
<a href="https://github.com/tremc/tremc">https://github.com/tremc/tremc</a>
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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>
2021-01-01 20:12:34 +01:00
<span class="org-variable-name">host</span> = torrent.tdehaeze.xyz
2021-05-02 11:27:39 +02:00
<span class="org-variable-name">path</span> = /transmission/rpc/
2020-11-03 16:27:09 +01:00
<span class="org-variable-name">ssl</span> = False
2020-05-26 08:40:15 +02:00
2020-11-03 16:27:09 +01:00
[<span class="org-type">Sorting</span>]
<span class="org-variable-name">order</span> = name
2020-05-26 08:40:15 +02:00
2020-11-03 16:27:09 +01:00
[<span class="org-type">Filtering</span>]
<span class="org-variable-name">filter</span> =
<span class="org-variable-name">invert</span> = False
2020-05-26 08:40:15 +02:00
2020-11-03 16:27:09 +01:00
[<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
2020-04-05 11:30:26 +02:00
2020-11-03 16:27:09 +01:00
[<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
2020-05-26 08:40:15 +02:00
</pre>
</div>
</div>
</div>
2020-11-03 16:27:09 +01:00
2022-05-09 10:05:23 +02:00
<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">
2020-05-26 08:40:15 +02:00
<div class="org-src-container">
<pre class="src src-conf">continue
2020-11-03 16:27:09 +01:00
<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
2020-05-26 08:40:15 +02:00
</pre>
</div>
</div>
2020-04-05 11:30:26 +02:00
2022-05-09 10:05:23 +02:00
<div id="outline-container-org13ade1e" class="outline-3">
<h3 id="org13ade1e">Download Start Script</h3>
<div class="outline-text-3" id="text-org13ade1e">
2020-05-26 08:40:15 +02:00
<div class="org-src-container">
2022-05-09 10:05:23 +02:00
<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>
2020-05-26 08:40:15 +02:00
</pre>
</div>
</div>
</div>
2020-04-05 11:30:26 +02:00
2022-05-09 10:05:23 +02:00
<div id="outline-container-orgb41e102" class="outline-3">
<h3 id="orgb41e102">Download Complete Script</h3>
<div class="outline-text-3" id="text-orgb41e102">
2020-05-26 08:40:15 +02:00
<div class="org-src-container">
2022-05-09 10:05:23 +02:00
<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>
2020-05-26 08:40:15 +02:00
</pre>
</div>
</div>
</div>
2020-04-05 11:30:26 +02:00
2022-05-09 10:05:23 +02:00
<div id="outline-container-orgcd9fd24" class="outline-3">
<h3 id="orgcd9fd24">Download Error Script</h3>
<div class="outline-text-3" id="text-orgcd9fd24">
2020-05-26 08:40:15 +02:00
<div class="org-src-container">
2022-05-09 10:05:23 +02:00
<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>
2020-04-05 11:30:26 +02:00
</pre>
</div>
</div>
</div>
</div>
2020-05-26 08:40:15 +02:00
</div>
2020-04-05 11:30:26 +02:00
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
2022-05-09 10:05:23 +02:00
<p class="date">Created: 2022-05-09 lun. 10:05</p>
2020-04-05 11:30:26 +02:00
</div>
</body>
</html>