Skip to content

.unwanted flag always turning on #320

@mihcox

Description

@mihcox

Version: dev branch (latest as of Dec 2025)
qBittorrent version: 5.x

Issue:
The qBittorrent setting "Keep unselected files in '.unwanted' folder" is being
enabled automatically when decluttarr starts, even when remove_bad_files is
NOT configured.

Steps to reproduce:

  1. Configure decluttarr WITHOUT remove_bad_files in jobs
  2. Manually disable the .unwanted folder setting in qBittorrent
  3. Start/restart decluttarr
  4. Setting is immediately re-enabled

Expected behavior:
This setting should only be enabled when remove_bad_files is configured,
per the documentation.

Config (sanitized):
general:
log_level: INFO
test_run: false
timer: 10
private_tracker_handling: "skip"

job_defaults:
max_strikes: 3
min_days_between_searches: 7
max_concurrent_searches: 3

jobs:
remove_failed_downloads:
remove_failed_imports:
message_patterns:
- "Not a Custom Format upgrade for existing*"
- "Not an upgrade for existing*"
- "Found potentially dangerous file with extension"
- "Invalid video file*"
- "No files found are eligible for import*"
- "One or more episodes expected in this release were not imported or missing from the release"
remove_metadata_missing:
remove_missing_files:
remove_orphans:
remove_slow:
remove_stalled:
remove_unmonitored:
search_unmet_cutoff:
search_missing:

instances:
sonarr:
- base_url: "http://192.168.254.10:8989"
api_key: ""

radarr:
- base_url: "http://192.168.254.10:7878"
api_key: ""

download_clients:
qbittorrent:
- base_url: "https://..**********8.me/qbittorrent/"
username: ""
password: ""
name: "
*********- qBittorrent"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions