Skip to content
piecemeal
Esc
↑↓navigate↵open⌘Jpreview
On this page

Move from Transmission or qBittorrent

Move your torrents from Transmission or qBittorrent to piecemeal, with their data, save paths, renames, categories, tags and totals.

piecemeal import reads another client’s torrents and adds them, with their save paths, renamed and skipped files, labels or category and tags, stopped state, ratio limits, added and completed times, and transfer totals. Your data stays where it is.

Stop piecemeal first. The other client can keep running while you import, but stop it before piecemeal starts seeding the same files.

docker stop piecemeal
docker run --rm -v piecemeal-data:/data -v /path/to/downloads:/downloads \
  -v /path/to/transmission-config:/import:ro \
  ghcr.io/sebdanielsson/piecemeal import transmission /import --dry-run

Check the list it prints, then run it again without --dry-run, and start piecemeal.

  • Transmission: give its configuration directory, the one with torrents/ and resume/. Its labels become tags, and the first one also the category: Radarr and Sonarr label their downloads in Transmission with what is their category in qBittorrent, so they keep track of them.
  • qBittorrent: give its BT_backup directory, or the data directory that holds it. Its category and tags carry over.
  • --map FROM=TO rewrites save paths and incomplete folders when the other client saw the downloads under another path, such as --map /data/torrents=/downloads. Repeat it for several paths. They must end up inside PIECEMEAL_ALLOWED_ROOTS.
  • Incomplete folders. Unfinished torrents whose data is in Transmission’s incomplete directory, or in qBittorrent’s download path, keep it there and move to their save path once complete. qBittorrent’s download paths carry over, and so does automatic torrent management. qBittorrent doesn’t record the paths of automatically managed torrents, only where their data is, so they are imported there, automatically managed. Give their categories their paths in piecemeal, then switch Automatic management off and on again in their torrent menu, or call the qBittorrent API’s setAutoManagement with enable=true: that moves them to their category’s paths, and an unfinished one into its incomplete folder. Editing a category’s paths alone switches them to manual management instead of moving them, unless relocateOnCategoryPathChange is on.
  • Checking. piecemeal checks each torrent’s data when it next starts, and stopped ones when they start, one torrent at a time by default (maxActiveCheckingTorrents); the rest show as queued for checking and don’t seed until their data is checked. --trust-data marks complete torrents as verified instead, which is much faster on large libraries but trusts the files on disk.
  • --dry-run lists what would be imported and writes nothing.
  • Running it twice is safe: torrents already in piecemeal are skipped.
  • qBittorrent magnets that never got their metadata have no torrent file and are left out; add them again.

After the import, point the *arrs at piecemeal instead of the old client; see Radarr, Sonarr and Prowlarr.

Was this page helpful?