mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
Add category associated to each torrent
This commit is contained in:
@@ -22,6 +22,7 @@ func AddTorrentDB(torr *Torrent) {
|
||||
t := new(settings.TorrentDB)
|
||||
t.TorrentSpec = torr.TorrentSpec
|
||||
t.Title = torr.Title
|
||||
t.Category = torr.Category
|
||||
if torr.Data == "" {
|
||||
files := new(tsFiles)
|
||||
files.TorrServer.Files = torr.Status().FileStats
|
||||
|
||||
Reference in New Issue
Block a user