mirror of
https://github.com/fiso64/slsk-batchdl.git
synced 2024-12-22 14:32:40 +00:00
stuff
This commit is contained in:
parent
20d8310d20
commit
fd74ac7e93
1 changed files with 3 additions and 4 deletions
|
@ -1356,11 +1356,10 @@ static class Program
|
||||||
{
|
{
|
||||||
var equivalentFiles = EquivalentFiles(track, results.Select(x => x.Value), 1);
|
var equivalentFiles = EquivalentFiles(track, results.Select(x => x.Value), 1);
|
||||||
result = equivalentFiles
|
result = equivalentFiles
|
||||||
.SelectMany(t => t.Item2, (t, f) => new { t.Item1, f.response.Username, f.file.Filename })
|
.SelectMany(t => t.Item2, (t, f) => new { t.Item1, f.response.Username, f.file.Filename, Count = t.Item2.Count() })
|
||||||
.GroupBy(x => $"{x.Username}\\{x.Filename}")
|
|
||||||
.ToSafeDictionary(
|
.ToSafeDictionary(
|
||||||
g => g.Key,
|
x => $"{x.Username}\\{x.Filename}",
|
||||||
g => (g.First().Item1, g.Count()));
|
x => (x.Item1, x.Count));
|
||||||
}
|
}
|
||||||
|
|
||||||
var infTrack = (string fname, string uname) => {
|
var infTrack = (string fname, string uname) => {
|
||||||
|
|
Loading…
Reference in a new issue