mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
Check if Emby/Plex is enabled before starting the job
This commit is contained in:
parent
a206141f98
commit
4c79871bd7
5 changed files with 18 additions and 3 deletions
|
@ -77,7 +77,10 @@ namespace Ombi.Services.Jobs
|
|||
public void CacheContent()
|
||||
{
|
||||
var plexSettings = Plex.GetSettings();
|
||||
|
||||
if (!plexSettings.Enable)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!ValidateSettings(plexSettings))
|
||||
{
|
||||
Log.Debug("Validation of the plex settings failed.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue