mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Add category associated to each torrent
This commit is contained in:
@@ -146,7 +146,7 @@ func watchTDir(dir string) {
|
||||
if strings.ToLower(filepath.Ext(file.Name())) == ".torrent" {
|
||||
sp, err := openFile(filename)
|
||||
if err == nil {
|
||||
tor, err := torr.AddTorrent(sp, "", "", "")
|
||||
tor, err := torr.AddTorrent(sp, "", "", "", "")
|
||||
if err == nil {
|
||||
if tor.GotInfo() {
|
||||
if tor.Title == "" {
|
||||
|
||||
Reference in New Issue
Block a user