[BETA] Changelog 0.3.4 (#14)

- Add repair worker
- Fix AllDebrid bugs with single movies/series
- Fix Torbox bugs
This commit is contained in:
Mukhtar Akere
2025-01-11 16:21:49 +01:00
committed by GitHub
parent 28e5342c66
commit c39eebea0d
23 changed files with 795 additions and 242 deletions

View File

@@ -23,11 +23,10 @@ type QBit struct {
RefreshInterval int
}
func NewQBit(config *common.Config, deb *debrid.DebridService, logger *log.Logger) *QBit {
func NewQBit(config *common.Config, deb *debrid.DebridService, logger *log.Logger, arrs *arr.Storage) *QBit {
cfg := config.QBitTorrent
port := cmp.Or(cfg.Port, os.Getenv("QBIT_PORT"), "8182")
refreshInterval := cmp.Or(cfg.RefreshInterval, 10)
arrs := arr.NewStorage()
return &QBit{
Username: cfg.Username,
Password: cfg.Password,