mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
External "Run on torrent added" does not wait for metadata download any more #17068
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#17068
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 @mortiis on GitHub (Aug 10, 2025).
qBittorrent & operating system versions
qBittorrent: v5.1.2 WebUI (64-bit) from lscr.io/linuxserver/qbittorrent:latest
Operating system: Linux df8de3c2647a 6.12.34+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.34-1+rpt1~bookworm (2025-06-26) aarch64 GNU/Linux
Qt: 6.9.1
Libtorrent: 2.0.11.0
Boost: 1.84.0
OpenSSL: 3.5.2
zlib: 1.3.1
What is the problem?
I have a Python script checking file extensions in added torrents (magnets) that has been working, but sometime in the past few months it has silently stopped working.
Previously the API call (
client.torrents_files(hash=torrent.hash)) has returned a file list as expected, but didn't anymore until I added asleep()before requesting the file list to allow time for metadata download.I tried adding
"%C"(number of files) to the external script call which passes-1, presumably because the metadata is missing.Thanks in advance for any pointers on this, hope I'm not missing anything obvious.
Steps to reproduce
sleep()that allows for the metadata to download.Additional context
No response
Log(s) & preferences file(s)