mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Run external program on "torrent stop" (usecase: is if program is trying to rename/move files, it can be successful only if files are not in use by qbit) #11425
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#11425
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @abegreen on GitHub (Dec 15, 2020).
Suggestion:
With current "run program" feature we can only execute program when torrent finishes downloading, but since it is still seeding until ratio goal is reached, we need an option to run program on "torrent stop".
One practical reason for this suggestion is if program is trying to rename/move files, it can be successful only if files are not in use by qbit.
@xavier2k6 commented on GitHub (May 24, 2025):
ANNOUNCEMENT!
For anybody coming across this "Feature Request" & would like/love to see a potential implementation in the future!
Here are some options available to you:
Please select/click the 👍 &/or ❤
reactionsin the original/opening post of this ticket.Please feel free (If you have the "skillset") to create a "Pull Request" implementing what's being requested in this ticket.
(new/existing contributors/developers are always welcome)
DO:
DO NOT:
(These will be disregarded/hidden as "spam/abuse/off-topic" etc. as they don't provide anything constructive.)
@abegreen commented on GitHub (Sep 29, 2025):
I am back 5 years later. I still think that external program should run after torrent is completed and stopped.
Running it immediately after download finishes, means that the torrent is in seeding state and external program cannot make changes to files while they are being used.
In old utorrent, there were numbers (values) for every torrent state. Completed & Stopped had value "11", so external script ran on every change of state, but was programmable to only execute if TorrentState='11'.
In BiglyBT, we can add a tag that will run the external script, with condition to add it (tag) when torrent is Completed & Stopped.
I've been scrolling through Qbit settings and it came to my mind that the trigger that we need to run script is when seeding limit is reached. We need an option to stop+run script. It's been there all this time.
To me, this feature is essential, and the lack of it is illogical. I need this or I can't make use of Qbit client.