PhotoPrism for more locations
This commit is contained in:
@ -267,7 +267,7 @@
|
||||
// propertyTicks = null;
|
||||
// foreach (PropertyCompare.Models.PropertyCompare propertyCompare in propertyCompareCollection)
|
||||
// {
|
||||
// if (propertyCompare?.Property?.Id is null)
|
||||
// if (propertyCompare?.Property?.FileId is null)
|
||||
// continue;
|
||||
// if (ticks != propertyCompare.MinimumDateTime.Ticks)
|
||||
// {
|
||||
@ -276,7 +276,7 @@
|
||||
// }
|
||||
// if (!regexResult.Equals(propertyCompare.RegexResult, StringComparison.CurrentCultureIgnoreCase))
|
||||
// continue;
|
||||
// propertyId = propertyCompare.Property.Id;
|
||||
// propertyId = propertyCompare.Property.FileId;
|
||||
// propertyTicks = propertyCompare.MinimumDateTime.Ticks;
|
||||
// mappedIndex = mappedIndices.IndexOf(index);
|
||||
// if (mappedIndex > -1)
|
||||
@ -290,7 +290,7 @@
|
||||
// string[] duplicatesLines = (
|
||||
// from l
|
||||
// in duplicates
|
||||
// select $"{l.Property.Id}\t{l.RegexResult}\t{l.MinimumDateTime:yyyy-MM-dd_HH-mm-ss}\t{l.MinimumDateTime}\t{l.RelativeDirectory}\t{l.FileNameWithoutExtension}{l.Extension}.___"
|
||||
// select $"{l.Property.FileId}\t{l.RegexResult}\t{l.MinimumDateTime:yyyy-MM-dd_HH-mm-ss}\t{l.MinimumDateTime}\t{l.RelativeDirectory}\t{l.FileNameWithoutExtension}{l.Extension}.___"
|
||||
// ).ToArray();
|
||||
// string[] matchedLines = (
|
||||
// from l
|
||||
@ -575,11 +575,11 @@
|
||||
// Dictionary<int, List<PropertyCompare.Models.PropertyCompare>> results = new();
|
||||
// foreach (PropertyCompare.Models.PropertyCompare propertyCompare in propertyCompares)
|
||||
// {
|
||||
// if (propertyCompare?.Property?.Id is null)
|
||||
// if (propertyCompare?.Property?.FileId is null)
|
||||
// continue;
|
||||
// if (!results.ContainsKey(propertyCompare.Property.Id.Value))
|
||||
// results.Add(propertyCompare.Property.Id.Value, new());
|
||||
// results[propertyCompare.Property.Id.Value].Add(propertyCompare);
|
||||
// if (!results.ContainsKey(propertyCompare.Property.FileId.Value))
|
||||
// results.Add(propertyCompare.Property.FileId.Value, new());
|
||||
// results[propertyCompare.Property.FileId.Value].Add(propertyCompare);
|
||||
// }
|
||||
// return results;
|
||||
// }
|
||||
@ -628,9 +628,9 @@
|
||||
// if (keyValuePairs.ContainsKey(index))
|
||||
// {
|
||||
// propertyCompare = keyValuePairs[index][0];
|
||||
// if (propertyCompare?.Property?.Id is null)
|
||||
// if (propertyCompare?.Property?.FileId is null)
|
||||
// continue;
|
||||
// propertyId = propertyCompare.Property.Id;
|
||||
// propertyId = propertyCompare.Property.FileId;
|
||||
// propertyTicks = propertyCompare.MinimumDateTime.Ticks;
|
||||
// }
|
||||
// collection.Add(new(index, relativeDirectory, $"{fileNameWithoutExtension}{extension}", regexResult, ticks, propertyId, propertyTicks));
|
||||
|
Reference in New Issue
Block a user