A simple Python script to help you skip verifying torrents in Transmission without restarting Transmission process.
Warning: Use with caution! I am not responsible for any consequences.
-
Download this repository.
-
Make sure the script can access the Transmission's torrent file directory and resume file directory.
The torrent file directory contains all torrent files <torrent_hash>.torrent.
The resume file directory contains all resume files <torrent_hash>.resume.
If Transmission runs in a Docker container, make sure that the torrent file directory and the resume file directory are mounted from the host to the Docker container.
-
Make sure that the Python 3 runtime exists.
-
Create config.json in repository folder according to config.json.template:
- protocol: "http" or "https"
- host: IP address of Transmission Web
- port: port of Transmission Web
- path: no need to modify
- username
- password
- transmission_resume_path: resume file directory. If Transmission runs in a Docker container, it is a path in the host
- transmission_torrents_path: directory of torrent files. If Transmission runs in a Docker container, it is a path in the host
- default_download_dir: The default download directory when no download directory is specified at running. If Transmission runs in a Docker container, it is a path in the container
-
Run the script:
python3 main.py
orpython main.py
. -
Enter the path or download link of the torrent. If you need to add multiple torrents at once, put the torrents folder and press ENTER. The torrents folder will be emptied after running.
-
Enter the download directory. If Transmission runs in a Docker container, it is a path inside the container. Press ENTER to use default_download_dir in config.json.
-
After running, start torrents manually.