Prepare materials for auto heal functionality

This commit is contained in:
Ben Sarmiento
2023-10-23 16:13:04 +02:00
parent 693f8dde8a
commit 6298830ea6
5 changed files with 312 additions and 123 deletions

View File

@@ -52,6 +52,7 @@ func createSingleTorrentResponse(basePath string, torrents []torrent.Torrent) (*
for _, torrent := range torrents {
for _, file := range torrent.SelectedFiles {
if file.Link == "" {
// TODO: Fix this file
log.Println("File has no link, skipping", file.Path)
continue
}