Autoheal functionality

This commit is contained in:
Ben Sarmiento
2023-10-24 14:56:03 +02:00
parent 16668b90a1
commit 003ba1eb51
8 changed files with 362 additions and 276 deletions

View File

@@ -2,7 +2,6 @@ package http
import (
"fmt"
"log"
"path/filepath"
"github.com/debridmediamanager.com/zurg/internal/torrent"
@@ -42,7 +41,7 @@ func createSingleTorrentResponse(basePath string, torrents []torrent.Torrent) (s
for _, torrent := range torrents {
for _, file := range torrent.SelectedFiles {
if file.Link == "" {
log.Println("File has no link, skipping", file.Path)
// log.Println("File has no link, skipping", file.Path)
continue
}