Prevent stale torrents

This commit is contained in:
Ben Adrian Sarmiento
2024-06-28 21:10:31 +02:00
parent 7cd8c9e5c9
commit c781a5fc7c
5 changed files with 9 additions and 121 deletions

View File

@@ -175,7 +175,7 @@ func (t *TorrentManager) getMoreInfo(rdTorrent realdebrid.Torrent) *realdebrid.T
var err error
info, err = t.rd.GetTorrentInfo(rdTorrent.ID)
if err != nil {
t.log.Warnf("Cannot get info for id=%s: %v", rdTorrent.ID, err)
t.log.Warnf("Cannot get info for torrent %s (id=%s): %v", rdTorrent.Name, rdTorrent.ID, err)
return nil
}
t.writeInfoToFile(info)