dirty fix for dlna list

This commit is contained in:
nikk gitanes
2021-08-27 17:25:57 +03:00
parent 065dccbcd4
commit b1f9f9b4ac
2 changed files with 13 additions and 8 deletions

View File

@@ -101,7 +101,7 @@ func GetTorrent(hashHex string) *Torrent {
go func() {
lockApi.Lock()
defer lockApi.Unlock()
log.TLogln("Add torrent")
log.TLogln("New torrent", tor.Hash())
tr, _ := NewTorrent(tor.TorrentSpec, bts)
if tr != nil {
tr.Title = tor.Title