From 9e0f4257838ca79b0babe7bbb62ae2a79797fc26 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 28 Dec 2020 23:41:46 +0100 Subject: [PATCH] Make RootObject and SeasonRootObject internal again --- MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs | 4 ++-- MediaBrowser.Providers/Properties/AssemblyInfo.cs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs b/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs index 25371e27ea..2372e31834 100644 --- a/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs +++ b/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs @@ -471,7 +471,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb return string.Equals(lang, "en", StringComparison.OrdinalIgnoreCase); } - public class SeasonRootObject + internal class SeasonRootObject { public string Title { get; set; } @@ -486,7 +486,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb public string Response { get; set; } } - public class RootObject + internal class RootObject { public string Title { get; set; } diff --git a/MediaBrowser.Providers/Properties/AssemblyInfo.cs b/MediaBrowser.Providers/Properties/AssemblyInfo.cs index f1c46899ce..fe4749c799 100644 --- a/MediaBrowser.Providers/Properties/AssemblyInfo.cs +++ b/MediaBrowser.Providers/Properties/AssemblyInfo.cs @@ -1,5 +1,6 @@ using System.Reflection; using System.Resources; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following @@ -14,6 +15,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en")] +[assembly: InternalsVisibleTo("Jellyfin.Common.Tests")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from