1
0
mirror of https://github.com/C9Glax/tranga.git synced 2025-04-19 06:43:18 +02:00

Use current time as internalId for Manga instead of BASE64 string of title


Fix 
This commit is contained in:
Glax 2024-09-07 20:33:03 +02:00
parent 2be29e4019
commit 15f3e2b8ec

@ -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;