diff --git a/Generic/MetadataUtilities/Models/MetadataObjects.cs b/Generic/MetadataUtilities/Models/MetadataObjects.cs
index 6c10e992a..7d3b2cfb3 100644
--- a/Generic/MetadataUtilities/Models/MetadataObjects.cs
+++ b/Generic/MetadataUtilities/Models/MetadataObjects.cs
@@ -65,6 +65,11 @@ public MetadataObject AddNewItem(FieldType type, string prefix = "", bool enable
{
var newItem = ControlCenter.AddNewItem(type, prefix, enableTypeSelection, addToDb);
+ if (newItem == null)
+ {
+ return null;
+ }
+
if (this.Any(x => x.TypeAndName == newItem.TypeAndName))
{
return null;
diff --git a/Generic/MetadataUtilities/Properties/AssemblyInfo.cs b/Generic/MetadataUtilities/Properties/AssemblyInfo.cs
index dc3e5075a..f3baaf2eb 100644
--- a/Generic/MetadataUtilities/Properties/AssemblyInfo.cs
+++ b/Generic/MetadataUtilities/Properties/AssemblyInfo.cs
@@ -25,5 +25,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers by using the '*'
// as shown below: [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.5.0.0")]
-[assembly: AssemblyFileVersion("1.5.0.0")]
\ No newline at end of file
+[assembly: AssemblyVersion("1.5.1.0")]
+[assembly: AssemblyFileVersion("1.5.1.0")]
\ No newline at end of file
diff --git a/Generic/MetadataUtilities/ViewModels/SettingsViewModel.cs b/Generic/MetadataUtilities/ViewModels/SettingsViewModel.cs
index 51bbb6048..baef4d093 100644
--- a/Generic/MetadataUtilities/ViewModels/SettingsViewModel.cs
+++ b/Generic/MetadataUtilities/ViewModels/SettingsViewModel.cs
@@ -201,7 +201,7 @@ public RelayCommand HelpMergingCommand
public RelayCommand HelpPrefixesCommand
=> new RelayCommand(()
- => Process.Start(new ProcessStartInfo("https://knarzwerk.de/en/playnite-extensions/metadata-utilities/other-functionality/#prefixes")));
+ => Process.Start(new ProcessStartInfo("https://knarzwerk.de/en/playnite-extensions/metadata-utilities/prefixes")));
public RelayCommand HelpQuickAddCommand
=> new RelayCommand(()
diff --git a/Generic/MetadataUtilities/Views/SettingsView.xaml b/Generic/MetadataUtilities/Views/SettingsView.xaml
index 9b8acdad2..6b4b1f6d8 100644
--- a/Generic/MetadataUtilities/Views/SettingsView.xaml
+++ b/Generic/MetadataUtilities/Views/SettingsView.xaml
@@ -126,7 +126,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -354,18 +354,26 @@
CommandParameter="{Binding SelectedItems, ElementName=LvPrefixes}" />
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Generic/MetadataUtilities/extension.yaml b/Generic/MetadataUtilities/extension.yaml
index 977c4bf51..ede6fb771 100644
--- a/Generic/MetadataUtilities/extension.yaml
+++ b/Generic/MetadataUtilities/extension.yaml
@@ -1,7 +1,7 @@
Id: MetadataUtilities_485ab5f0-bfb1-4c17-93cc-20d8338673be
Name: Metadata Utilities
Author: HerrKnarz
-Version: 1.5.0
+Version: 1.5.1
Module: MetadataUtilities.dll
Type: GenericPlugin
Icon: icon.png
diff --git a/Manifest/HerrKnarz_MetadataUtilities.yaml b/Manifest/HerrKnarz_MetadataUtilities.yaml
index cf57ce7e8..ea329e363 100644
--- a/Manifest/HerrKnarz_MetadataUtilities.yaml
+++ b/Manifest/HerrKnarz_MetadataUtilities.yaml
@@ -1,5 +1,13 @@
AddonId: MetadataUtilities_485ab5f0-bfb1-4c17-93cc-20d8338673be
Packages:
+ - Version: 1.5.1
+ RequiredApiVersion: 6.11.0
+ ReleaseDate: 2024-10-29
+ PackageUrl: https://github.com/HerrKnarz/Playnite-Extensions/releases/download/2024-10-29/MetadataUtilities_485ab5f0-bfb1-4c17-93cc-20d8338673be_1_5_1.pext
+ Changelog:
+ - Fixed error message when closing the "add new item" dialog in the metadata editor with cancel.
+ - Changed link to the help page for prefixes, after the documentation was updated for all the changes from the last weeks.
+ - Fixed formatting of some settings
- Version: 1.5.0
RequiredApiVersion: 6.11.0
ReleaseDate: 2024-10-27