diff --git a/Tranga/Connector.cs b/Tranga/Connector.cs index 2aa19d5..b620224 100644 --- a/Tranga/Connector.cs +++ b/Tranga/Connector.cs @@ -75,7 +75,7 @@ public abstract class Connector new XElement("LanguageISO", publication.originalLanguage), new XElement("Title", chapter.name), new XElement("Volume", chapter.volumeNumber), - new XElement("Number", chapter.sortNumber) + new XElement("Number", chapter.chapterNumber) //TODO check if this is correct at some point ); return comicInfo.ToString(); } diff --git a/Tranga/TaskManager.cs b/Tranga/TaskManager.cs index 3f8a618..a58fba0 100644 --- a/Tranga/TaskManager.cs +++ b/Tranga/TaskManager.cs @@ -49,7 +49,7 @@ public class TaskManager foreach (TrangaTask task in _allTasks) { if(task.ShouldExecute()) - TaskExecutor.Execute(this._connectors, task, this._chapterCollection); //Might crash here, when adding new Task while another Task is running. Check later + TaskExecutor.Execute(this._connectors, task, this._chapterCollection); //TODO Might crash here, when adding new Task while another Task is running. Check later } Thread.Sleep(1000); } diff --git a/Tranga/TrangaTask.cs b/Tranga/TrangaTask.cs index 2951233..fc33466 100644 --- a/Tranga/TrangaTask.cs +++ b/Tranga/TrangaTask.cs @@ -7,7 +7,7 @@ namespace Tranga; /// public class TrangaTask { - // ReSharper disable once CommentTypo ...tell me why! + // ReSharper disable once CommentTypo ...Tell me why! // ReSharper disable once MemberCanBePrivate.Global I want it thaaat way public TimeSpan reoccurrence { get; } public DateTime lastExecuted { get; set; } @@ -29,9 +29,6 @@ public class TrangaTask this.language = language; } - /// - /// - /// /// True if elapsed time since last execution is greater than set interval public bool ShouldExecute() {