Remove unrepairable condition

This commit is contained in:
Ben Sarmiento
2024-01-20 17:54:51 +01:00
parent 9a7d96b21f
commit 0115952178

View File

@@ -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
}
})