From 19673cb07b4c70be6ee8a6e2737584bb2dc3dca5 Mon Sep 17 00:00:00 2001 From: Serraniel Date: Sat, 29 Apr 2017 10:43:43 +0200 Subject: [PATCH] Fixed some project things Fixed error which kept downloading files over and over --- Discord Media Loader.Application/Classes/Job.cs | 2 +- Discord Media Loader.sln | 4 ++-- Discord Media Loader/App.config | 2 +- Discord Media Loader/Discord Media Loader.csproj | 2 +- Discord Media Loader/Properties/Settings.Designer.cs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Discord Media Loader.Application/Classes/Job.cs b/Discord Media Loader.Application/Classes/Job.cs index 4b9de86..4c83cae 100644 --- a/Discord Media Loader.Application/Classes/Job.cs +++ b/Discord Media Loader.Application/Classes/Job.cs @@ -102,7 +102,7 @@ namespace DML.Application.Classes lastId = m.Id; } - if (SweetUtils.DateTimeToUnixTimeStamp(m.Timestamp) < StopTimestamp) + if (SweetUtils.DateTimeToUnixTimeStamp(m.Timestamp) <= StopTimestamp) { Debug("Found a message with a known timestamp...Stopping scan."); finished = true; diff --git a/Discord Media Loader.sln b/Discord Media Loader.sln index e3a40f9..c56a43c 100644 --- a/Discord Media Loader.sln +++ b/Discord Media Loader.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio 15 +VisualStudioVersion = 15.0.26403.7 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Discord Media Loader", "Discord Media Loader\Discord Media Loader.csproj", "{EDC92554-DBC1-4F9C-9317-379A8BF441E8}" EndProject diff --git a/Discord Media Loader/App.config b/Discord Media Loader/App.config index 8d23437..bae5d6d 100644 --- a/Discord Media Loader/App.config +++ b/Discord Media Loader/App.config @@ -1,6 +1,6 @@ - + diff --git a/Discord Media Loader/Discord Media Loader.csproj b/Discord Media Loader/Discord Media Loader.csproj index 7f71c90..79fc96c 100644 --- a/Discord Media Loader/Discord Media Loader.csproj +++ b/Discord Media Loader/Discord Media Loader.csproj @@ -9,7 +9,7 @@ Properties Discord_Media_Loader Discord Media Loader - v4.6.2 + v4.6.1 512 true diff --git a/Discord Media Loader/Properties/Settings.Designer.cs b/Discord Media Loader/Properties/Settings.Designer.cs index 5160193..8dd3b2e 100644 --- a/Discord Media Loader/Properties/Settings.Designer.cs +++ b/Discord Media Loader/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace Discord_Media_Loader.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));