diff --git a/MediaBrowser.Controller/Providers/Movies/MovieDbProvider.cs b/MediaBrowser.Controller/Providers/Movies/MovieDbProvider.cs index fac7dfb0c..318890725 100644 --- a/MediaBrowser.Controller/Providers/Movies/MovieDbProvider.cs +++ b/MediaBrowser.Controller/Providers/Movies/MovieDbProvider.cs @@ -911,12 +911,12 @@ namespace MediaBrowser.Controller.Providers.Movies /// /// The remove /// - const string remove = "\"'!`?"; + const string Remove = "\"'!`?"; // "Face/Off" support. /// /// The spacers /// - const string spacers = "/,.:;\\(){}[]+-_=–*"; // (there are not actually two - in the they are different char codes) + const string Spacers = "/,.:;\\(){}[]+-_=–*"; // (there are not actually two - in the they are different char codes) /// /// The replace start numbers /// @@ -996,11 +996,11 @@ namespace MediaBrowser.Controller.Providers.Movies { // skip char modifier and diacritics } - else if (remove.IndexOf(c) > -1) + else if (Remove.IndexOf(c) > -1) { // skip chars we are removing } - else if (spacers.IndexOf(c) > -1) + else if (Spacers.IndexOf(c) > -1) { sb.Append(" "); } diff --git a/MediaBrowser.Controller/Providers/Movies/OpenMovieDatabaseProvider.cs b/MediaBrowser.Controller/Providers/Movies/OpenMovieDatabaseProvider.cs index da870e77d..28f56d64f 100644 --- a/MediaBrowser.Controller/Providers/Movies/OpenMovieDatabaseProvider.cs +++ b/MediaBrowser.Controller/Providers/Movies/OpenMovieDatabaseProvider.cs @@ -15,7 +15,7 @@ namespace MediaBrowser.Controller.Providers.Movies { public class OpenMovieDatabaseProvider : BaseMetadataProvider { - private readonly SemaphoreSlim _resourcePool = new SemaphoreSlim(1, 1); + private readonly SemaphoreSlim _resourcePool = new SemaphoreSlim(2, 2); /// /// Gets the json serializer. diff --git a/MediaBrowser.Controller/Providers/TV/RemoteSeriesProvider.cs b/MediaBrowser.Controller/Providers/TV/RemoteSeriesProvider.cs index a50dda066..62cc21510 100644 --- a/MediaBrowser.Controller/Providers/TV/RemoteSeriesProvider.cs +++ b/MediaBrowser.Controller/Providers/TV/RemoteSeriesProvider.cs @@ -35,7 +35,7 @@ namespace MediaBrowser.Controller.Providers.TV /// /// The tv db /// - internal readonly SemaphoreSlim TvDbResourcePool = new SemaphoreSlim(1, 1); + internal readonly SemaphoreSlim TvDbResourcePool = new SemaphoreSlim(2, 2); /// /// Gets the current.