2020-03-27 15:38:04 +01:00
|
|
|
#+TITLE: Torrent Configuration
|
|
|
|
:DRAWER:
|
|
|
|
#+STARTUP: overview
|
|
|
|
|
|
|
|
#+LANGUAGE: en
|
|
|
|
#+EMAIL: dehaeze.thomas@gmail.com
|
|
|
|
#+AUTHOR: Dehaeze Thomas
|
|
|
|
|
|
|
|
#+HTML_LINK_HOME: ./index.html
|
|
|
|
#+HTML_LINK_UP: ./index.html
|
|
|
|
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="./js/jquery.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="./js/bootstrap.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="./js/readtheorg.js"></script>
|
|
|
|
:END:
|
|
|
|
|
|
|
|
* NAS Configuration
|
|
|
|
|
|
|
|
* Tremc - Curses interface for Transmission
|
|
|
|
https://github.com/tremc/tremc
|
|
|
|
|
|
|
|
#+begin_src conf :comments none :mkdirp yes :tangle ~/.config/tremc/settings.cfg :noweb no-export
|
2020-05-26 10:35:12 +02:00
|
|
|
[Connection]
|
|
|
|
password = <<get-password(passname="nas/transmission")>>
|
|
|
|
username = tdehaeze
|
|
|
|
port = 9091
|
|
|
|
host = ***REMOVED***
|
|
|
|
path = /transmission/rpc
|
|
|
|
ssl = False
|
2020-03-27 15:38:04 +01:00
|
|
|
|
2020-05-26 10:35:12 +02:00
|
|
|
[Sorting]
|
|
|
|
order = name
|
2020-03-27 15:38:04 +01:00
|
|
|
|
2020-05-26 10:35:12 +02:00
|
|
|
[Filtering]
|
|
|
|
filter =
|
|
|
|
invert = False
|
2020-03-27 15:38:04 +01:00
|
|
|
|
2020-05-26 10:35:12 +02:00
|
|
|
[Misc]
|
|
|
|
compact_list = False
|
|
|
|
torrentname_is_progressbar = True
|
|
|
|
file_viewer = xdg-open %%s
|
|
|
|
file_open_in_terminal = True
|
2020-03-27 15:38:04 +01:00
|
|
|
|
2020-05-26 10:35:12 +02:00
|
|
|
[Colors]
|
|
|
|
title_seed = bg:green,fg:black
|
|
|
|
title_download = bg:blue,fg:black
|
|
|
|
title_idle = bg:cyan,fg:black
|
|
|
|
title_verify = bg:magenta,fg:black
|
|
|
|
title_paused = bg:black,fg:white
|
|
|
|
title_error = bg:red,fg:white
|
|
|
|
download_rate = bg:black,fg:blue
|
|
|
|
upload_rate = bg:black,fg:red
|
|
|
|
eta+ratio = bg:black,fg:white
|
|
|
|
filter_status = bg:red,fg:black
|
|
|
|
dialog = bg:black,fg:white
|
|
|
|
dialog_important = bg:red,fg:black
|
|
|
|
button = bg:white,fg:black
|
|
|
|
button_focused = bg:black,fg:white
|
|
|
|
file_prio_high = bg:red,fg:black
|
|
|
|
file_prio_normal = bg:white,fg:black
|
|
|
|
file_prio_low = bg:yellow,fg:black
|
|
|
|
file_prio_off = bg:blue,fg:black
|
2020-03-27 15:38:04 +01:00
|
|
|
#+end_src
|
2020-05-26 10:35:12 +02:00
|
|
|
|
2020-05-04 23:37:04 +02:00
|
|
|
* Aria2
|
2020-05-04 23:59:35 +02:00
|
|
|
** Aria2c Config
|
2020-05-04 23:37:04 +02:00
|
|
|
#+begin_src conf :comments none :mkdirp yes :tangle ~/.config/aria2/aria2.conf :noweb no-export
|
2020-05-04 23:59:35 +02:00
|
|
|
continue
|
2020-05-04 23:37:04 +02:00
|
|
|
daemon=true
|
|
|
|
dir=/home/thomas/Downloads
|
2020-05-04 23:59:35 +02:00
|
|
|
max-connection-per-server=4
|
|
|
|
max-concurrent-downloads=3
|
2020-05-04 23:37:04 +02:00
|
|
|
enable-rpc=true
|
|
|
|
rpc-listen-all=true
|
|
|
|
http-user=dehaeze.thomas@gmail.com
|
|
|
|
http-passwd=<<get-password(passname="1fichier.com/dehaeze.thomas@gmail.com")>>
|
2020-05-04 23:59:35 +02:00
|
|
|
on-download-start=/home/thomas/.config/aria2/download-start.sh
|
|
|
|
on-download-complete=/home/thomas/.config/aria2/download-complete.sh
|
|
|
|
on-download-error=/home/thomas/.config/aria2/download-error.sh
|
2020-05-04 23:37:04 +02:00
|
|
|
#+end_src
|
|
|
|
|
|
|
|
** Download Start Script
|
2020-05-04 23:59:35 +02:00
|
|
|
#+begin_src bash :tangle ~/.config/aria2/download-start.sh :comments both :mkdirp yes :shebang "#!/bin/bash"
|
|
|
|
dunstify "DL Started" "$(basename \"$3\" 2> /dev/null)"
|
2020-05-04 23:37:04 +02:00
|
|
|
#+end_src
|
|
|
|
|
|
|
|
** Download Complete Script
|
|
|
|
#+begin_src bash :tangle ~/.config/aria2/download-complete.sh :comments both :mkdirp yes :shebang "#!/usr/bin/env bash"
|
2020-05-04 23:59:35 +02:00
|
|
|
dunstify "DL Completed" "$(basename \"$3\" 2> /dev/null)"
|
2020-05-04 23:37:04 +02:00
|
|
|
#+end_src
|
|
|
|
|
|
|
|
** Download Error Script
|
|
|
|
#+begin_src bash :tangle ~/.config/aria2/download-error.sh :comments both :mkdirp yes :shebang "#!/usr/bin/env bash"
|
2020-05-04 23:59:35 +02:00
|
|
|
dunstify --urgency=critical "DL Failed" "$(basename \"$3\" 2> /dev/null)"
|
2020-05-04 23:37:04 +02:00
|
|
|
#+end_src
|