- Add support for multiple debrid providers
- Add Torbox support
- Add support for configurable debrid cache checks
- Add support for configurable debrid download uncached torrents
This commit is contained in:
Mukhtar Akere
2024-11-25 16:48:23 +01:00
parent b51cb954f8
commit df2aa4e361
2 changed files with 9 additions and 2 deletions

View File

@@ -76,4 +76,11 @@
#### 0.2.6 #### 0.2.6
- Delete torrent for empty matched files - Delete torrent for empty matched files
- Update Readme - Update Readme
#### 0.2.7
- Add support for multiple debrid providers
- Add Torbox support
- Add support for configurable debrid cache checks
- Add support for configurable debrid download uncached torrents

View File

@@ -87,7 +87,7 @@ func (q *QBit) CreateTorrentFromMagnet(magnet *common.Magnet, category string) *
func (q *QBit) processFiles(torrent *Torrent, debridTorrent *debrid.Torrent, arr *debrid.Arr, isSymlink bool) { func (q *QBit) processFiles(torrent *Torrent, debridTorrent *debrid.Torrent, arr *debrid.Arr, isSymlink bool) {
for debridTorrent.Status != "downloaded" { for debridTorrent.Status != "downloaded" {
progress := debridTorrent.Progress progress := debridTorrent.Progress
q.logger.Printf("RD Download Progress: %.2f%%", progress) q.logger.Printf("%s Download Progress: %.2f%%", debridTorrent.Debrid.GetName(), progress)
time.Sleep(5 * time.Second) time.Sleep(5 * time.Second)
dbT, err := debridTorrent.Debrid.CheckStatus(debridTorrent, isSymlink) dbT, err := debridTorrent.Debrid.CheckStatus(debridTorrent, isSymlink)
if err != nil { if err != nil {