Fix issues on unplayable

This commit is contained in:
Ben Sarmiento
2024-01-20 15:04:58 +01:00
parent a6b02ba74e
commit bf70aad909
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, w
repairs: mapset.NewSet[string](),
allAccessKeys: mapset.NewSet[string](),
latestState: &LibraryState{},
requiredVersion: "11.01.2024",
requiredVersion: "20.01.2024",
workerPool: workerPool,
repairPool: repairPool,
log: log,

View File

@@ -196,7 +196,7 @@ func (t *TorrentManager) repair(torrent *Torrent) {
if assignedCount > 0 {
// if there are any assigned count
t.log.Infof("Assigned %d links to selected files for torrent %s", assignedCount, t.GetKey(torrent))
} else if rarCount > 0 {
} else if rarCount == 1 && newUnassignedLinks.Count() == 1 {
// also is assignedCount=0
// this is a rar'ed torrent, nothing we can do
if t.Config.ShouldDeleteRarFiles() {