diff --git a/.vs/Manga Library Manager/DesignTimeBuild/.dtbcache.v2 b/.vs/Manga Library Manager/DesignTimeBuild/.dtbcache.v2
index a806606..fec2961 100644
Binary files a/.vs/Manga Library Manager/DesignTimeBuild/.dtbcache.v2 and b/.vs/Manga Library Manager/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/.vs/Manga Library Manager/FileContentIndex/145167f1-bbe3-401f-be85-cc3e1d689641.vsidx b/.vs/Manga Library Manager/FileContentIndex/145167f1-bbe3-401f-be85-cc3e1d689641.vsidx
new file mode 100644
index 0000000..d085c9f
Binary files /dev/null and b/.vs/Manga Library Manager/FileContentIndex/145167f1-bbe3-401f-be85-cc3e1d689641.vsidx differ
diff --git a/.vs/Manga Library Manager/FileContentIndex/e0fe1d81-3dae-469f-8043-3fb089c8b43f.vsidx b/.vs/Manga Library Manager/FileContentIndex/373af9a0-0d2f-47a1-a4f2-4e2f996f8eac.vsidx
similarity index 99%
rename from .vs/Manga Library Manager/FileContentIndex/e0fe1d81-3dae-469f-8043-3fb089c8b43f.vsidx
rename to .vs/Manga Library Manager/FileContentIndex/373af9a0-0d2f-47a1-a4f2-4e2f996f8eac.vsidx
index ff1c97c..b58badc 100644
Binary files a/.vs/Manga Library Manager/FileContentIndex/e0fe1d81-3dae-469f-8043-3fb089c8b43f.vsidx and b/.vs/Manga Library Manager/FileContentIndex/373af9a0-0d2f-47a1-a4f2-4e2f996f8eac.vsidx differ
diff --git a/.vs/Manga Library Manager/FileContentIndex/3e171f74-a437-4022-a5f5-527d167e7a24.vsidx b/.vs/Manga Library Manager/FileContentIndex/3e171f74-a437-4022-a5f5-527d167e7a24.vsidx
deleted file mode 100644
index f2863d9..0000000
Binary files a/.vs/Manga Library Manager/FileContentIndex/3e171f74-a437-4022-a5f5-527d167e7a24.vsidx and /dev/null differ
diff --git a/.vs/Manga Library Manager/FileContentIndex/c4328821-8583-4c26-aa39-25108cc680da.vsidx b/.vs/Manga Library Manager/FileContentIndex/54d7e43b-9e32-485f-959d-ebc7f0694a31.vsidx
similarity index 53%
rename from .vs/Manga Library Manager/FileContentIndex/c4328821-8583-4c26-aa39-25108cc680da.vsidx
rename to .vs/Manga Library Manager/FileContentIndex/54d7e43b-9e32-485f-959d-ebc7f0694a31.vsidx
index 35069c5..d3a8f89 100644
Binary files a/.vs/Manga Library Manager/FileContentIndex/c4328821-8583-4c26-aa39-25108cc680da.vsidx and b/.vs/Manga Library Manager/FileContentIndex/54d7e43b-9e32-485f-959d-ebc7f0694a31.vsidx differ
diff --git a/.vs/Manga Library Manager/v17/.futdcache.v2 b/.vs/Manga Library Manager/v17/.futdcache.v2
index 0a2ca35..f14f073 100644
Binary files a/.vs/Manga Library Manager/v17/.futdcache.v2 and b/.vs/Manga Library Manager/v17/.futdcache.v2 differ
diff --git a/.vs/Manga Library Manager/v17/.suo b/.vs/Manga Library Manager/v17/.suo
index abc04b8..a11503b 100644
Binary files a/.vs/Manga Library Manager/v17/.suo and b/.vs/Manga Library Manager/v17/.suo differ
diff --git a/.vs/Manga Library Manager/v17/DocumentLayout.json b/.vs/Manga Library Manager/v17/DocumentLayout.json
index 4a2ab66..e4e859d 100644
--- a/.vs/Manga Library Manager/v17/DocumentLayout.json
+++ b/.vs/Manga Library Manager/v17/DocumentLayout.json
@@ -3,7 +3,7 @@
"WorkspaceRootPath": "C:\\Users\\rares\\Documents\\Misc Programs\\Programming\\Manga Library Manager\\",
"Documents": [
{
- "AbsoluteMoniker": "D:0:0:{8F5E112A-6EEC-46F1-A5F0-845D93AE1BCE}|Manga Library Manager.csproj|C:\\Users\\rares\\Documents\\Misc Programs\\Programming\\Manga Library Manager\\mainmenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "AbsoluteMoniker": "D:0:0:{8F5E112A-6EEC-46F1-A5F0-845D93AE1BCE}|Manga Library Manager.csproj|c:\\users\\rares\\documents\\misc programs\\programming\\manga library manager\\mainmenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F5E112A-6EEC-46F1-A5F0-845D93AE1BCE}|Manga Library Manager.csproj|solutionrelative:mainmenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
@@ -28,7 +28,7 @@
"RelativeDocumentMoniker": "mainMenu.cs",
"ToolTip": "C:\\Users\\rares\\Documents\\Misc Programs\\Programming\\Manga Library Manager\\mainMenu.cs",
"RelativeToolTip": "mainMenu.cs",
- "ViewState": "AQIAADgBAAAAAAAAAADgvwMCAAAeAAAA",
+ "ViewState": "AQIAAEMAAAAAAAAAAAAnwFcAAABCAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-05-12T16:16:26.664Z",
"EditorCaption": ""
diff --git a/.vs/ProjectEvaluation/manga library manager.metadata.v7.bin b/.vs/ProjectEvaluation/manga library manager.metadata.v7.bin
index 7c53d90..b208195 100644
Binary files a/.vs/ProjectEvaluation/manga library manager.metadata.v7.bin and b/.vs/ProjectEvaluation/manga library manager.metadata.v7.bin differ
diff --git a/.vs/ProjectEvaluation/manga library manager.projects.v7.bin b/.vs/ProjectEvaluation/manga library manager.projects.v7.bin
index e10313c..6fda3ec 100644
Binary files a/.vs/ProjectEvaluation/manga library manager.projects.v7.bin and b/.vs/ProjectEvaluation/manga library manager.projects.v7.bin differ
diff --git a/Properties/PublishProfiles/FolderProfile.pubxml.user b/Properties/PublishProfiles/FolderProfile.pubxml.user
index 86344cb..baef5d3 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-05-18T20:34:28.8521894Z;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-05-19T07:20:51.2871097Z;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/README.md b/README.md
index 5082f24..2f76e0b 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
# Manga Library Manager
This is a manager for personal use that allows me to organize and keep track of ongoing releases of Mangas. It checks the `content.opf` file inside a `.epub` archive to get the title and last chapter listed in the description of the "book".
This is unique to how I like to organize my mangas, downloading chapters individually leads to many small files that are not coherent, so using Calibre I merge them into one file with the description listing all the chapters formatted as, for example, `Ch.001`. The program executable is meant to stay on the removable drive where I store my mangas, allowing me to scan the drive for new additions and update old entries in terms of what chapter they got to compared to what I obtain from the MangaDex API.
-[Download .exe](https://github.com/ErisLoona/Manga-Library-Manager/releases/tag/v1.3)
\ No newline at end of file
+[Download .exe](https://github.com/ErisLoona/Manga-Library-Manager/releases/tag/v1.4)
\ No newline at end of file
diff --git a/editTags.Designer.cs b/editTags.Designer.cs
index 687b6f2..1112b38 100644
--- a/editTags.Designer.cs
+++ b/editTags.Designer.cs
@@ -28,6 +28,7 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
+ components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(editTags));
tableLayoutPanel1 = new TableLayoutPanel();
doneButton = new Button();
@@ -36,7 +37,9 @@ private void InitializeComponent()
tableLayoutPanel3 = new TableLayoutPanel();
newTagButton = new Button();
tagTextBox = new TextBox();
+ resetButton = new Button();
tagsList = new CheckedListBox();
+ toolTip = new ToolTip(components);
tableLayoutPanel1.SuspendLayout();
tableLayoutPanel2.SuspendLayout();
tableLayoutPanel3.SuspendLayout();
@@ -121,6 +124,7 @@ private void InitializeComponent()
tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
tableLayoutPanel3.Controls.Add(newTagButton, 2, 0);
tableLayoutPanel3.Controls.Add(tagTextBox, 1, 0);
+ tableLayoutPanel3.Controls.Add(resetButton, 3, 0);
tableLayoutPanel3.Dock = DockStyle.Fill;
tableLayoutPanel3.Location = new Point(0, 32);
tableLayoutPanel3.Margin = new Padding(0);
@@ -164,6 +168,27 @@ private void InitializeComponent()
tagTextBox.KeyDown += tagTextBox_KeyDown;
tagTextBox.Leave += tagTextBox_Leave;
//
+ // resetButton
+ //
+ resetButton.BackColor = Color.FromArgb(248, 200, 220);
+ resetButton.BackgroundImage = (Image)resources.GetObject("resetButton.BackgroundImage");
+ resetButton.BackgroundImageLayout = ImageLayout.Zoom;
+ resetButton.Dock = DockStyle.Fill;
+ resetButton.FlatAppearance.BorderSize = 0;
+ resetButton.FlatAppearance.MouseDownBackColor = Color.FromArgb(188, 152, 167);
+ resetButton.FlatAppearance.MouseOverBackColor = Color.FromArgb(255, 229, 240);
+ resetButton.FlatStyle = FlatStyle.Flat;
+ resetButton.Font = new Font("Calibri", 11.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
+ resetButton.ForeColor = Color.Black;
+ resetButton.Location = new Point(306, 4);
+ resetButton.Margin = new Padding(4);
+ resetButton.Name = "resetButton";
+ resetButton.Size = new Size(54, 24);
+ resetButton.TabIndex = 5;
+ toolTip.SetToolTip(resetButton, "Reset tags to online original.");
+ resetButton.UseVisualStyleBackColor = false;
+ resetButton.Click += resetButton_Click;
+ //
// tagsList
//
tagsList.BackColor = Color.DimGray;
@@ -216,5 +241,7 @@ private void InitializeComponent()
private Button newTagButton;
private CheckedListBox tagsList;
private Button doneButton;
+ private Button resetButton;
+ private ToolTip toolTip;
}
}
\ No newline at end of file
diff --git a/editTags.cs b/editTags.cs
index 2b4ae73..f26a8c9 100644
--- a/editTags.cs
+++ b/editTags.cs
@@ -96,6 +96,7 @@ private void newTagButton_Click(object sender, EventArgs e)
tagsList.ItemCheck -= tagsList_ItemCheck;
tagsList.Items.Add(newTag, true);
tagsList.ItemCheck += tagsList_ItemCheck;
+ tagSearchAutocompleteStrings.Add(newTag);
mainMenu.uniqueTags.Add(newTag);
mainMenu.tagsUsage[newTag] = 1;
mainMenu.currentlySelectedBook.Tags.Add(newTag);
@@ -128,5 +129,13 @@ private void tagsList_MouseDown(object sender, MouseEventArgs e)
{
tagsList.SelectedIndex = tagsList.IndexFromPoint(e.Location);
}
+
+ private void resetButton_Click(object sender, EventArgs e)
+ {
+ if (MessageBox.Show("This will resync the tags from the API.\nAre you sure?", "Resync tags", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
+ return;
+ mainMenu.resetTags = true;
+ this.Close();
+ }
}
}
diff --git a/editTags.resx b/editTags.resx
index ca5f1dd..605cae1 100644
--- a/editTags.resx
+++ b/editTags.resx
@@ -169,6 +169,178 @@
AAAAAAAAAAB2yDnn/B9uieEHeHALXgAAAABJRU5ErkJgg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ONUrfB9PeyVr9AMsiFpT4LHp86k7
+ OWi+fTk9Kl0gAbDALpl8GJh39bt9YrJELwCt+jCwT/pkshnRdKvf3YfTw5Od+ABYlnOlWl/ggPTL1J1o
+ NE6/Tm9J9031uwOAVds6XS/9Q/pccnVg8zsu/VeqS/u7pfodAcC6Oke6XXpO+nQ6PnUnKa1d9aGrHuCr
+ fSDqZ79jAoBNVSejW6V9U30rtebA6vtVek+qtffr/Xyv6gEwvK3S5dI90/NSvW9ei810JzptscXhqX5G
+ L073SZdNFuQBYBbqHvUV093S01OtM/+VdGzqTopzrC7jfzO9MT0h7ZkulgBg4dQHg9pXvk6G9QpifQt+
+ d/pqOiJ1J9KRqysd9cHmbem56cHp1qn+G2vnRgBgCc6erpTqwbe/TU9O9SDc69J7Uz2EeFBarw8L9bR9
+ vWL3vVQfSj6U6t/9z+nR6d6pnn+oP+N5EgCwweq++TlT7WRXyx1fKtUWyddK9SDdGVWv0tVfWyfy+nvr
+ n+MbOwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAsDRbbPH/AH6kZznXAcjGAAAAAElFTkSuQmCC
+
+
+
+ 17, 17
+
AAABAAEAAAAAAAEAIAC+3wEAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgCAAAA0xA/MQAAAAFv
diff --git a/mainMenu.Designer.cs b/mainMenu.Designer.cs
index c2ceaab..8e71b11 100644
--- a/mainMenu.Designer.cs
+++ b/mainMenu.Designer.cs
@@ -222,7 +222,6 @@ private void InitializeComponent()
mangaList.Font = new Font("Calibri", 15.75F, FontStyle.Regular, GraphicsUnit.Point, 0);
mangaList.ForeColor = Color.White;
mangaList.FormattingEnabled = true;
- mangaList.HorizontalScrollbar = true;
mangaList.ItemHeight = 26;
mangaList.Location = new Point(5, 79);
mangaList.Margin = new Padding(5, 8, 5, 1);
@@ -406,7 +405,7 @@ private void InitializeComponent()
resetButton.Name = "resetButton";
resetButton.Size = new Size(35, 64);
resetButton.TabIndex = 3;
- toolTip.SetToolTip(resetButton, "Reset Last Chapter from file.");
+ toolTip.SetToolTip(resetButton, "Reset last chapter from file");
resetButton.UseVisualStyleBackColor = false;
resetButton.Click += resetButton_Click;
//
diff --git a/mainMenu.cs b/mainMenu.cs
index c621ef9..276efe9 100644
--- a/mainMenu.cs
+++ b/mainMenu.cs
@@ -40,7 +40,7 @@ public override string ToString()
public static List uniqueTags = new List(), includedTags = new List(), excludedTags = new List(), includedRatings = new List() { "Safe", "Suggestive", "Erotica", "Pornographic" };
public static Dictionary tagsUsage = new Dictionary();
public static eBook currentlySelectedBook;
- public static bool inclusionMode = true, exclusionMode = false; //true = and, false = or
+ public static bool inclusionMode = true, exclusionMode = false, resetTags = false; //true = and, false = or
public mainMenu()
{
@@ -188,9 +188,7 @@ private void mangaList_SelectedIndexChanged(object sender, EventArgs e)
ongoingCheckbox.Checked = ((eBook)mangaList.SelectedItem).Ongoing;
lastChapterNumber.Value = ((eBook)mangaList.SelectedItem).LastChapter;
linkTextBox.Text = ((eBook)mangaList.SelectedItem).Link;
- if (((eBook)mangaList.SelectedItem).CotentRating == String.Empty)
- ratingLabel.Text = "Rating: Unknown";
- else
+ if (((eBook)mangaList.SelectedItem).CotentRating != String.Empty)
ratingLabel.Text = "Rating: " + ((eBook)mangaList.SelectedItem).CotentRating;
if (((eBook)mangaList.SelectedItem).Tags.Count > 0)
tagsTextBox.Text = "Tags: " + String.Join(", ", ((eBook)mangaList.SelectedItem).Tags);
@@ -528,6 +526,12 @@ private void editTagsButton_Click(object sender, EventArgs e)
editTags tagsForm = new editTags();
tagsForm.ShowDialog();
tagsForm.Dispose();
+ if (resetTags == true)
+ {
+ resetTags = false;
+ resyncTags();
+ return;
+ }
ratingLabel.Text = "Rating: " + ((eBook)mangaList.SelectedItem).CotentRating;
if (((eBook)mangaList.SelectedItem).Tags.Count > 0)
tagsTextBox.Text = "Tags: " + String.Join(", ", ((eBook)mangaList.SelectedItem).Tags);
@@ -535,6 +539,87 @@ private void editTagsButton_Click(object sender, EventArgs e)
tagsTextBox.Text = String.Empty;
}
+ private void resyncTags()
+ {
+ try
+ {
+ if (((eBook)mangaList.SelectedItem).Link == String.Empty)
+ throw new Exception("no link");
+ if (((eBook)mangaList.SelectedItem).Link.Split('/')[2] != "mangadex.org")
+ throw new Exception("domain");
+ if (((eBook)mangaList.SelectedItem).Link.Split('/')[3] != "title")
+ throw new Exception("title");
+ if (((eBook)mangaList.SelectedItem).Link.Split('/')[4] == null || Uri.TryCreate(((eBook)mangaList.SelectedItem).Link, UriKind.Absolute, out Uri uriResult) == false || (uriResult.Scheme != Uri.UriSchemeHttp && uriResult.Scheme != Uri.UriSchemeHttps))
+ throw new Exception();
+ }
+ catch (Exception ex)
+ {
+ if (ex.Message == "no link")
+ MessageBox.Show("There is no link set!\nPlease set a link.", "No link set", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ else if (ex.Message == "domain")
+ MessageBox.Show("The link is not from MangaDex!\nPlease only use MangaDex links.", "Bad domain", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ else if (ex.Message == "title")
+ MessageBox.Show("The link is not a manga!\nPlease link to the manga.", "Bad type", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ else
+ MessageBox.Show("The link is incorrect or is not a link!", "Bad link", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ return;
+ }
+ ratingLabel.Text = "Rating: Unknown";
+ tagsTextBox.Text = String.Empty;
+ List tempTags = ((eBook)mangaList.SelectedItem).Tags.ToList();
+ foreach (string tag in tempTags)
+ {
+ ((eBook)mangaList.SelectedItem).Tags.Remove(tag);
+ tagsUsage[tag]--;
+ if (tagsUsage[tag] == 0)
+ {
+ uniqueTags.Remove(tag);
+ tagsUsage.Remove(tag);
+ }
+ }
+ string mangaID = ((eBook)mangaList.SelectedItem).Link.Split('/')[4], tempRating;
+ JObject apiResult;
+ tempTags.Clear();
+ 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");
+ try
+ {
+ Task task = client.GetStringAsync(new Uri("https://api.mangadex.org/manga/" + mangaID.SetQueryParam("contentRating[]", new[] { "safe", "suggestive", "erotica", "pornographic" })));
+ apiResult = JObject.Parse(task.Result);
+ foreach (JToken tag in apiResult.SelectToken("data").SelectToken("attributes").SelectToken("tags"))
+ {
+ string groupTemp = tag.SelectToken("attributes").SelectToken("group").Value();
+ if (groupTemp == "genre" || groupTemp == "theme")
+ tempTags.Add(tag.SelectToken("attributes").SelectToken("name").SelectToken("en").Value());
+ }
+ tempRating = apiResult.SelectToken("data").SelectToken("attributes").SelectToken("contentRating").Value();
+ tempRating = tempRating.Substring(0, 1).ToUpper() + tempRating.Substring(1);
+ ((eBook)mangaList.SelectedItem).CotentRating = tempRating;
+ ongoingCheckbox.Checked = apiResult.SelectToken("data").SelectToken("attributes").SelectToken("status").Value() == "ongoing" || apiResult.SelectToken("data").SelectToken("attributes").SelectToken("status").Value() == "hiatus";
+ }
+ catch
+ {
+ MessageBox.Show("Could not retrieve tag list!", "API error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ foreach (string tag in tempTags)
+ {
+ ((eBook)mangaList.SelectedItem).Tags.Add(tag);
+ if (tagsUsage.ContainsKey(tag))
+ tagsUsage[tag]++;
+ else
+ {
+ tagsUsage[tag] = 1;
+ uniqueTags.Add(tag);
+ }
+ }
+ ratingLabel.Text = "Rating: " + ((eBook)mangaList.SelectedItem).CotentRating;
+ if (((eBook)mangaList.SelectedItem).Tags.Count > 0)
+ tagsTextBox.Text = "Tags: " + String.Join(", ", ((eBook)mangaList.SelectedItem).Tags);
+ }
+
private void searchTextBox_Leave(object sender, EventArgs e)
{
if (searchTextBox.Text == String.Empty)
@@ -692,30 +777,13 @@ private void filterButton_Click(object sender, EventArgs e)
{
filterButton.Font = new Font(filterButton.Font, FontStyle.Bold | FontStyle.Italic);
filterButton.Text = "Showing Ongoing";
- mangaList.BeginUpdate();
- mangaList.Items.Clear();
- searchTextBoxAutomcompleteStrings.Clear();
- foreach (eBook book in books)
- if (book.Ongoing == true)
- {
- mangaList.Items.Add(book);
- searchTextBoxAutomcompleteStrings.Add(book.Title);
- }
- mangaList.EndUpdate();
+ filterByTags();
}
else
{
filterButton.Font = new Font(filterButton.Font, FontStyle.Bold);
filterButton.Text = "Showing All";
- mangaList.BeginUpdate();
- mangaList.Items.Clear();
- searchTextBoxAutomcompleteStrings.Clear();
- foreach (eBook book in books)
- {
- mangaList.Items.Add(book);
- searchTextBoxAutomcompleteStrings.Add(book.Title);
- }
- mangaList.EndUpdate();
+ filterByTags();
}
}
@@ -738,6 +806,11 @@ private void tagsButtons_Click(object sender, EventArgs e)
tagsFilter filterForm = new tagsFilter();
filterForm.ShowDialog();
filterForm.Dispose();
+ filterByTags();
+ }
+
+ private void filterByTags()
+ {
if (includedRatings.Count == 4 && includedTags.Count == 0 && excludedTags.Count == 0)
{
tagsButtons.Font = new Font(tagsButtons.Font, FontStyle.Bold);
@@ -764,7 +837,7 @@ private void tagsButtons_Click(object sender, EventArgs e)
searchTextBoxAutomcompleteStrings.Clear();
foreach (eBook book in books)
{
- if (includedRatings.Contains(book.CotentRating) == false && book.CotentRating != String.Empty)
+ if ((includedRatings.Contains(book.CotentRating) == false && book.CotentRating != String.Empty) || (filterToggled == true && book.Ongoing == false))
continue;
if (inclusionMode == true)
{
@@ -790,7 +863,7 @@ private void tagsButtons_Click(object sender, EventArgs e)
}
else
if (book.Tags.Intersect(excludedTags).Any() == true)
- continue;
+ continue;
}
else
{
@@ -810,7 +883,7 @@ private void tagsButtons_Click(object sender, EventArgs e)
}
else
if (book.Tags.Intersect(excludedTags).Any() == true)
- continue;
+ continue;
}
mangaList.Items.Add(book);
searchTextBoxAutomcompleteStrings.Add(book.Title);
diff --git a/obj/Debug/net8.0-windows/Manga Library Manager.AssemblyInfo.cs b/obj/Debug/net8.0-windows/Manga Library Manager.AssemblyInfo.cs
index ad5927a..31835e9 100644
--- a/obj/Debug/net8.0-windows/Manga Library Manager.AssemblyInfo.cs
+++ b/obj/Debug/net8.0-windows/Manga Library Manager.AssemblyInfo.cs
@@ -14,7 +14,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("Manga Library Manager")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ecc201606868572325016ae8fff00efa5f4af19f")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7d7f9164e33fbce2be72223ad8e2b122640454ea")]
[assembly: System.Reflection.AssemblyProductAttribute("Manga Library Manager")]
[assembly: System.Reflection.AssemblyTitleAttribute("Manga Library Manager")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/obj/Debug/net8.0-windows/Manga Library Manager.AssemblyInfoInputs.cache b/obj/Debug/net8.0-windows/Manga Library Manager.AssemblyInfoInputs.cache
index 38f6c15..faf20ef 100644
--- a/obj/Debug/net8.0-windows/Manga Library Manager.AssemblyInfoInputs.cache
+++ b/obj/Debug/net8.0-windows/Manga Library Manager.AssemblyInfoInputs.cache
@@ -1 +1 @@
-2c42ea0371f83306e7b6d275eb5e15d345a6fcf8a51e8213af99c2a5d071ee3e
+539708efdf089c5c437103f7abd34d8c425bf1c6c781ff8dcbd6bda59f79396c
diff --git a/obj/Debug/net8.0-windows/Manga Library Manager.csproj.GenerateResource.cache b/obj/Debug/net8.0-windows/Manga Library Manager.csproj.GenerateResource.cache
index 3f18bf4..ec2fbd4 100644
Binary files a/obj/Debug/net8.0-windows/Manga Library Manager.csproj.GenerateResource.cache and b/obj/Debug/net8.0-windows/Manga Library Manager.csproj.GenerateResource.cache differ
diff --git a/obj/Debug/net8.0-windows/Manga Library Manager.dll b/obj/Debug/net8.0-windows/Manga Library Manager.dll
index 72bb991..25c8c8b 100644
Binary files a/obj/Debug/net8.0-windows/Manga Library Manager.dll and b/obj/Debug/net8.0-windows/Manga Library Manager.dll differ
diff --git a/obj/Debug/net8.0-windows/Manga Library Manager.pdb b/obj/Debug/net8.0-windows/Manga Library Manager.pdb
index 17f017e..aa7132d 100644
Binary files a/obj/Debug/net8.0-windows/Manga Library Manager.pdb and b/obj/Debug/net8.0-windows/Manga Library Manager.pdb differ
diff --git a/obj/Debug/net8.0-windows/Manga Library Manager.sourcelink.json b/obj/Debug/net8.0-windows/Manga Library Manager.sourcelink.json
index 2735b09..b08ce1a 100644
--- a/obj/Debug/net8.0-windows/Manga Library Manager.sourcelink.json
+++ b/obj/Debug/net8.0-windows/Manga Library Manager.sourcelink.json
@@ -1 +1 @@
-{"documents":{"C:\\Users\\rares\\Documents\\Misc Programs\\Programming\\Manga Library Manager\\*":"https://raw.githubusercontent.com/ErisLoona/Manga-Library-Manager/ecc201606868572325016ae8fff00efa5f4af19f/*"}}
\ No newline at end of file
+{"documents":{"C:\\Users\\rares\\Documents\\Misc Programs\\Programming\\Manga Library Manager\\*":"https://raw.githubusercontent.com/ErisLoona/Manga-Library-Manager/7d7f9164e33fbce2be72223ad8e2b122640454ea/*"}}
\ No newline at end of file
diff --git a/obj/Debug/net8.0-windows/Manga_Library_Manager.editTags.resources b/obj/Debug/net8.0-windows/Manga_Library_Manager.editTags.resources
index 6860544..468ddf4 100644
Binary files a/obj/Debug/net8.0-windows/Manga_Library_Manager.editTags.resources and b/obj/Debug/net8.0-windows/Manga_Library_Manager.editTags.resources differ
diff --git a/obj/Debug/net8.0-windows/apphost.exe b/obj/Debug/net8.0-windows/apphost.exe
index 3c0d858..0857709 100644
Binary files a/obj/Debug/net8.0-windows/apphost.exe and b/obj/Debug/net8.0-windows/apphost.exe differ
diff --git a/obj/Debug/net8.0-windows/ref/Manga Library Manager.dll b/obj/Debug/net8.0-windows/ref/Manga Library Manager.dll
index 875d8b9..68622b1 100644
Binary files a/obj/Debug/net8.0-windows/ref/Manga Library Manager.dll and b/obj/Debug/net8.0-windows/ref/Manga Library Manager.dll differ
diff --git a/obj/Debug/net8.0-windows/refint/Manga Library Manager.dll b/obj/Debug/net8.0-windows/refint/Manga Library Manager.dll
index 875d8b9..68622b1 100644
Binary files a/obj/Debug/net8.0-windows/refint/Manga Library Manager.dll and b/obj/Debug/net8.0-windows/refint/Manga Library Manager.dll differ
diff --git a/obj/Release/net8.0-windows/Manga Library Manager.AssemblyInfo.cs b/obj/Release/net8.0-windows/Manga Library Manager.AssemblyInfo.cs
index 6f995c6..521d68f 100644
--- a/obj/Release/net8.0-windows/Manga Library Manager.AssemblyInfo.cs
+++ b/obj/Release/net8.0-windows/Manga Library Manager.AssemblyInfo.cs
@@ -14,7 +14,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("Manga Library Manager")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ecc201606868572325016ae8fff00efa5f4af19f")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7d7f9164e33fbce2be72223ad8e2b122640454ea")]
[assembly: System.Reflection.AssemblyProductAttribute("Manga Library Manager")]
[assembly: System.Reflection.AssemblyTitleAttribute("Manga Library Manager")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/obj/Release/net8.0-windows/Manga Library Manager.AssemblyInfoInputs.cache b/obj/Release/net8.0-windows/Manga Library Manager.AssemblyInfoInputs.cache
index 7ebdcac..31b6418 100644
--- a/obj/Release/net8.0-windows/Manga Library Manager.AssemblyInfoInputs.cache
+++ b/obj/Release/net8.0-windows/Manga Library Manager.AssemblyInfoInputs.cache
@@ -1 +1 @@
-a076a959d4d8d94ad8812e22015a23b615fdc4eee37abf97dadeff604c8ac69c
+132469f4653e0fe55c201610ce9ade319837ab1567538ae33725af00b48d4f0d
diff --git a/obj/Release/net8.0-windows/Manga Library Manager.csproj.GenerateResource.cache b/obj/Release/net8.0-windows/Manga Library Manager.csproj.GenerateResource.cache
index 82ba721..c33323f 100644
Binary files a/obj/Release/net8.0-windows/Manga Library Manager.csproj.GenerateResource.cache and b/obj/Release/net8.0-windows/Manga Library Manager.csproj.GenerateResource.cache differ
diff --git a/obj/Release/net8.0-windows/Manga Library Manager.dll b/obj/Release/net8.0-windows/Manga Library Manager.dll
index 62ece38..e04cf5e 100644
Binary files a/obj/Release/net8.0-windows/Manga Library Manager.dll and b/obj/Release/net8.0-windows/Manga Library Manager.dll differ
diff --git a/obj/Release/net8.0-windows/Manga Library Manager.pdb b/obj/Release/net8.0-windows/Manga Library Manager.pdb
index 04d1b2a..c225b21 100644
Binary files a/obj/Release/net8.0-windows/Manga Library Manager.pdb and b/obj/Release/net8.0-windows/Manga Library Manager.pdb differ
diff --git a/obj/Release/net8.0-windows/Manga Library Manager.sourcelink.json b/obj/Release/net8.0-windows/Manga Library Manager.sourcelink.json
index 2735b09..b08ce1a 100644
--- a/obj/Release/net8.0-windows/Manga Library Manager.sourcelink.json
+++ b/obj/Release/net8.0-windows/Manga Library Manager.sourcelink.json
@@ -1 +1 @@
-{"documents":{"C:\\Users\\rares\\Documents\\Misc Programs\\Programming\\Manga Library Manager\\*":"https://raw.githubusercontent.com/ErisLoona/Manga-Library-Manager/ecc201606868572325016ae8fff00efa5f4af19f/*"}}
\ No newline at end of file
+{"documents":{"C:\\Users\\rares\\Documents\\Misc Programs\\Programming\\Manga Library Manager\\*":"https://raw.githubusercontent.com/ErisLoona/Manga-Library-Manager/7d7f9164e33fbce2be72223ad8e2b122640454ea/*"}}
\ No newline at end of file
diff --git a/obj/Release/net8.0-windows/Manga_Library_Manager.editTags.resources b/obj/Release/net8.0-windows/Manga_Library_Manager.editTags.resources
index 6860544..468ddf4 100644
Binary files a/obj/Release/net8.0-windows/Manga_Library_Manager.editTags.resources and b/obj/Release/net8.0-windows/Manga_Library_Manager.editTags.resources differ
diff --git a/obj/Release/net8.0-windows/apphost.exe b/obj/Release/net8.0-windows/apphost.exe
index 3c0d858..0857709 100644
Binary files a/obj/Release/net8.0-windows/apphost.exe and b/obj/Release/net8.0-windows/apphost.exe differ
diff --git a/obj/Release/net8.0-windows/ref/Manga Library Manager.dll b/obj/Release/net8.0-windows/ref/Manga Library Manager.dll
index 8909616..25742a3 100644
Binary files a/obj/Release/net8.0-windows/ref/Manga Library Manager.dll and b/obj/Release/net8.0-windows/ref/Manga Library Manager.dll differ
diff --git a/obj/Release/net8.0-windows/refint/Manga Library Manager.dll b/obj/Release/net8.0-windows/refint/Manga Library Manager.dll
index 8909616..25742a3 100644
Binary files a/obj/Release/net8.0-windows/refint/Manga Library Manager.dll and b/obj/Release/net8.0-windows/refint/Manga Library Manager.dll differ
diff --git a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.AssemblyInfo.cs b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.AssemblyInfo.cs
index 6f995c6..521d68f 100644
--- a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.AssemblyInfo.cs
+++ b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.AssemblyInfo.cs
@@ -14,7 +14,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("Manga Library Manager")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ecc201606868572325016ae8fff00efa5f4af19f")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7d7f9164e33fbce2be72223ad8e2b122640454ea")]
[assembly: System.Reflection.AssemblyProductAttribute("Manga Library Manager")]
[assembly: System.Reflection.AssemblyTitleAttribute("Manga Library Manager")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.AssemblyInfoInputs.cache b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.AssemblyInfoInputs.cache
index 7ebdcac..31b6418 100644
--- a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.AssemblyInfoInputs.cache
+++ b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.AssemblyInfoInputs.cache
@@ -1 +1 @@
-a076a959d4d8d94ad8812e22015a23b615fdc4eee37abf97dadeff604c8ac69c
+132469f4653e0fe55c201610ce9ade319837ab1567538ae33725af00b48d4f0d
diff --git a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.csproj.GenerateResource.cache b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.csproj.GenerateResource.cache
index 82ba721..c33323f 100644
Binary files a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.csproj.GenerateResource.cache and b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.csproj.GenerateResource.cache differ
diff --git a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.dll b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.dll
index ac9814b..7130a0f 100644
Binary files a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.dll and b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.dll differ
diff --git a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.pdb b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.pdb
index 547b1ad..db54aa6 100644
Binary files a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.pdb and b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.pdb differ
diff --git a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.sourcelink.json b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.sourcelink.json
index 2735b09..b08ce1a 100644
--- a/obj/Release/net8.0-windows/win-x64/Manga Library Manager.sourcelink.json
+++ b/obj/Release/net8.0-windows/win-x64/Manga Library Manager.sourcelink.json
@@ -1 +1 @@
-{"documents":{"C:\\Users\\rares\\Documents\\Misc Programs\\Programming\\Manga Library Manager\\*":"https://raw.githubusercontent.com/ErisLoona/Manga-Library-Manager/ecc201606868572325016ae8fff00efa5f4af19f/*"}}
\ No newline at end of file
+{"documents":{"C:\\Users\\rares\\Documents\\Misc Programs\\Programming\\Manga Library Manager\\*":"https://raw.githubusercontent.com/ErisLoona/Manga-Library-Manager/7d7f9164e33fbce2be72223ad8e2b122640454ea/*"}}
\ No newline at end of file
diff --git a/obj/Release/net8.0-windows/win-x64/Manga_Library_Manager.editTags.resources b/obj/Release/net8.0-windows/win-x64/Manga_Library_Manager.editTags.resources
index 6860544..468ddf4 100644
Binary files a/obj/Release/net8.0-windows/win-x64/Manga_Library_Manager.editTags.resources and b/obj/Release/net8.0-windows/win-x64/Manga_Library_Manager.editTags.resources differ
diff --git a/obj/Release/net8.0-windows/win-x64/apphost.exe b/obj/Release/net8.0-windows/win-x64/apphost.exe
index 3c0d858..0857709 100644
Binary files a/obj/Release/net8.0-windows/win-x64/apphost.exe and b/obj/Release/net8.0-windows/win-x64/apphost.exe differ
diff --git a/obj/Release/net8.0-windows/win-x64/ref/Manga Library Manager.dll b/obj/Release/net8.0-windows/win-x64/ref/Manga Library Manager.dll
index ab93ce8..13b2fac 100644
Binary files a/obj/Release/net8.0-windows/win-x64/ref/Manga Library Manager.dll and b/obj/Release/net8.0-windows/win-x64/ref/Manga Library Manager.dll differ
diff --git a/obj/Release/net8.0-windows/win-x64/refint/Manga Library Manager.dll b/obj/Release/net8.0-windows/win-x64/refint/Manga Library Manager.dll
index ab93ce8..13b2fac 100644
Binary files a/obj/Release/net8.0-windows/win-x64/refint/Manga Library Manager.dll and b/obj/Release/net8.0-windows/win-x64/refint/Manga Library Manager.dll differ