Identify broken links properly

This commit is contained in:
Ben Sarmiento
2024-01-11 07:43:27 +01:00
parent 628e3d6345
commit cc37a92d75
6 changed files with 29 additions and 22 deletions

View File

@@ -180,6 +180,7 @@ func (t *TorrentManager) getMoreInfo(rdTorrent realdebrid.Torrent) *Torrent {
} else {
torrent.InProgressIDs.Add(info.ID)
}
torrent.BrokenLinks = mapset.NewSet[string]()
t.writeTorrentToFile(rdTorrent.ID, &torrent, true)
infoCache.Set(rdTorrent.ID, &torrent)