diff --git a/src/Ombi.Schedule/Jobs/Emby/EmbyContentCacher.cs b/src/Ombi.Schedule/Jobs/Emby/EmbyContentCacher.cs
index 729a55393..c8fad858a 100644
--- a/src/Ombi.Schedule/Jobs/Emby/EmbyContentCacher.cs
+++ b/src/Ombi.Schedule/Jobs/Emby/EmbyContentCacher.cs
@@ -16,10 +16,13 @@ namespace Ombi.Schedule.Jobs.Emby
{
if (emby.Enable)
{
- if (emby?.Ip == null || string.IsNullOrEmpty(emby?.ApiKey))
+ foreach (var server in emby.Servers)
{
- //Log.Warn("A setting is null, Ensure Emby is configured correctly, and we have a Emby Auth token.");
- return false;
+ if (server?.Ip == null || string.IsNullOrEmpty(server?.ApiKey))
+ {
+ //Log.Warn("A setting is null, Ensure Emby is configured correctly, and we have a Emby Auth token.");
+ return false;
+ }
}
}
return emby.Enable;
diff --git a/src/Ombi.Settings/Settings/Models/External/EmbySettings.cs b/src/Ombi.Settings/Settings/Models/External/EmbySettings.cs
index 1f96e5f50..b6b130438 100644
--- a/src/Ombi.Settings/Settings/Models/External/EmbySettings.cs
+++ b/src/Ombi.Settings/Settings/Models/External/EmbySettings.cs
@@ -10,6 +10,7 @@ namespace Ombi.Core.Settings.Models.External
public class EmbyServers : ExternalSettings
{
+ public string Name { get; set; }
public string ApiKey { get; set; }
public string AdministratorId { get; set; }
public bool EnableEpisodeSearching { get; set; }
diff --git a/src/Ombi/ClientApp/app/interfaces/ISettings.ts b/src/Ombi/ClientApp/app/interfaces/ISettings.ts
index f60239cc2..d140a8991 100644
--- a/src/Ombi/ClientApp/app/interfaces/ISettings.ts
+++ b/src/Ombi/ClientApp/app/interfaces/ISettings.ts
@@ -25,6 +25,7 @@ export interface IEmbySettings extends ISettings {
}
export interface IEmbyServer extends IExternalSettings {
+ name:string,
apiKey: string,
administratorId: string,
enableEpisodeSearching: boolean,
diff --git a/src/Ombi/ClientApp/app/settings/emby/emby.component.html b/src/Ombi/ClientApp/app/settings/emby/emby.component.html
index 693dcdb17..f64f7dbd0 100644
--- a/src/Ombi/ClientApp/app/settings/emby/emby.component.html
+++ b/src/Ombi/ClientApp/app/settings/emby/emby.component.html
@@ -2,63 +2,87 @@