- Add cancellation context

- Other bug fixes
This commit is contained in:
Mukhtar Akere
2025-05-17 21:23:43 +01:00
parent 35a74d8dba
commit 109d0a0c1c
8 changed files with 91 additions and 60 deletions

View File

@@ -125,7 +125,7 @@ func (q *QBit) ProcessFiles(torrent *Torrent, debridTorrent *debridTypes.Torrent
rclonePath := filepath.Join(debridTorrent.MountPath, cache.GetTorrentFolder(debridTorrent)) // /mnt/remote/realdebrid/MyTVShow
torrentFolderNoExt := utils.RemoveExtension(debridTorrent.Name)
torrentSymlinkPath, err = q.createSymlinksWebdav(debridTorrent, rclonePath, torrentFolderNoExt) // /mnt/symlinks/{category}/MyTVShow/
q.logger.Debug().Msgf("Adding %s took %s", debridTorrent.Name, time.Since(timer))
q.logger.Info().Msgf("Adding %s took %s", debridTorrent.Name, time.Since(timer))
} else {
// User is using either zurg or debrid webdav