Check if Emby/Plex is enabled before starting the job

This commit is contained in:
Jamie.Rees 2017-02-01 08:31:13 +00:00
commit 4c79871bd7
5 changed files with 18 additions and 3 deletions

View file

@ -171,6 +171,7 @@ namespace Ombi.Services.Notification
try
{
var settings = await PlexSettings.GetSettingsAsync();
var plexUser = PlexApi.GetUsers(settings.PlexAuthToken); // TODO emby
var userAccount = PlexApi.GetAccount(settings.PlexAuthToken);
var localUsers = UserHelper.GetUsers().ToList();