Add log for adding new torrents

This commit is contained in:
Ben Sarmiento
2023-12-07 13:36:04 +01:00
parent d84f042345
commit b4a366805a

View File

@@ -63,6 +63,7 @@ func (t *TorrentManager) RefreshTorrents() []string {
torrents.Set(accessKey, tor)
updatedPaths = append(updatedPaths, fmt.Sprintf("%s/%s", directory, accessKey))
})
t.log.Infof("Added %s to the library", accessKey)
t.allAccessKeys.Add(accessKey)
return true
})