diff --git a/slsk-batchdl/Program.cs b/slsk-batchdl/Program.cs index 11d316c..ef91de9 100644 --- a/slsk-batchdl/Program.cs +++ b/slsk-batchdl/Program.cs @@ -1384,8 +1384,7 @@ static class Program .ThenByDescending(x => x.response.UploadSpeed / 600) .ThenByDescending(x => FileConditions.StrictString(x.file.Filename, track.TrackTitle)) .ThenByDescending(x => FileConditions.StrictString(x.file.Filename, track.ArtistName)) - .ThenByDescending(x => -(levenshtein(x) + 1) / 3) - .ThenByDescending(x => track.Length > 0 ? -Math.Max(Math.Abs(track.Length - (x.file.Length ?? -9999)) - 1, 0) / 3 : 0) + .ThenByDescending(x => levenshtein(x) <= 5) .ThenByDescending(x => x.response.UploadSpeed / 300) .ThenByDescending(x => (x.file.BitRate ?? 0) / 70) .ThenByDescending(x => infTrack(x).Item2)