Added the ability to select certain libraries in jellyfin

This commit is contained in:
tidusjar 2021-07-09 15:16:57 +01:00
parent 132c935c28
commit fc7df0e11b
11 changed files with 199 additions and 68 deletions

View file

@ -17,5 +17,13 @@ namespace Ombi.Core.Settings.Models.External
public string AdministratorId { get; set; }
public string ServerHostname { get; set; }
public bool EnableEpisodeSearching { get; set; }
public List<EmbySelectedLibraries> EmbySelectedLibraries { get; set; } = new List<EmbySelectedLibraries>();
}
public class EmbySelectedLibraries
{
public int Key { get; set; }
public string Title { get; set; } // Name is for display purposes
public bool Enabled { get; set; }
}
}

View file

@ -17,5 +17,14 @@ namespace Ombi.Core.Settings.Models.External
public string AdministratorId { get; set; }
public string ServerHostname { get; set; }
public bool EnableEpisodeSearching { get; set; }
public List<JellyfinSelectedLibraries> JellyfinSelectedLibraries { get; set; } = new List<JellyfinSelectedLibraries>();
}
public class JellyfinSelectedLibraries
{
public string Key { get; set; }
public string Title { get; set; } // Name is for display purposes
public string CollectionType { get; set; }
public bool Enabled { get; set; }
}
}