mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Passing "qBit parameter" to python script via "Run external program on torrent completion" doesn't work #10670
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#10670
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 @Accelerox on GitHub (Jul 5, 2020).
qBittorrent version and Operating System
qBittorrent v4.3.0alpha1 Web UI (64-bit)
Ubuntu 20.04 LTS
libtorrent-rasterbar and Qt version
libtorrent-rasterbar10/focal,now 1.2.6+git20200425.a9968916ca-1ppa1~20.04 amd64
Qt version 5.12.8
Issue
When passing a parameter to a python script via "Run external program on torrent completion" the script doesn´t execute.
Tried solutions
Passing parameter as "%N" instead of %N
Restarting qBit
Reinstalling qBit
Restarting Ubuntu
Steps to reproduce
Execute following command at complete "/path/complete_script.py %N > /path/logs"
complete_script.py:
Expected outcome
The file "logs" contains following text: The name of the torrent is {name} and a file named IHaveExecuted has been created.