Fix duplicate links for files

This commit is contained in:
Mukhtar Akere
2025-03-24 20:39:35 +01:00
parent 9469c98df7
commit 56bca562f4
5 changed files with 83 additions and 23 deletions

View File

@@ -112,7 +112,7 @@ func (q *QBit) ProcessFiles(torrent *Torrent, debridTorrent *debrid.Torrent, arr
if ok {
q.logger.Info().Msgf("Using internal webdav for %s", debridTorrent.Debrid)
// Use webdav to download the file
err := cache.ProcessTorrent(debridTorrent, true)
err := cache.AddTorrent(debridTorrent)
if err != nil {
return
}