diff --git a/PlexRequests.Core/SettingModels/PlexSettings.cs b/PlexRequests.Core/SettingModels/PlexSettings.cs index 59148f28c..2312772ac 100644 --- a/PlexRequests.Core/SettingModels/PlexSettings.cs +++ b/PlexRequests.Core/SettingModels/PlexSettings.cs @@ -29,6 +29,7 @@ namespace PlexRequests.Core.SettingModels public sealed class PlexSettings : ExternalSettings { public bool AdvancedSearch { get; set; } + public bool EnableTvEpisodeSearching { get; set; } public string PlexAuthToken { get; set; } } diff --git a/PlexRequests.Services/Jobs/PlexEpisodeCacher.cs b/PlexRequests.Services/Jobs/PlexEpisodeCacher.cs index 63794cb17..3a4af04dd 100644 --- a/PlexRequests.Services/Jobs/PlexEpisodeCacher.cs +++ b/PlexRequests.Services/Jobs/PlexEpisodeCacher.cs @@ -71,10 +71,9 @@ namespace PlexRequests.Services.Jobs private const string TableName = "PlexEpisodes"; - public void CacheEpisodes() + public void CacheEpisodes(PlexSettings settings) { var videoHashset = new HashSet