From 15f3e2b8ec3267af20d43ff31f00e810deda684d Mon Sep 17 00:00:00 2001 From: Glax Date: Sat, 7 Sep 2024 20:33:03 +0200 Subject: [PATCH] Use current time as internalId for Manga instead of BASE64 string of title #232 Fix #237 --- Tranga/Manga.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/Manga.cs b/Tranga/Manga.cs index 5ebad19..6b48c5d 100644 --- a/Tranga/Manga.cs +++ b/Tranga/Manga.cs @@ -67,7 +67,7 @@ public struct Manga while (this.folderName.EndsWith('.')) this.folderName = this.folderName.Substring(0, this.folderName.Length - 1); string onlyLowerLetters = string.Concat(this.sortName.ToLower().Where(Char.IsLetter)); - this.internalId = Convert.ToBase64String(Encoding.ASCII.GetBytes($"{onlyLowerLetters}{this.year}")); + this.internalId = DateTime.Now.Ticks.ToString(); this.ignoreChaptersBelow = ignoreChaptersBelow ?? 0f; this.latestChapterDownloaded = 0; this.latestChapterAvailable = 0;