mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
update
This commit is contained in:
@@ -62,13 +62,12 @@ func GetTorrent(hashHex string) *Torrent {
|
||||
|
||||
tor = GetTorrentDB(hash)
|
||||
|
||||
tr, err := NewTorrent(tor.TorrentSpec, bts)
|
||||
if err != nil {
|
||||
log.TLogln("error get torrent db:", err)
|
||||
}
|
||||
if tr != nil {
|
||||
go tr.GotInfo()
|
||||
}
|
||||
go func() {
|
||||
tr, _ := NewTorrent(tor.TorrentSpec, bts)
|
||||
if tr != nil {
|
||||
tr.GotInfo()
|
||||
}
|
||||
}()
|
||||
return tor
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user