config:transmission
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:transmission [2023/04/03 22:44] – Wulf Rajek | config:transmission [2024/07/09 15:11] (current) – [Re-add failed torrents] Wulf Rajek | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Transmission ====== | ====== Transmission ====== | ||
+ | |||
+ | ===== Install ===== | ||
+ | < | ||
+ | sudo apt-get install transmission-daemon | ||
+ | sudo service transmission-daemon stop | ||
+ | sudo vi / | ||
+ | #change rcp username and password (the password can be plaintext, next restart it'll be replaced with sha1 format) | ||
+ | #add local network to rcp whitelist like 127.0.0.1, | ||
+ | #set " | ||
+ | #set " | ||
+ | #set umask to 2 | ||
+ | #default torrent folder is / | ||
+ | sudo usermod -a -G debian-transmission wuff | ||
+ | sudo usermod -a -G users debian-transmission | ||
+ | |||
+ | #increase UDP buffers for uTP support | ||
+ | sudo vi / | ||
+ | add | ||
+ | #UDP buffer increase for Transmission uTP support | ||
+ | net.core.rmem_max = 16777216 | ||
+ | net.core.wmem_max = 4194304 | ||
+ | |||
+ | #then | ||
+ | sudo sysctl -p | ||
+ | |||
+ | sudo service transmission-daemon start | ||
+ | #default web interface is http:// | ||
+ | </ | ||
+ | Firefox addon for adding magnet links/bt to remote transmission: | ||
+ | https:// | ||
+ | |||
+ | |||
+ | < | ||
+ | sudo apt-get install smbclient | ||
+ | sudo apt-get install cifs-utils | ||
+ | |||
+ | # if wifi/ | ||
+ | sudo apt-get install wpasupplicant wireless-tools | ||
+ | ####Be VERY careful with the following command and only install connman if you really need it. Connman takes over default Linux network and wifi connection settings and results in a very hard time to configure it yourself and might even result in network not to work as it's supposed to! | ||
+ | sudo apt-get install connman | ||
+ | connmanctl enable bluetooth | ||
+ | hciconfig hci0 up | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Firefox addon for remote magnet links ===== | ||
+ | |||
Firefox addon to add magnet/ | Firefox addon to add magnet/ | ||
Line 6: | Line 53: | ||
https:// | https:// | ||
+ | |||
+ | ===== Python script for magnet links ===== | ||
+ | |||
Python script for adding magnet links: | Python script for adding magnet links: | ||
Line 139: | Line 189: | ||
</ | </ | ||
- | ====== Re-add failed torrents | + | ===== Re-add failed torrents ===== |
Store all current torrents in csv file, then prompt for confirmation for each failed torrent to remove it with data and re-submit it to transmission. | Store all current torrents in csv file, then prompt for confirmation for each failed torrent to remove it with data and re-submit it to transmission. | ||
- | <code python> | + | < |
+ | pip install transmissionrpc | ||
+ | </ | ||
+ | |||
+ | <code python | ||
+ | # | ||
import transmissionrpc | import transmissionrpc | ||
import csv | import csv | ||
# Connect to Transmission server with authentication | # Connect to Transmission server with authentication | ||
- | tc = transmissionrpc.Client(' | + | tc = transmissionrpc.Client(' |
# Retrieve list of torrents with error messages | # Retrieve list of torrents with error messages | ||
Line 175: | Line 230: | ||
writer.writeheader() | writer.writeheader() | ||
for torrent in torrents_with_errors: | for torrent in torrents_with_errors: | ||
- | writer.writerow({' | + | writer.writerow({' |
</ | </ | ||
config/transmission.1680558253.txt.gz · Last modified: 2023/05/29 11:53 (external edit)