Add completed download log
This commit is contained in:
parent
cab6926338
commit
2110148ee4
1 changed files with 2 additions and 0 deletions
|
@ -307,6 +307,8 @@ func (q *Queue) downloadTorrents(torrents []rtorrent.Torrent) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
q.logger.Printf("Successfully downloaded '%s' (%s)", torrent.Name, torrentFilePath)
|
||||||
|
|
||||||
q.lock.RUnlock()
|
q.lock.RUnlock()
|
||||||
q.lock.Lock()
|
q.lock.Lock()
|
||||||
delete(q.downloadQueue, torrent.Hash)
|
delete(q.downloadQueue, torrent.Hash)
|
||||||
|
|
Loading…
Reference in a new issue