qbittorrent / qBittorrent

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

Torrents in watched sub-folder creates new category #16661

Open funforgiven opened 2 years ago

funforgiven commented 2 years ago

qBittorrent & operating system versions

qBittorrent: 4.4.1 x64 Operating system: Windows 11 Pro 21H2 10.0.22000

What is the problem?

qBittorrent creates a new category when downloading from a watched sub-folder in recursive mode.

Steps to reproduce

  1. Set your default management mode to automatic.
  2. Create a category called test (for example).
  3. Add a watched folder with "Automatic" management and recursive mode, set the category to the one you just created. Start torrent is checked and "Don't create sub-folder" is chosen.
  4. Place a torrent in a sub folder named x (for example) inside the watched folder, qBittorrent creates a new category called test/x and downloads the torrent to the default Downloads folder.

Additional context

image

This is a problem both on v4.4.0 and v4.4.1 but not on v4.3.9.

Log(s) & preferences file(s)

Preferences

[AutoRun]
program=
enabled=false
ConsoleEnabled=false

[OptionsDialog]
HorizontalSplitterSizes=119, 633
LastViewedPage=4
Size=@Size(779 591)

[BitTorrent]
Session\AddExtensionToIncompleteFiles=true
Session\Categories=@Variant(\0\0\0\b\0\0\0\x5\0\0\0 \0M\0o\0v\0i\0\x65\0s\0 \0\x61\0n\0\x64\0 \0S\0h\0o\0w\0s\0\0\0\n\0\0\0&\0\x44\0:\0/\0M\0o\0v\0i\0\x65\0s\0 \0\x61\0n\0\x64\0 \0S\0h\0o\0w\0s\0\0\0\b\0G\0\x61\0m\0\x65\0\0\0\n\0\0\0\xe\0\x44\0:\0/\0G\0\x61\0m\0\x65\0\0\0\"\0\x41\0r\0\x63\0h\0i\0v\0\x65\0 \0\x44\0o\0w\0n\0l\0o\0\x61\0\x64\0s\0\0\0\n\0\0\0\xe\0\x44\0:\0/\0T\0\x65\0m\0p\0\0\0\x12\0\x41\0n\0i\0m\0\x65\0 \0R\0S\0S\0\0\0\n\0\0\0\x18\0\x44\0:\0/\0\x41\0n\0i\0m\0\x65\0/\0R\0S\0S\0\0\0\n\0\x41\0n\0i\0m\0\x65\0\0\0\n\0\0\0\x10\0\x44\0:\0/\0\x41\0n\0i\0m\0\x65)
Session\GlobalDLSpeedLimit=0
Session\GlobalMaxSeedingMinutes=-1
Session\GlobalUPSpeedLimit=0
Session\Port=12567
Session\uTPRateLimited=false
Session\MaxActiveUploads=0
Session\AlternativeGlobalUPSpeedLimit=0
Session\MaxRatioAction=1
Session\GlobalMaxRatio=1
Session\DisableAutoTMMByDefault=false
Session\Preallocation=true
Session\QueueingSystemEnabled=false
Session\MaxActiveTorrents=500
Session\AlternativeGlobalDLSpeedLimit=0
Session\IgnoreLimitsOnLAN=true

[Preferences]
Advanced\trackerPort=9000
General\Locale=en
Advanced\DisableRecursiveDownload=false
General\SystrayEnabled=true
Connection\PortRangeMin=12567
Connection\ResolvePeerCountries=true
General\NoSplashScreen=true
Connection\GlobalDLLimit=0
Advanced\confirmTorrentDeletion=true
MailNotification\password=
MailNotification\smtp_server=smtp.changeme.com
Queueing\QueueingEnabled=false
Bittorrent\MaxRatio=0
Scheduler\end_time=@Variant(\0\0\0\xf\x4J\xa2\0)
General\PreventFromSuspendWhenSeeding=false
MailNotification\req_ssl=false
General\CloseToTray=true
General\MinimizeToTray=true
Downloads\UseIncompleteExtension=true
Connection\GlobalUPLimit=0
Scheduler\start_time=@Variant(\0\0\0\xf\x1\xb7t\0)
MailNotification\sender=qBittorrent_notification@example.com
Downloads\ScanDirsLastPath=C:/Users/fahri/Downloads/test
Queueing\MaxActiveTorrents=500
Bittorrent\uTP_rate_limited=false
Advanced\updateCheck=false
General\HideZeroValues=false
Advanced\confirmRemoveAllTags=true
Advanced\confirmTorrentRecheck=true
MailNotification\email=
Connection\GlobalDLLimitAlt=0
General\CustomUIThemePath=C:/Users/fahri/Documents/qbitTorrent/mumble-dark.qbtheme
Downloads\DblClOnTorFn=1
Downloads\DblClOnTorDl=1
General\StartMinimized=true
General\CloseToTrayNotified=true
Advanced\RecheckOnCompletion=false
Advanced\IgnoreLimitsLAN=true
General\UseCustomUITheme=true
Downloads\NewAdditionDialog=true
Scheduler\days=EveryDay
Connection\GlobalUPLimitAlt=0
Downloads\PreAllocation=true
General\PreventFromSuspendWhenDownloading=true
MailNotification\req_auth=false
General\AlternatingRowColors=true
MailNotification\enabled=false
Downloads\NewAdditionDialogFront=true
Bittorrent\MaxRatioAction=1
Queueing\MaxActiveUploads=0
Advanced\EnableIconsInMenus=true
General\ExitConfirm=true
Connection\ResolvePeerHostNames=false
General\HideZeroComboValues=0
Advanced\TrayIconStyle=Normal
General\MinimizeToTrayNotified=true
WebUI\Enabled=false
MailNotification\username=

[SpeedWidget]
graph_enable_7=false
graph_enable_1=true
period=1
graph_enable_9=false
graph_enable_6=false
graph_enable_2=false
graph_enable_0=true
graph_enable_8=false
graph_enable_3=false
graph_enable_5=false
graph_enable_4=false
Enabled=true

[TorrentProperties]
CurrentTab=2
Visible=true
SplitterSizes="328,222"
Peers\qt5\PeerListState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\b\x1\0\0\0\0\0\0\0\0\0\0\0\xe\0 \0\0\0\x1\0\0\0\r\0\0\0\x64\0\0\x5\x14\0\0\0\xe\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\xe\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x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\0\0\0\x6\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x6\0\0\x1\x16\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
DefaultCategory=Anime RSS
DialogSize=@Size(900 620)
SavePathHistory=D:/Downloads/Anime/RSS, C:/Users/fahri/Downloads
TopLevel=true
Enabled=true
SplitterState=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1<\0\0\x1\0\0\xff\xff\xff\xff\x1\0\0\0\x1\0)

[TransferListFilters]
CategoryFilterState=true
selectedFilterIndex=0
TagFilterState=false
trackerFilterState=false

[TrackerEntriesDialog]
Size=@Size(506 500)

[DownloadFromURLDialog]
Size=@Size(501 220)

[GUI]
Qt6\TorrentProperties\PeerListState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\xe\0 \0\0\0\x1\0\0\0\r\0\0\0\x64\0\0\x5\x14\0\0\0\xe\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\xe\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\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\0\0x\0\0\x2\x84\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
RSSWidget\Enabled=true
Qt6\TorrentProperties\FilesListState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2X\0\0\0\x6\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x6\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)
Notifications\Enabled=true

[RssFeedDownloader]
geometrySize=@Size(1559 551)
qt5\hsplitterSizes=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x3\0\0\x1T\0\0\x2\x1\0\0\x2\xa2\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)

[Application]
FileLogger\MaxSizeBytes=66560
FileLogger\Age=1
FileLogger\Backup=true
FileLogger\Path=C:/Users/fahri/AppData/Local/qBittorrent/logs
FileLogger\DeleteOld=true
FileLogger\Enabled=true
FileLogger\AgeType=1

[RSS]
AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"
AutoDownloader\DownloadRepacks=true
AutoDownloader\EnableProcessing=true
Session\EnableProcessing=true

[TorrentCreator]
OptimizeAlignment=true
PaddedFileSizeLimit=-1
LastAddPath=C:\\Users\\fahri\\Downloads\\4b5-standard-scale-6_00x-gigapixel.png
StartSeeding=true
Size=@Size(592 731)
PrivateTorrent=false
IgnoreRatio=true
TrackerList=
Comments=
Source=
PieceSize=0
LastSavePath=C:/Users/fahri/Downloads
WebSeedList=

[ShutdownConfirmDlg]
DontConfirmAutoExit=true

[Core]
AutoDeleteAddedTorrentFile=IfAdded

[TorrentOptionsDialog]
Size=@Size(390 450)

[WatchedFolderOptionsDialog]
DialogSize=@Size(462 404)

[Network]
Proxy\OnlyForTorrents=false
Cookies="__ddg1=OM2iR7VQ222S7adPmG9g; HttpOnly; expires=Sat, 25-Jun-2022 02:15:24 GMT; domain=.nyaa.si; path=/", "__ddgid=AXIM0pM0lKChnSjI; HttpOnly; expires=Sat, 25-Jun-2022 02:19:10 GMT; domain=.nyaa.si; path=/"

[LegalNotice]
Accepted=true

[PreviewSelectDialog]
HeaderState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x4\b\0\0\0\x1\0\0\0\x3\0\0\0\x64\0\0\x1\xd0\0\0\0\x4\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\b\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64)
Size=@Size(462 256)

[TorrentAdditionDlg]
save_path_history=D:/Downloads/Anime/RSS, C:/Users/fahri/Downloads

[Meta]
MigrationVersion=3

Logs

(N) 2022-03-18T08:00:57 - qBittorrent v4.4.1 started
(N) 2022-03-18T08:00:57 - Using config directory: C:/Users/fahri/AppData/Roaming/qBittorrent
(I) 2022-03-18T08:00:57 - Trying to listen on: 0.0.0.0:12567,[::]:12567
(N) 2022-03-18T08:00:57 - Peer ID: -qB4410-
(N) 2022-03-18T08:00:57 - HTTP User-Agent is 'qBittorrent/4.4.1'
(I) 2022-03-18T08:00:57 - DHT support [ON]
(I) 2022-03-18T08:00:57 - Local Peer Discovery support [ON]
(I) 2022-03-18T08:00:57 - PeX support [ON]
(I) 2022-03-18T08:00:57 - Anonymous mode [OFF]
(I) 2022-03-18T08:00:57 - Encryption support [ON]
(I) 2022-03-18T08:00:57 - UPnP / NAT-PMP support [ON]
(I) 2022-03-18T08:00:57 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Tue Mar 1 02:17:45 2022.
(I) 2022-03-18T08:00:58 - Successfully listening on IP: 172.16.19.80, port: TCP/12567
(I) 2022-03-18T08:00:58 - Successfully listening on IP: 172.16.19.80, port: UTP/12567
(I) 2022-03-18T08:00:58 - Successfully listening on IP: 127.0.0.1, port: TCP/12567
(I) 2022-03-18T08:00:58 - Successfully listening on IP: 127.0.0.1, port: UTP/12567
(I) 2022-03-18T08:00:58 - Successfully listening on IP: fe80::e520:6ba7:39ae:4326%14, port: TCP/12567
(I) 2022-03-18T08:00:58 - Successfully listening on IP: fe80::e520:6ba7:39ae:4326%14, port: UTP/12567
(I) 2022-03-18T08:00:58 - Successfully listening on IP: ::1, port: TCP/12567
(I) 2022-03-18T08:00:58 - Successfully listening on IP: ::1, port: UTP/12567
(I) 2022-03-18T08:00:58 - Detected external IP: **.***.**.***
(N) 2022-03-18T08:00:57 - Watching folder: "C:\Users\fahri\Downloads\test"
(N) 2022-03-18T08:00:59 - RSS feed at 'https://subsplease.org/rss/?t&r=720' is successfully downloaded. Starting to parse it.
(N) 2022-03-18T08:00:59 - RSS feed at 'https://subsplease.org/rss/?t&r=720' updated. Added 0 new articles.
(N) 2022-03-18T08:01:27 - '[SubsPlease] Ousama Ranking - 22 (1080p) [AE0D0B36].mkv' added to download list.

Watched Folders

{
    "C:/Users/fahri/Downloads/test": {
        "add_torrent_params": {
            "category": "test",
            "content_layout": "NoSubfolder",
            "download_limit": -1,
            "download_path": "",
            "operating_mode": "AutoManaged",
            "ratio_limit": -2,
            "save_path": "",
            "seeding_time_limit": -2,
            "skip_checking": false,
            "stopped": false,
            "tags": [
            ],
            "upload_limit": -1,
            "use_auto_tmm": true
        },
        "recursive": true
    }
}
glassez commented 2 years ago

This is a problem both on v4.4.0 and v4.4.1

It isn't a bug. It is intended behavior of recursive mode of watched folders, it either create subfolder in chosen save path or subcategory in chosen category depending on chosen management mode (automatic or manual).

"Don't create sub-folder" is chosen.

It doesn't affect save path.

Place a torrent in a sub folder named x (for example) inside the watched folder, qBittorrent creates a new category called test/x and downloads the torrent to the default Downloads folder.

So it downloads into, e.g., default_downloads rather than default_downloads/test/x?

funforgiven commented 2 years ago

So it downloads into, e.g., default_downloads rather than default_downloads/test/x?

It actually downloads into 'default_downloads/test/x' rather than 'test/x'. Which means that if you choose a path other than the inside of the default download path for your category, it won't work properly.

It is intended behavior of recursive mode of watched folders

Do you plan on adding an option to change the behavior to the old behavior. Because I had to downgrade to v4.3.9 so that sub-folders are also downloaded to the root category.

funforgiven commented 2 years ago

So it downloads into, e.g., default_downloads rather than default_downloads/test/x?

It actually downloads into 'default_downloads/test/x' rather than 'test/x'. Which means that if you choose a path other than the inside of the default download path for your category, it won't work properly.

To be more clear, let's assume that my category path is D:/test. if I place the torrent in the watched sub-folder named x, it gets installed into C:/users/username/Downloads/test/x rather than D:/test/x.