Changelog 0.2.6

This commit is contained in:
Mukhtar Akere
2024-10-08 15:43:38 +01:00
parent f118c5b794
commit 4b8f1ccfb6
3 changed files with 9 additions and 2 deletions

View File

@@ -185,6 +185,7 @@ func (r *RealDebrid) CheckStatus(torrent *Torrent, isSymlink bool) (*Torrent, er
files := GetTorrentFiles(data)
torrent.Files = files
if len(files) == 0 {
r.DeleteTorrent(torrent)
return torrent, fmt.Errorf("no video files found")
}
filesId := make([]string, 0)