mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix: improve qbit re-announce (#140)
This commit is contained in:
parent
78f83c674b
commit
43c42a7ee8
2 changed files with 18 additions and 20 deletions
|
@ -144,7 +144,7 @@ func (c *Client) GetTorrentsActiveDownloads() ([]Torrent, error) {
|
|||
for _, torrent := range torrents {
|
||||
// qbit counts paused torrents as downloading as well by default
|
||||
// so only add torrents with state downloading, and not pausedDl, stalledDl etc
|
||||
if torrent.State == TorrentStateDownloading {
|
||||
if torrent.State == TorrentStateDownloading || torrent.State == TorrentStateStalledDl {
|
||||
res = append(res, torrent)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue