File: move_torrent_data.py

package info (click to toggle)
python-transmission-rpc 7.0.11-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 440 kB
  • sloc: python: 2,605; sh: 9; makefile: 4
file content (7 lines) | stat: -rw-r--r-- 168 bytes parent folder | download
1
2
3
4
5
6
7
from transmission_rpc import Client

client = Client()

t = client.get_torrent(0)

client.move_torrent_data(t.hashString, location="/home/trim21/downloads/completed/")