Save based on access key and dont retry code 19
This commit is contained in:
@@ -103,7 +103,7 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, w
|
||||
allTorrents.IterCb(func(_ string, torrent *Torrent) {
|
||||
t.applyMediaInfoDetails(torrent)
|
||||
t.writeTorrentToFile(torrent)
|
||||
t.log.Debugf("Applied media info details to torrent %s", torrent.Hash)
|
||||
t.log.Debugf("Applied media info details to torrent %s", t.GetKey(torrent))
|
||||
})
|
||||
})
|
||||
|
||||
@@ -198,7 +198,7 @@ func (t *TorrentManager) writeTorrentToFile(torrent *Torrent) {
|
||||
return
|
||||
}
|
||||
|
||||
t.log.Debugf("Saved torrent %s (hash=%s) to file", t.GetKey(torrent), torrent.Hash)
|
||||
t.log.Debugf("Saved torrent %s to file", t.GetKey(torrent), torrent.Hash)
|
||||
}
|
||||
|
||||
func (t *TorrentManager) applyMediaInfoDetails(torrent *Torrent) {
|
||||
|
||||
Reference in New Issue
Block a user