found python torrent merge / rebuild tool

Discuss suggestions and ideas for the forums, site, software.
Post Reply
immo2012

found python torrent merge / rebuild tool

Post by immo2012 »

https://github.com/vbuell/torram

ist that something which should included into the main qb client?

torram

torrent-upstart is a smart utility that recreats a torrent download folder with fully and partially downloaded files. If several partially-downloaded sources of the same uncompleted torrent files found it merges them together

Features

Combine several partially-downloaded sources into one (yes. And it does work!)
Ability to specify directory to search for files
Autodetect output directory (qBittorrent only for now)
Using symlinks instead of copying a file
Manual and automatic mode (see -s, -ss params)
Requirements

Python >= 2.6, but < 3.0 (porting to 3.0 is in progress)
bencode 1.0 (https://pypi.python.org/pypi/bencode)
PyQt4 (only if you use qBittorrent output directory autodetection)
Usage

% ./torram.py --help
usage: torram.py [-h] [--symlink] [--minsize MINSIZE] [--verbose]
                [-o OUTPUT_DIR] [-a] [-c] [-s]
                torrentFile root

Tries to find files used in torrent and generate download folder using them.

positional arguments:
  torrentFile          File to analyze
  root                  Dir to search

optional arguments:
  -h, --help            show this help message and exit
  --symlink            Use symlinks instead of copying files. (Caution: You
                        may lost data if files actually are not the same.)
  --minsize MINSIZE
  --verbose, -v
  -o OUTPUT_DIR, --output_dir OUTPUT_DIR
                        Output directory where to create new download
                        directory
  -a, --autodetect_output_dir
                        Autodetect output directory using config directory of
                        torrent clients (qBittorrent currently supported only)
  -c, --use_color      Output format: [ansi, ascii]
  -s, --autoskip        Auto-skip when there in no choise
Post Reply