mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
fix dn to title with magnet
This commit is contained in:
@@ -52,8 +52,8 @@ func AddTorrent(spec *torrent.TorrentSpec, title, poster string, data string) (*
|
||||
if title == "" && torDB != nil {
|
||||
torr.Title = torDB.Title
|
||||
}
|
||||
if torr.Title == "" && torr.Torrent != nil {
|
||||
torr.Title = torr.Name()
|
||||
if torr.Title == "" && torr.Torrent != nil && torr.Torrent.Info() != nil {
|
||||
torr.Title = torr.Info().Name
|
||||
}
|
||||
}
|
||||
if torr.Poster == "" {
|
||||
|
||||
Reference in New Issue
Block a user