qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
26.94k stars 3.88k forks source link

Override Save Location for Monitored Folder doesn't work. #20730

Open averagePedestrian opened 4 months ago

averagePedestrian commented 4 months ago

qBittorrent & operating system versions

qBittorrent: 4.6.4 aarch64 Operating system: Ubuntu 22.04.4 LTS aarch64 Qt: 6.4.3 libtorrent-rasterbar: 1.2.19

What is the problem?

I have configured a specific folder to be monitored by qBittorrent. However, regardless of whether I set the Override Save Location to the Default Save Location or a custom folder, the actual files are downloaded to the monitored folder. I tried to fix this by manually editing the watched_folders.json file, setting use_auto_tmm to true, but the issue persists. Even after setting use_auto_tmm to true, the Automatic Torrent Management feature doesn't activate for torrents added from the Watched Folder. Additionally, this setting seems to reset to false whenever I change other preferences in the web UI and save them.

Steps to reproduce

  1. Tools -> Options -> Downloads -> Set up a Monitored Folder (e.g., /home/user/torrent-files).
  2. Under Override Save Location, choose either Default save location or Other... to specify a custom location.
  3. Actual downloaded contents will still save to the Monitored Folder (/home/user/torrent-files).

Additional context

No response

Log(s) & preferences file(s)

watched_folders.json qBittorrent.conf.txt

thalieht commented 4 months ago

Steps to reproduce

  1. Tools -> Options -> Downloads -> Set up a Monitored Folder (e.g., /home/user/torrent-files).
  2. Under Override Save Location, choose Other... to specify a custom location.
  3. Actual downloaded contents will still save to the Monitored Folder (/home/user/torrent-files).

Can't reproduce in 5.0.0beta1. Torrent is downloaded where instructed in Other...

Even after setting use_auto_tmm to true, the Automatic Torrent Management feature doesn't activate for torrents added from the Watched Folder.

Also can't reproduce. In case you didn't know, use_auto_tmm is for using the category's save path.

averagePedestrian commented 4 months ago

I created a new category called ‘monitored’ and configured its save path.

categories.json:

{
    "monitored": {
        "save_path": "/home/redacted/torrents/qbittorrent"
    }
}

I edited watched_folders.json so that torrents added from the monitored folder will automatically be assigned to this category.

watched_folders.json:

{
    "/home/redacted/torrents/sendtoclient": {
        "add_torrent_params": {
            "category": "monitored",
            "download_limit": -1,
            "download_path": "/home/redacted/torrents/qbittorrent",
            "inactive_seeding_time_limit": -2,
            "operating_mode": "AutoManaged",
            "ratio_limit": -2,
            "save_path": "/home/redacted/torrents/qbittorrent",
            "seeding_time_limit": -2,
            "skip_checking": false,
            "tags": [
            ],
            "upload_limit": -1,
            "use_auto_tmm": true
        },
        "recursive": false
    }
}

The contents are still being downloaded to the monitored folder (/home/redacted/torrents/sendtoclient).

Infamousbugg commented 1 month ago

I just ran into this. I run qBit in a VPN docker and mapped a local directory to /torrent-import. The Override Save Location setting would constantly change back from Default Save Path (desired) to Monitored Folder Location (default). I changed the name to torrentImport and now the setting sticks. I noticed OP also had a hyphen in the folder he was using, so maybe something to check out if you haven't already.

nox813 commented 4 weeks ago

edit: i guess chrome was opening the file automatically adding it to qbittorrent which brought up the dialogue AND qbittorrent was adding it via the watch folder, once i stopped chrome from auto opening torrent files, then it worked just fine..

i'll leave my previous part of the comment below in quotes for reference.

the same thing happened to me, although i'm not using the web gui. version 4.6.4 , and also 4.6.5

it was fine for months but out of the blue the watched folders directories were not being applied. I think perhaps the amount of torrents in the client may be a determining factor in this. I have 2900 torrents in the client and currently facing this issue. IF i leave the dialog popup (display torrent content and some options) on when you add a torrent then close the popup manually the directories/categories get applied in the client (but not the popup itself), however if i disable the popup in the settings, the directories do not get applied. however before this issue started, there was no popup when using the watched folders.