Started adding Emby, Lots of backend work done. Need a few more services done and login and user management. #435

This commit is contained in:
tidusjar 2017-01-28 16:54:48 +00:00
commit 868301f552
43 changed files with 1495 additions and 18 deletions

View file

@ -385,12 +385,15 @@ namespace Ombi.Services.Jobs
private bool ValidateSettings(PlexSettings plex)
{
if (plex?.Ip == null || plex?.PlexAuthToken == null)
if (plex.Enable)
{
Log.Warn("A setting is null, Ensure Plex is configured correctly, and we have a Plex Auth token.");
return false;
if (plex?.Ip == null || plex?.PlexAuthToken == null)
{
Log.Warn("A setting is null, Ensure Plex is configured correctly, and we have a Plex Auth token.");
return false;
}
}
return true;
return plex.Enable;
}
public void Execute(IJobExecutionContext context)