diff --git a/Manga Library Manager.csproj b/Manga Library Manager.csproj index 30c6869..84eb760 100644 --- a/Manga Library Manager.csproj +++ b/Manga Library Manager.csproj @@ -9,7 +9,7 @@ enable ytpfp.ico en - 2.0.0 + 2.0.2 https://github.com/ErisLoona/Manga-Library-Manager Eris Loona, pseudonym A manga downloader and offline library manager. diff --git a/Manga Library Manager.csproj.user b/Manga Library Manager.csproj.user index d348ac5..8491573 100644 --- a/Manga Library Manager.csproj.user +++ b/Manga Library Manager.csproj.user @@ -3,30 +3,4 @@ <_LastSelectedProfileId>C:\Users\rares\Documents\Misc Programs\Programming\Manga Library Manager\Properties\PublishProfiles\FolderProfile.pubxml - - - Form - - - Form - - - Form - - - Form - - - Form - - - Form - - - Form - - - Form - - \ No newline at end of file diff --git a/Properties/PublishProfiles/FolderProfile.pubxml.user b/Properties/PublishProfiles/FolderProfile.pubxml.user index 0175b77..9966af9 100644 --- a/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. --> - True|2024-06-06T11:48:19.4662781Z||;True|2024-06-06T12:38:52.6425012+02:00||;True|2024-06-06T12:31:36.7948282+02:00||;True|2024-06-06T10:35:12.1369025+02:00||;True|2024-06-06T10:34:54.5189019+02:00||;True|2024-06-05T23:32:06.1114024+02:00||;True|2024-05-27T18:47:08.3065316+02:00||;True|2024-05-27T18:43:26.7575713+02:00||;True|2024-05-27T16:16:44.1211325+02:00||;True|2024-05-27T16:16:29.4947310+02:00||;True|2024-05-27T11:07:49.8981157+02:00||;True|2024-05-27T11:07:01.1240671+02:00||;True|2024-05-27T11:06:53.1694382+02:00||;True|2024-05-27T09:10:47.9526993+02:00||;True|2024-05-27T09:10:02.8503554+02:00||;True|2024-05-27T09:09:35.2317189+02:00||;True|2024-05-27T08:58:09.8645241+02:00||;True|2024-05-27T08:52:52.8051920+02:00||;True|2024-05-27T08:45:19.6197985+02:00||;True|2024-05-24T11:02:27.2916636+02:00||;True|2024-05-24T08:59:01.6326756+02:00||;True|2024-05-23T09:17:13.9644300+02:00||;True|2024-05-23T09:05:46.2467509+02:00||;True|2024-05-22T22:13:45.9526537+02:00||;True|2024-05-22T22:09:03.4000755+02:00||;True|2024-05-22T22:08:00.0350517+02:00||;True|2024-05-22T21:44:48.4725626+02:00||;True|2024-05-22T21:32:35.3627900+02:00||;True|2024-05-22T19:33:34.6467061+02:00||;True|2024-05-19T19:19:28.1467287+02:00||;True|2024-05-19T19:17:09.7006733+02:00||;True|2024-05-19T19:14:06.6668981+02:00||;True|2024-05-19T14:42:07.1301968+02:00||;True|2024-05-19T14:38:02.4943907+02:00||;True|2024-05-19T09:20:51.2871097+02:00||;True|2024-05-19T09:18:16.6124371+02:00||;True|2024-05-19T09:15:08.6048404+02:00||;True|2024-05-18T22:34:28.8521894+02:00||;True|2024-05-18T22:22:14.4673452+02:00||;True|2024-05-18T21:56:58.6143811+02:00||;True|2024-05-18T07:41:43.4161277+02:00||;True|2024-05-17T11:48:43.3293227+02:00||;True|2024-05-17T09:31:58.9329403+02:00||;True|2024-05-17T09:25:57.4957904+02:00||;True|2024-05-16T19:52:10.0997229+02:00||;True|2024-05-16T18:17:01.7850021+02:00||;True|2024-05-15T09:33:00.6957135+02:00||;True|2024-05-15T08:32:31.7735956+02:00||;True|2024-05-13T17:25:21.1454345+02:00||;True|2024-05-13T17:15:09.7285346+02:00||;True|2024-05-13T16:52:20.9054581+02:00||;True|2024-05-13T16:51:27.0891569+02:00||;True|2024-05-13T16:50:34.5522468+02:00||;True|2024-05-13T16:49:22.6946988+02:00||; + True|2024-06-06T13:40:12.6240419Z||;True|2024-06-06T13:48:19.4662781+02:00||;True|2024-06-06T12:38:52.6425012+02:00||;True|2024-06-06T12:31:36.7948282+02:00||;True|2024-06-06T10:35:12.1369025+02:00||;True|2024-06-06T10:34:54.5189019+02:00||;True|2024-06-05T23:32:06.1114024+02:00||;True|2024-05-27T18:47:08.3065316+02:00||;True|2024-05-27T18:43:26.7575713+02:00||;True|2024-05-27T16:16:44.1211325+02:00||;True|2024-05-27T16:16:29.4947310+02:00||;True|2024-05-27T11:07:49.8981157+02:00||;True|2024-05-27T11:07:01.1240671+02:00||;True|2024-05-27T11:06:53.1694382+02:00||;True|2024-05-27T09:10:47.9526993+02:00||;True|2024-05-27T09:10:02.8503554+02:00||;True|2024-05-27T09:09:35.2317189+02:00||;True|2024-05-27T08:58:09.8645241+02:00||;True|2024-05-27T08:52:52.8051920+02:00||;True|2024-05-27T08:45:19.6197985+02:00||;True|2024-05-24T11:02:27.2916636+02:00||;True|2024-05-24T08:59:01.6326756+02:00||;True|2024-05-23T09:17:13.9644300+02:00||;True|2024-05-23T09:05:46.2467509+02:00||;True|2024-05-22T22:13:45.9526537+02:00||;True|2024-05-22T22:09:03.4000755+02:00||;True|2024-05-22T22:08:00.0350517+02:00||;True|2024-05-22T21:44:48.4725626+02:00||;True|2024-05-22T21:32:35.3627900+02:00||;True|2024-05-22T19:33:34.6467061+02:00||;True|2024-05-19T19:19:28.1467287+02:00||;True|2024-05-19T19:17:09.7006733+02:00||;True|2024-05-19T19:14:06.6668981+02:00||;True|2024-05-19T14:42:07.1301968+02:00||;True|2024-05-19T14:38:02.4943907+02:00||;True|2024-05-19T09:20:51.2871097+02:00||;True|2024-05-19T09:18:16.6124371+02:00||;True|2024-05-19T09:15:08.6048404+02:00||;True|2024-05-18T22:34:28.8521894+02:00||;True|2024-05-18T22:22:14.4673452+02:00||;True|2024-05-18T21:56:58.6143811+02:00||;True|2024-05-18T07:41:43.4161277+02:00||;True|2024-05-17T11:48:43.3293227+02:00||;True|2024-05-17T09:31:58.9329403+02:00||;True|2024-05-17T09:25:57.4957904+02:00||;True|2024-05-16T19:52:10.0997229+02:00||;True|2024-05-16T18:17:01.7850021+02:00||;True|2024-05-15T09:33:00.6957135+02:00||;True|2024-05-15T08:32:31.7735956+02:00||;True|2024-05-13T17:25:21.1454345+02:00||;True|2024-05-13T17:15:09.7285346+02:00||;True|2024-05-13T16:52:20.9054581+02:00||;True|2024-05-13T16:51:27.0891569+02:00||;True|2024-05-13T16:50:34.5522468+02:00||;True|2024-05-13T16:49:22.6946988+02:00||; \ No newline at end of file diff --git a/allOnlineChapters.cs b/allOnlineChapters.cs index f00e828..68eee9b 100644 --- a/allOnlineChapters.cs +++ b/allOnlineChapters.cs @@ -48,30 +48,15 @@ private void thread_DoWork(object sender, DoWorkEventArgs e) { Dictionary booksCopy = e.Argument as Dictionary; Dictionary chapters = new Dictionary(); - Stopwatch sw = new Stopwatch(); - TimeSpan span; using (HttpClient client = new HttpClient()) { client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); client.DefaultRequestHeaders.UserAgent.ParseAdd("Manga Library Manager for Windows by (github) ErisLoona"); - int counter = 0; - sw.Start(); foreach (KeyValuePair book in booksCopy) { - if (counter == 5) - { - sw.Stop(); - span = sw.Elapsed; - if (span.Milliseconds < 1000) - Thread.Sleep(1000 - span.Milliseconds); - counter = 0; - sw.Reset(); - sw.Start(); - } if (((BackgroundWorker)sender).CancellationPending == true) { e.Cancel = true; - sw.Reset(); break; } List extraPages = new List(); @@ -92,7 +77,6 @@ private void thread_DoWork(object sender, DoWorkEventArgs e) extraPages.Add(task.Result); calledAPI(); passes--; - counter++; } } List tempChapters = new List(); @@ -124,7 +108,6 @@ private void thread_DoWork(object sender, DoWorkEventArgs e) chapters[book.Key] = Int32.MinValue; } ((BackgroundWorker)sender).ReportProgress(1); - counter++; } } e.Result = chapters; diff --git a/tagsFilter.cs b/tagsFilter.cs index 27aed3f..a178001 100644 --- a/tagsFilter.cs +++ b/tagsFilter.cs @@ -74,7 +74,7 @@ private void tagsFilter_Load(object sender, EventArgs e) occurancesLabel.Text += "Suggestive: " + Convert.ToString(ratingCount[1]) + "\r\n"; occurancesLabel.Text += "Erotica: " + Convert.ToString(ratingCount[2]) + "\r\n"; occurancesLabel.Text += "Pornographic: " + Convert.ToString(ratingCount[3]) + "\r\n\r\n"; - occurancesLabel.Text += "No. of mangas by label:\r\n"; + occurancesLabel.Text += "Nr. of mangas by tag:\r\n"; foreach (KeyValuePair usage in mainMenu.tagsUsage.OrderByDescending(key => key.Value)) occurancesLabel.Text += usage.Key + ": " + Convert.ToString(usage.Value) + "\r\n"; occurancesLabel.Select(0, 7);