Small refactors

This commit is contained in:
Ben Adrian Sarmiento
2024-07-09 22:44:09 +02:00
parent b56ad95835
commit 6fc09e8486
3 changed files with 5 additions and 18 deletions

View File

@@ -375,7 +375,7 @@ func (t *TorrentManager) assignDirectory(tor *Torrent, triggerHook bool, outputL
if outputLogs {
t.log.Warnf("No playable files for %s, moving to unplayable directory", accessKey)
}
t.markAsUnplayable(tor, "no playable files")
t.markAsUnplayable(tor)
return
}