Add log for adding new torrents
This commit is contained in:
@@ -63,6 +63,7 @@ func (t *TorrentManager) RefreshTorrents() []string {
|
|||||||
torrents.Set(accessKey, tor)
|
torrents.Set(accessKey, tor)
|
||||||
updatedPaths = append(updatedPaths, fmt.Sprintf("%s/%s", directory, accessKey))
|
updatedPaths = append(updatedPaths, fmt.Sprintf("%s/%s", directory, accessKey))
|
||||||
})
|
})
|
||||||
|
t.log.Infof("Added %s to the library", accessKey)
|
||||||
t.allAccessKeys.Add(accessKey)
|
t.allAccessKeys.Add(accessKey)
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user