mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
refactor: download torrent files (#144)
* refactor: download torrent file * refactor: remove return struct * chore: remove unused method
This commit is contained in:
parent
43c42a7ee8
commit
a18e2bc09d
5 changed files with 31 additions and 69 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
const ReannounceMaxAttempts = 50
|
||||
const ReannounceInterval = 7000
|
||||
|
||||
func (s *service) qbittorrent(qbt *qbittorrent.Client, action domain.Action, hash string, torrentFile string) error {
|
||||
func (s *service) qbittorrent(qbt *qbittorrent.Client, action domain.Action, torrentFile string, hash string) error {
|
||||
log.Debug().Msgf("action qBittorrent: %v", action.Name)
|
||||
|
||||
options := map[string]string{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue