qbittorrent / qBittorrent

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

run external program on torrent finished is skipped for only checked torrents #19429

Open christianmerges opened 1 year ago

christianmerges commented 1 year ago

qBittorrent & operating system versions

qBittorrent: 4.5.4 Operating system: Ubuntu Linuxserver.io Docker image

What is the problem?

The command in "run external program on torrent finished" is not executed when by adding a torrent, existing data is checked and the result is: 100% already existing, so no download started. When some at least small piece is missing the command is being executed after finishing.

In the unrar command i already have the parameter for don't overwrite existing files, so in case it's already extracted it will be skipped.

Suggestion would be to always execute the command, when a torrent state is reaching the seeding state.

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

glassez commented 1 year ago

The command in "run external program on torrent finished" is not executed when by adding a torrent, existing data is checked and the result is: 100% already existing, so no download started.

At least it works correctly in v4.6RC1 (it isn't officially released yet, I use test build from GitHub CI).