mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
remove unused name from db
This commit is contained in:
@@ -12,12 +12,8 @@ import (
|
||||
func AddTorrentDB(torr *Torrent) {
|
||||
t := new(settings.TorrentDB)
|
||||
t.TorrentSpec = torr.TorrentSpec
|
||||
t.Name = torr.Name()
|
||||
t.Title = torr.Title
|
||||
t.Data = torr.Data
|
||||
if t.Title == "" {
|
||||
t.Title = t.Name
|
||||
}
|
||||
t.Poster = torr.Poster
|
||||
t.Size = torr.Size
|
||||
if t.Size == 0 && torr.Torrent != nil {
|
||||
|
||||
Reference in New Issue
Block a user