github hankscafe/omnibus v1.1.0-beta.072
Omnibus v1.1.0-beta.072

4 hours ago

v1.1.0-beta.072 - fix: Deluge category filter + label-on-add, per-category manga routing, Deluge save-path quirk

๐Ÿท๏ธ Deluge active-downloads dumped EVERY torrent, ignoring the category

  • The Deluge branch in both active-downloads paths requested web.update_ui with ["name","progress","state","total_size"] only โ€” no label โ€” and pushed every torrent unfiltered, unlike the qBit/SAB/NZBGet branches which filter by category. A Deluge shared across Radarr/Sonarr/comics therefore dumped all its movies/TV into Omnibus's "Unmatched Finished Downloads" list. Fixed in src/app/api/admin/active-downloads/route.ts AND the sibling DownloadService.getAllActiveDownloads, which had the identical gap.

๐Ÿท๏ธ Label Deluge torrents on add (the missing half of the filter)

  • qBit/SAB/NZBGet stamp their native category on add, so their own downloads survive the category filter; Deluge had no category, so Omnibus's own comics torrents were unlabeled and a naive label filter would have hidden them too. addDownload now best-effort tags the torrent with the configured category as a Label-plugin label (label.add + label.set_torrent). If the plugin is disabled, Deluge returns a 200-body error that's swallowed โ€” the add still succeeds, the torrent is just left unlabeled.

๐Ÿ›Ÿ Graceful when the Label plugin isn't used

  • The active-downloads filter only applies when labels are actually in use (some torrent carries a label). A Deluge without the Label plugin still lists all downloads instead of going empty (no regression for single-purpose instances), while a shared instance is correctly narrowed to the category.

๐Ÿ—‚๏ธ Per-category routing: comics โ†’ first category, manga โ†’ second

  • The category field was already an ordered "comics, manga" list (and the active-downloads filter matched the whole list), but addDownload only ever used split(',')[0] โ€” the second entry never routed anything. addDownload now takes isManga and files manga under the second configured category when present (else the first). Wired through every add path: automation.ts (automated/monitor), admin manual URL download, manual-request auto-approve, and interactive/force search (performSmartSearch โ† force-search) โ€” each resolving isManga from the request's series. Settings help text updated to document the ordering.

๐Ÿงน Deluge no longer pins the save path to the category string

  • addDownload set download_location to the category ("comics"), a stray relative folder unrelated to categorization. Removed it โ€” Deluge now uses its configured default (or its per-label download location, now that we set the label).

๐Ÿงช Tests

  • download-clients: Deluge add sets label.set_torrent [id, category]; add still succeeds when label calls fail (plugin off); add no longer pins download_location; manga routes to the SECOND category, comics to the first.
  • automation: updated two addDownload assertions for the new isManga argument.

โœ… Verification

  • tsc clean; vitest 302 passed (+4)

Don't miss a new omnibus release

NewReleases is sending notifications on new releases.