Skip to content

Add Deluge export support with privacy filtering and label/state handling#55

Open
isbool wants to merge 3 commits intorumanzo:masterfrom
isbool:feature/deluge-support
Open

Add Deluge export support with privacy filtering and label/state handling#55
isbool wants to merge 3 commits intorumanzo:masterfrom
isbool:feature/deluge-support

Conversation

@isbool
Copy link
Copy Markdown

@isbool isbool commented Jan 6, 2026

What

  • Adds Deluge backend alongside qBittorrent, with torrents.state/torrents.fastresume writes and Label plugin support.
  • New flags: --client deluge, --deluge-privacy, --deluge-config/state/labels, and python detection fallback.

Why

  • Allow direct uTorrent/BitTorrent migration into Deluge 2.x while preserving tags/labels and state.

How

  • Reuses existing transfer pipeline to generate libtorrent resume data.
  • Merges into Deluge state files via a small Python helper.

isbool added 3 commits January 5, 2026 01:16
- Add private/public output split via --destination-private
- Add stats-only mode for public/private/failed counts
- Print end-of-run totals and update docs/tests
- cover public/private/missing/magnet cases in CollectStats
- validate search-path lookup behavior
Added a Deluge target alongside qBittorrent, with a new Deluge export path that builds libtorrent resume data, merges
  torrents.fastresume, updates torrents.state via a small Python helper, and writes label.conf for the Label plugin.
  This is wired through the CLI so --client deluge uses the Deluge state folder instead of qBittorrent’s BT_backup.

  Details and context:

  - Deluge writer + merge pipeline lives in internal/transfer/deluge_handle.go, internal/transfer/deluge_writer.go,
    internal/transfer/deluge_state.go, internal/transfer/deluge_fastresume.go, and internal/transfer/deluge_labels.go.
  - New Deluge resume data struct in pkg/delugeStructures/deluge.go and Deluge-aware dispatch in internal/transfer/
    resumeHandle.go.
  - New flags and defaults for Deluge config/state/label paths in internal/options/options.go plus test updates in
    internal/options/options_test.go.
  - CLI messaging updated in bt2qbt.go and docs updated in README.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant