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/12/28 01:26] – Wulf Rajek | config:transmission [2024/07/09 15:11] (current) – [Re-add failed torrents] Wulf Rajek | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Transmission ====== | ====== Transmission ====== | ||
- | ===== bittorrent on nuc ===== | + | ===== Install |
< | < | ||
sudo apt-get install transmission-daemon | sudo apt-get install transmission-daemon | ||
Line 189: | 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 225: | Line 230: | ||
writer.writeheader() | writer.writeheader() | ||
for torrent in torrents_with_errors: | for torrent in torrents_with_errors: | ||
- | writer.writerow({' | + | writer.writerow({' |
</ | </ | ||
config/transmission.1703726783.txt.gz · Last modified: 2023/12/28 01:26 by Wulf Rajek