mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Added a new setting for the Netflix option, we can now disable it appearing in the search.
Stopped the Emby newsletter sending out all TV shows every time.
This commit is contained in:
parent
9ca3ee4058
commit
2b27559277
7 changed files with 16 additions and 8 deletions
|
@ -53,9 +53,9 @@ namespace Ombi.Core.Migration.Migrations
|
|||
}
|
||||
|
||||
public int Version => 22000;
|
||||
private ISettingsService<CustomizationSettings> Customization { get; }
|
||||
private ISettingsService<CustomizationSettings> Customization { get; }
|
||||
private ISettingsService<PlexSettings> PlexSettings { get; }
|
||||
private IRepository<RecentlyAddedLog> Log { get; }
|
||||
private IRepository<RecentlyAddedLog> Log { get; }
|
||||
private IRepository<PlexContent> PlexContent { get; }
|
||||
private IRepository<PlexEpisodes> PlexEpisodes { get; }
|
||||
|
||||
|
@ -68,6 +68,7 @@ namespace Ombi.Core.Migration.Migrations
|
|||
AddNewColumns(con);
|
||||
UpdateSchema(con, Version);
|
||||
UpdateRecentlyAdded(con);
|
||||
|
||||
}
|
||||
|
||||
private void UpdateRecentlyAdded(IDbConnection con)
|
||||
|
@ -124,10 +125,9 @@ namespace Ombi.Core.Migration.Migrations
|
|||
{
|
||||
|
||||
var settings = Customization.GetSettings();
|
||||
settings.EnableIssues = true;
|
||||
|
||||
settings.EnableIssues = true;
|
||||
settings.EnableNetflixResults = true;
|
||||
Customization.SaveSettings(settings);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue