Add utils

This commit is contained in:
Ben Sarmiento
2024-01-28 20:20:33 +01:00
parent 3cf3351210
commit 573cfa1436
6 changed files with 65 additions and 21 deletions

View File

@@ -66,8 +66,8 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, w
t.mountDownloads()
t.refreshTorrents()
t.SetNewLatestState(t.getCurrentState())
t.startRefreshJob()
t.startRepairJob()
t.StartRefreshJob()
t.StartRepairJob()
return t
}