The Free Software Media System - Server Backend & API
3.2.25.7
Luke Pulverentib14214775e15
diff --git a/Emby.Common.Implementations/BaseApplicationHost.cs b/Emby.Common.Implementations/BaseApplicationHost.csindex 7e0fd23b53..e7710162ca 100644--- a/Emby.Common.Implementations/BaseApplicationHost.cs+++ b/Emby.Common.Implementations/BaseApplicationHost.cs@@ -557,7 +557,7 @@ namespace Emby.Common.Implementations/// <param name="assembly">The assembly.</param>/// <returns>IEnumerable{Type}.</returns>/// <exception cref="System.ArgumentNullException">assembly</exception>- protected IEnumerable<Type> GetTypes(Assembly assembly)+ protected List<Type> GetTypes(Assembly assembly){if (assembly == null){@@ -569,7 +569,7 @@ namespace Emby.Common.Implementations// This null checking really shouldn't be needed but adding it due to some// unhandled exceptions in mono 5.0 that are a little hard to hunt downvar types = assembly.GetTypes() ?? new Type[] { };- return types.Where(t => t != null);+ return types.Where(t => t != null).ToList();}catch (ReflectionTypeLoadException ex){@@ -577,13 +577,16 @@ namespace Emby.Common.Implementations{foreach (var loaderException in ex.LoaderExceptions){- Logger.Error("LoaderException: " + loaderException.Message);+ if (loaderException != null)+ {+ Logger.Error("LoaderException: " + loaderException.Message);+ }}}// If it fails we can still get a list of the Types it was able to resolvevar types = ex.Types ?? new Type[] { };- return types.Where(t => t != null);+ return types.Where(t => t != null).ToList();}catch (Exception ex){diff --git a/Emby.Server.Implementations/Localization/Ratings/nz.txt b/Emby.Server.Implementations/Localization/Ratings/nz.txtindex bc761dcab0..cb2b878ff2 100644--- a/Emby.Server.Implementations/Localization/Ratings/nz.txt+++ b/Emby.Server.Implementations/Localization/Ratings/nz.txt@@ -1,10 +1,11 @@NZ-G,1NZ-PG,5-NZ-M,9NZ-R13,7NZ-R15,8NZ-R16,9NZ-R18,10NZ-RP13,7NZ-RP16,9-NZ-R,10\ No newline at end of file+NZ-R,10+NZ-M,10+NZ-MA,10\ No newline at end of filediff --git a/SharedVersion.cs b/SharedVersion.csindex 22055dcf19..a576941abd 100644--- a/SharedVersion.cs+++ b/SharedVersion.cs@@ -1,3 +1,3 @@using System.Reflection;-[assembly: AssemblyVersion("3.2.25.6")]+[assembly: AssemblyVersion("3.2.25.7")]