mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
cache the couchpotato wanted list, update it on an interval, and use it to determine if a movie has been queued already
This commit is contained in:
parent
e8fb28a024
commit
6ed7df2c21
13 changed files with 283 additions and 11 deletions
|
@ -85,6 +85,7 @@ namespace PlexRequests.UI
|
|||
|
||||
// Services
|
||||
container.Register<IAvailabilityChecker, PlexAvailabilityChecker>();
|
||||
container.Register<ICouchPotatoCacher, CouchPotatoCacher>();
|
||||
container.Register<IConfigurationReader, ConfigurationReader>();
|
||||
container.Register<IIntervals, UpdateInterval>();
|
||||
|
||||
|
@ -106,6 +107,7 @@ namespace PlexRequests.UI
|
|||
|
||||
TaskManager.TaskFactory = new PlexTaskFactory();
|
||||
TaskManager.Initialize(new PlexRegistry());
|
||||
TaskManager.Initialize(new MediaCacheRegistry());
|
||||
}
|
||||
|
||||
protected override void ApplicationStartup(TinyIoCContainer container, IPipelines pipelines)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue