mirror of
https://github.com/fiso64/slsk-batchdl.git
synced 2024-12-22 22:42:41 +00:00
mini stuff
This commit is contained in:
parent
efbdccb765
commit
9904316bdf
1 changed files with 1 additions and 2 deletions
|
@ -1384,8 +1384,7 @@ static class Program
|
||||||
.ThenByDescending(x => x.response.UploadSpeed / 600)
|
.ThenByDescending(x => x.response.UploadSpeed / 600)
|
||||||
.ThenByDescending(x => FileConditions.StrictString(x.file.Filename, track.TrackTitle))
|
.ThenByDescending(x => FileConditions.StrictString(x.file.Filename, track.TrackTitle))
|
||||||
.ThenByDescending(x => FileConditions.StrictString(x.file.Filename, track.ArtistName))
|
.ThenByDescending(x => FileConditions.StrictString(x.file.Filename, track.ArtistName))
|
||||||
.ThenByDescending(x => -(levenshtein(x) + 1) / 3)
|
.ThenByDescending(x => levenshtein(x) <= 5)
|
||||||
.ThenByDescending(x => track.Length > 0 ? -Math.Max(Math.Abs(track.Length - (x.file.Length ?? -9999)) - 1, 0) / 3 : 0)
|
|
||||||
.ThenByDescending(x => x.response.UploadSpeed / 300)
|
.ThenByDescending(x => x.response.UploadSpeed / 300)
|
||||||
.ThenByDescending(x => (x.file.BitRate ?? 0) / 70)
|
.ThenByDescending(x => (x.file.BitRate ?? 0) / 70)
|
||||||
.ThenByDescending(x => infTrack(x).Item2)
|
.ThenByDescending(x => infTrack(x).Item2)
|
||||||
|
|
Loading…
Reference in a new issue