Fix issues on unplayable
This commit is contained in:
@@ -51,7 +51,7 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, w
|
|||||||
repairs: mapset.NewSet[string](),
|
repairs: mapset.NewSet[string](),
|
||||||
allAccessKeys: mapset.NewSet[string](),
|
allAccessKeys: mapset.NewSet[string](),
|
||||||
latestState: &LibraryState{},
|
latestState: &LibraryState{},
|
||||||
requiredVersion: "11.01.2024",
|
requiredVersion: "20.01.2024",
|
||||||
workerPool: workerPool,
|
workerPool: workerPool,
|
||||||
repairPool: repairPool,
|
repairPool: repairPool,
|
||||||
log: log,
|
log: log,
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ func (t *TorrentManager) repair(torrent *Torrent) {
|
|||||||
if assignedCount > 0 {
|
if assignedCount > 0 {
|
||||||
// if there are any assigned count
|
// if there are any assigned count
|
||||||
t.log.Infof("Assigned %d links to selected files for torrent %s", assignedCount, t.GetKey(torrent))
|
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
|
// also is assignedCount=0
|
||||||
// this is a rar'ed torrent, nothing we can do
|
// this is a rar'ed torrent, nothing we can do
|
||||||
if t.Config.ShouldDeleteRarFiles() {
|
if t.Config.ShouldDeleteRarFiles() {
|
||||||
|
|||||||
Reference in New Issue
Block a user