mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
m_nativeStatus.current_tracker is only set on client initialization #16220
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#16220
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 @buroa on GitHub (Oct 13, 2024).
Suggestion
m_nativeStatus.current_trackeris only set on client initialization, which is returned in the qBittorrent API as"tracker": "http://tracker/announce". When libtorrent does the reannounce on the set interval; and the tracker status goes to "Not Working", the current tracker is never removed, or set back to empty/null like it is during the first client initialization.It would be extremely helpful to clear this field when that tracker announce goes "bad", so we can determine what torrents are in that state, and then we can issue the second API call to grab the tracker statuses and messages.
Use case
When I reannounce torrents on faulty trackers or the trackers remove the infoHash from their database; I'd like to have automaton remove them from my client. I'd like to use less API calls to determine if these torrents need their tracker statuses checked further (another API call), and having that tracker status always update (
m_nativeStatus.current_tracker) to what is the real current (nothing or otherwise) will be extremely beneficial.Extra info/examples/attachments
No response
@thalieht commented on GitHub (Oct 13, 2024):
Sounds like it's working as intended
I'm no expert but it sounds like it is controlled entirely by libtorrent.
@glassez commented on GitHub (Oct 13, 2024):
👍
@xavier2k6 commented on GitHub (May 25, 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.)