From 01159521784f62fa11ec75e20cadd347747e35c0 Mon Sep 17 00:00:00 2001 From: Ben Sarmiento Date: Sat, 20 Jan 2024 17:54:51 +0100 Subject: [PATCH] Remove unrepairable condition --- internal/torrent/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/torrent/manager.go b/internal/torrent/manager.go index d331a75..5812042 100644 --- a/internal/torrent/manager.go +++ b/internal/torrent/manager.go @@ -155,7 +155,7 @@ func (t *TorrentManager) assignedDirectoryCb(tor *Torrent, cb func(string)) { tor.SelectedFiles.IterCb(func(key string, file *File) { filenames = append(filenames, filepath.Base(file.Path)) fileSizes = append(fileSizes, file.Bytes) - if !tor.Unrepairable && unplayable && utils.IsStreamable(file.Path) { + if unplayable && utils.IsStreamable(file.Path) { unplayable = false } })