Add category associated to each torrent

This commit is contained in:
LIAUD Corentin
2023-11-22 14:08:10 +01:00
parent 286609acec
commit 8c92856595
22 changed files with 171 additions and 70 deletions

View File

@@ -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 == "" {